@@ -2520,6 +2520,8 @@ pub const IFCAP_TOE4: ::c_int = 0x04000;
25202520pub const IFCAP_TOE6 : :: c_int = 0x08000 ;
25212521/// interface hw can filter vlan tag
25222522pub const IFCAP_VLAN_HWFILTER : :: c_int = 0x10000 ;
2523+ /// can do SIOCGIFCAPNV/SIOCSIFCAPNV
2524+ pub const IFCAP_NV : :: c_int = 0x20000 ;
25232525/// can do IFCAP_TSO on VLANs
25242526pub const IFCAP_VLAN_HWTSO : :: c_int = 0x40000 ;
25252527/// the runtime link state is dynamic
@@ -2555,7 +2557,7 @@ pub const IFCAP_TSO: ::c_int = IFCAP_TSO4 | IFCAP_TSO6;
25552557pub const IFCAP_WOL : :: c_int = IFCAP_WOL_UCAST | IFCAP_WOL_MCAST | IFCAP_WOL_MAGIC ;
25562558pub const IFCAP_TOE : :: c_int = IFCAP_TOE4 | IFCAP_TOE6 ;
25572559pub const IFCAP_TXTLS : :: c_int = IFCAP_TXTLS4 | IFCAP_TXTLS6 ;
2558- pub const IFCAP_CANTCHANGE : :: c_int = IFCAP_NETMAP ;
2560+ pub const IFCAP_CANTCHANGE : :: c_int = IFCAP_NETMAP | IFCAP_NV ;
25592561
25602562pub const IFQ_MAXLEN : :: c_int = 50 ;
25612563pub const IFNET_SLOWHZ : :: c_int = 1 ;
@@ -3239,30 +3241,67 @@ pub const KKST_STATE_RUNNING: ::c_int = 2;
32393241pub const PRI_MIN : :: c_int = 0 ;
32403242pub const PRI_MAX : :: c_int = 255 ;
32413243pub const PRI_MIN_ITHD : :: c_int = PRI_MIN ;
3244+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3245+ #[ allow( deprecated) ]
32423246pub const PRI_MAX_ITHD : :: c_int = PRI_MIN_REALTIME - 1 ;
32433247pub const PI_REALTIME : :: c_int = PRI_MIN_ITHD + 0 ;
3248+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
32443249pub const PI_AV : :: c_int = PRI_MIN_ITHD + 4 ;
3250+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
32453251pub const PI_NET : :: c_int = PRI_MIN_ITHD + 8 ;
3252+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
32463253pub const PI_DISK : :: c_int = PRI_MIN_ITHD + 12 ;
3254+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
32473255pub const PI_TTY : :: c_int = PRI_MIN_ITHD + 16 ;
3256+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
32483257pub const PI_DULL : :: c_int = PRI_MIN_ITHD + 20 ;
3258+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
32493259pub const PI_SOFT : :: c_int = PRI_MIN_ITHD + 24 ;
3260+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
32503261pub const PRI_MIN_REALTIME : :: c_int = 48 ;
3262+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3263+ #[ allow( deprecated) ]
32513264pub const PRI_MAX_REALTIME : :: c_int = PRI_MIN_KERN - 1 ;
3265+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
32523266pub const PRI_MIN_KERN : :: c_int = 80 ;
3267+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3268+ #[ allow( deprecated) ]
32533269pub const PRI_MAX_KERN : :: c_int = PRI_MIN_TIMESHARE - 1 ;
3270+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3271+ #[ allow( deprecated) ]
32543272pub const PSWP : :: c_int = PRI_MIN_KERN + 0 ;
3273+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3274+ #[ allow( deprecated) ]
32553275pub const PVM : :: c_int = PRI_MIN_KERN + 4 ;
3276+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3277+ #[ allow( deprecated) ]
32563278pub const PINOD : :: c_int = PRI_MIN_KERN + 8 ;
3279+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3280+ #[ allow( deprecated) ]
32573281pub const PRIBIO : :: c_int = PRI_MIN_KERN + 12 ;
3282+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3283+ #[ allow( deprecated) ]
32583284pub const PVFS : :: c_int = PRI_MIN_KERN + 16 ;
3285+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3286+ #[ allow( deprecated) ]
32593287pub const PZERO : :: c_int = PRI_MIN_KERN + 20 ;
3288+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3289+ #[ allow( deprecated) ]
32603290pub const PSOCK : :: c_int = PRI_MIN_KERN + 24 ;
3291+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3292+ #[ allow( deprecated) ]
32613293pub const PWAIT : :: c_int = PRI_MIN_KERN + 28 ;
3294+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3295+ #[ allow( deprecated) ]
32623296pub const PLOCK : :: c_int = PRI_MIN_KERN + 32 ;
3297+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3298+ #[ allow( deprecated) ]
32633299pub const PPAUSE : :: c_int = PRI_MIN_KERN + 36 ;
3300+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
32643301pub const PRI_MIN_TIMESHARE : :: c_int = 120 ;
32653302pub const PRI_MAX_TIMESHARE : :: c_int = PRI_MIN_IDLE - 1 ;
3303+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3304+ #[ allow( deprecated) ]
32663305pub const PUSER : :: c_int = PRI_MIN_TIMESHARE ;
32673306pub const PRI_MIN_IDLE : :: c_int = 224 ;
32683307pub const PRI_MAX_IDLE : :: c_int = PRI_MAX ;
@@ -3360,24 +3399,32 @@ pub const TDF_CANSWAP: ::c_int = 0x00000040;
33603399pub const TDF_KTH_SUSP : :: c_int = 0x00000100 ;
33613400pub const TDF_ALLPROCSUSP : :: c_int = 0x00000200 ;
33623401pub const TDF_BOUNDARY : :: c_int = 0x00000400 ;
3402+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
33633403pub const TDF_ASTPENDING : :: c_int = 0x00000800 ;
33643404pub const TDF_SBDRY : :: c_int = 0x00002000 ;
33653405pub const TDF_UPIBLOCKED : :: c_int = 0x00004000 ;
3406+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
33663407pub const TDF_NEEDSUSPCHK : :: c_int = 0x00008000 ;
3408+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
33673409pub const TDF_NEEDRESCHED : :: c_int = 0x00010000 ;
3410+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
33683411pub const TDF_NEEDSIGCHK : :: c_int = 0x00020000 ;
33693412pub const TDF_NOLOAD : :: c_int = 0x00040000 ;
33703413pub const TDF_SERESTART : :: c_int = 0x00080000 ;
33713414pub const TDF_THRWAKEUP : :: c_int = 0x00100000 ;
33723415pub const TDF_SEINTR : :: c_int = 0x00200000 ;
33733416pub const TDF_SWAPINREQ : :: c_int = 0x00400000 ;
3417+ #[ deprecated( since = "0.2.133" , note = "Removed in FreeBSD 14" ) ]
33743418pub const TDF_UNUSED23 : :: c_int = 0x00800000 ;
33753419pub const TDF_SCHED0 : :: c_int = 0x01000000 ;
33763420pub const TDF_SCHED1 : :: c_int = 0x02000000 ;
33773421pub const TDF_SCHED2 : :: c_int = 0x04000000 ;
33783422pub const TDF_SCHED3 : :: c_int = 0x08000000 ;
3423+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
33793424pub const TDF_ALRMPEND : :: c_int = 0x10000000 ;
3425+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
33803426pub const TDF_PROFPEND : :: c_int = 0x20000000 ;
3427+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
33813428pub const TDF_MACPEND : :: c_int = 0x40000000 ;
33823429
33833430pub const TDB_SUSPEND : :: c_int = 0x00000001 ;
0 commit comments