File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -432,11 +432,15 @@ pub const IFF_DEBUG: ::c_int = 0x4; // (n) turn on debugging
432432pub const IFF_LOOPBACK : :: c_int = 0x8 ; // (i) is a loopback net
433433pub const IFF_POINTOPOINT : :: c_int = 0x10 ; // (i) is a point-to-point link
434434// 0x20 was IFF_SMART
435- pub const IFF_DRV_RUNNING : :: c_int = 0x40 ; // (d) resources allocated
435+ pub const IFF_RUNNING : :: c_int = 0x40 ; // (d) resources allocated
436+ #[ deprecated( since="0.2.34" , note="please use the portable `IFF_RUNNING` instead" ) ]
437+ pub const IFF_DRV_RUNNING : :: c_int = 0x40 ; // (d) resources allocated (deprecated)
436438pub const IFF_NOARP : :: c_int = 0x80 ; // (n) no address resolution protocol
437439pub const IFF_PROMISC : :: c_int = 0x100 ; // (n) receive all packets
438440pub const IFF_ALLMULTI : :: c_int = 0x200 ; // (n) receive all multicast packets
439- pub const IFF_DRV_OACTIVE : :: c_int = 0x400 ; // (d) tx hardware queue is full
441+ pub const IFF_OACTIVE : :: c_int = 0x400 ; // (d) tx hardware queue is full
442+ #[ deprecated( since="0.2.34" , note="please use the portable `IFF_OACTIVE` instead" ) ]
443+ pub const IFF_DRV_OACTIVE : :: c_int = 0x400 ; // (d) tx hardware queue is full (deprecated)
440444pub const IFF_SIMPLEX : :: c_int = 0x800 ; // (i) can't hear own transmissions
441445pub const IFF_LINK0 : :: c_int = 0x1000 ; // per link layer defined bit
442446pub const IFF_LINK1 : :: c_int = 0x2000 ; // per link layer defined bit
You can’t perform that action at this time.
0 commit comments