File tree 1 file changed +8
-2
lines changed
src/unix/bsd/freebsdlike/freebsd
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -432,11 +432,17 @@ pub const IFF_DEBUG: ::c_int = 0x4; // (n) turn on debugging
432
432
pub const IFF_LOOPBACK : :: c_int = 0x8 ; // (i) is a loopback net
433
433
pub const IFF_POINTOPOINT : :: c_int = 0x10 ; // (i) is a point-to-point link
434
434
// 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" ,
437
+ note="please use the portable `IFF_RUNNING` constant instead" ) ]
438
+ pub const IFF_DRV_RUNNING : :: c_int = 0x40 ;
436
439
pub const IFF_NOARP : :: c_int = 0x80 ; // (n) no address resolution protocol
437
440
pub const IFF_PROMISC : :: c_int = 0x100 ; // (n) receive all packets
438
441
pub 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
442
+ pub const IFF_OACTIVE : :: c_int = 0x400 ; // (d) tx hardware queue is full
443
+ #[ deprecated( since="0.2.34" ,
444
+ note="please use the portable `IFF_OACTIVE` constant instead" ) ]
445
+ pub const IFF_DRV_OACTIVE : :: c_int = 0x400 ;
440
446
pub const IFF_SIMPLEX : :: c_int = 0x800 ; // (i) can't hear own transmissions
441
447
pub const IFF_LINK0 : :: c_int = 0x1000 ; // per link layer defined bit
442
448
pub const IFF_LINK1 : :: c_int = 0x2000 ; // per link layer defined bit
You can’t perform that action at this time.
0 commit comments