1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
bitflags! {
pub flags InterfaceFlags: u32 {
const IFF_UP = 0x1,
const IFF_BROADCAST = 0x2,
const IFF_DEBUG = 0x4,
const IFF_LOOPBACK = 0x8,
const IFF_POINTOPOINT = 0x10,
const IFF_NOTRAILERS = 0x20,
const IFF_RUNNING = 0x40,
const IFF_NOARP = 0x80,
const IFF_PROMISC = 0x100,
const IFF_ALLMULTI = 0x200,
const IFF_MASTER = 0x400,
const IFF_SLAVE = 0x800,
const IFF_MULTICAST = 0x1000,
const IFF_PORTSEL = 0x2000,
const IFF_AUTOMEDIA = 0x4000,
const IFF_DYNAMIC = 0x8000,
}
}