File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -1319,15 +1319,16 @@ pub const IFF_NOARP: ::c_int = 0x0000000080; // No address res. protocol
13191319pub const IFF_PROMISC : :: c_int = 0x0000000100 ; // Receive all packets
13201320pub const IFF_ALLMULTI : :: c_int = 0x0000000200 ; // Receive all multicast pkts
13211321pub const IFF_INTELLIGENT : :: c_int = 0x0000000400 ; // Protocol code on board
1322- // Supports multicast Multicast using broadcst. add.
1323- pub const IFF_MULTICAST : :: c_int = 0x0000000800 ;
1322+ pub const IFF_MULTICAST : :: c_int = 0x0000000800 ; // Supports multicast
1323+
1324+ // Multicast using broadcst. add.
13241325pub const IFF_MULTI_BCAST : :: c_int = 0x0000001000 ;
13251326pub const IFF_UNNUMBERED : :: c_int = 0x0000002000 ; // Non-unique address
13261327pub const IFF_DHCPRUNNING : :: c_int = 0x0000004000 ; // DHCP controls interface
13271328pub const IFF_PRIVATE : :: c_int = 0x0000008000 ; // Do not advertise
1328- // Do not transmit pkts
1329+ pub const IFF_NOXMIT : :: c_int = 0x0000010000 ; // Do not transmit pkts
1330+
13291331// No address - just on-link subnet
1330- pub const IFF_NOXMIT : :: c_int = 0x0000010000 ;
13311332pub const IFF_NOLOCAL : :: c_int = 0x0000020000 ;
13321333pub const IFF_DEPRECATED : :: c_int = 0x0000040000 ; // Address is deprecated
13331334pub const IFF_ADDRCONF : :: c_int = 0x0000080000 ; // Addr. from stateless addrconf
Original file line number Diff line number Diff line change @@ -742,13 +742,15 @@ pub const IFF_NOTRAILERS: ::c_int = 0x20; // Avoid use of trailers.
742742pub const IFF_RUNNING : :: c_int = 0x40 ; // Resources allocated.
743743pub const IFF_NOARP : :: c_int = 0x80 ; // No address resolution protocol.
744744pub const IFF_PROMISC : :: c_int = 0x100 ; // Receive all packets.
745- // Not supported
745+
746+ // Not supported
746747pub const IFF_ALLMULTI : :: c_int = 0x200 ; // Receive all multicast packets.
747748pub const IFF_MASTER : :: c_int = 0x400 ; // Master of a load balancer.
748749pub const IFF_SLAVE : :: c_int = 0x800 ; // Slave of a load balancer.
749750pub const IFF_MULTICAST : :: c_int = 0x1000 ; // Supports multicast.
750751pub const IFF_PORTSEL : :: c_int = 0x2000 ; // Can set media type.
751752pub const IFF_AUTOMEDIA : :: c_int = 0x4000 ; // Auto media select active.
753+
752754// Dialup device with changing addresses.
753755pub const IFF_DYNAMIC : :: c_int = 0x8000 ;
754756
You can’t perform that action at this time.
0 commit comments