@@ -1444,23 +1444,23 @@ pub const SCM_TIMESTAMP: ::c_int = 0x02;
1444
1444
pub const SCM_CREDS : :: c_int = 0x03 ;
1445
1445
1446
1446
/// https://github.com/aosm/xnu/blob/master/bsd/net/if.h#L140-L156
1447
- pub const IFF_UP : :: c_int = 0x1 ; // interface is up
1448
- pub const IFF_BROADCAST : :: c_int = 0x2 ; // broadcast address valid
1449
- pub const IFF_DEBUG : :: c_int = 0x4 ; // turn on debugging
1450
- pub const IFF_LOOPBACK : :: c_int = 0x8 ; // is a loopback net
1451
- pub const IFF_POINTOPOINT : :: c_int = 0x10 ; // interface is point-to-point link
1452
- pub const IFF_NOTRAILERS : :: c_int = 0x20 ; // obsolete: avoid use of trailers
1453
- pub const IFF_RUNNING : :: c_int = 0x40 ; // resources allocated
1454
- pub const IFF_NOARP : :: c_int = 0x80 ; // no address resolution protocol
1455
- pub const IFF_PROMISC : :: c_int = 0x100 ; // receive all packets
1456
- pub const IFF_ALLMULTI : :: c_int = 0x200 ; // receive all multicast packets
1457
- pub const IFF_OACTIVE : :: c_int = 0x400 ; // transmission in progress
1458
- pub const IFF_SIMPLEX : :: c_int = 0x800 ; // can't hear own transmissions
1459
- pub const IFF_LINK0 : :: c_int = 0x1000 ; // per link layer defined bit
1460
- pub const IFF_LINK1 : :: c_int = 0x2000 ; // per link layer defined bit
1461
- pub const IFF_LINK2 : :: c_int = 0x4000 ; // per link layer defined bit
1462
- pub const IFF_ALTPHYS : :: c_int = IFF_LINK2 ; // use alternate physical connection
1463
- pub const IFF_MULTICAST : :: c_int = 0x8000 ; // supports multicast
1447
+ pub const IFF_UP : :: c_int = 0x1 ; // interface is up
1448
+ pub const IFF_BROADCAST : :: c_int = 0x2 ; // broadcast address valid
1449
+ pub const IFF_DEBUG : :: c_int = 0x4 ; // turn on debugging
1450
+ pub const IFF_LOOPBACK : :: c_int = 0x8 ; // is a loopback net
1451
+ pub const IFF_POINTOPOINT : :: c_int = 0x10 ; // interface is point-to-point link
1452
+ pub const IFF_NOTRAILERS : :: c_int = 0x20 ; // obsolete: avoid use of trailers
1453
+ pub const IFF_RUNNING : :: c_int = 0x40 ; // resources allocated
1454
+ pub const IFF_NOARP : :: c_int = 0x80 ; // no address resolution protocol
1455
+ pub const IFF_PROMISC : :: c_int = 0x100 ; // receive all packets
1456
+ pub const IFF_ALLMULTI : :: c_int = 0x200 ; // receive all multicast packets
1457
+ pub const IFF_OACTIVE : :: c_int = 0x400 ; // transmission in progress
1458
+ pub const IFF_SIMPLEX : :: c_int = 0x800 ; // can't hear own transmissions
1459
+ pub const IFF_LINK0 : :: c_int = 0x1000 ; // per link layer defined bit
1460
+ pub const IFF_LINK1 : :: c_int = 0x2000 ; // per link layer defined bit
1461
+ pub const IFF_LINK2 : :: c_int = 0x4000 ; // per link layer defined bit
1462
+ pub const IFF_ALTPHYS : :: c_int = IFF_LINK2 ; // use alternate physical connection
1463
+ pub const IFF_MULTICAST : :: c_int = 0x8000 ; // supports multicast
1464
1464
1465
1465
pub const SHUT_RD : :: c_int = 0 ;
1466
1466
pub const SHUT_WR : :: c_int = 1 ;
0 commit comments