@@ -2520,6 +2520,8 @@ pub const IFCAP_TOE4: ::c_int = 0x04000;
2520
2520
pub const IFCAP_TOE6 : :: c_int = 0x08000 ;
2521
2521
/// interface hw can filter vlan tag
2522
2522
pub const IFCAP_VLAN_HWFILTER : :: c_int = 0x10000 ;
2523
+ /// can do SIOCGIFCAPNV/SIOCSIFCAPNV
2524
+ pub const IFCAP_NV : :: c_int = 0x20000 ;
2523
2525
/// can do IFCAP_TSO on VLANs
2524
2526
pub const IFCAP_VLAN_HWTSO : :: c_int = 0x40000 ;
2525
2527
/// the runtime link state is dynamic
@@ -2555,7 +2557,7 @@ pub const IFCAP_TSO: ::c_int = IFCAP_TSO4 | IFCAP_TSO6;
2555
2557
pub const IFCAP_WOL : :: c_int = IFCAP_WOL_UCAST | IFCAP_WOL_MCAST | IFCAP_WOL_MAGIC ;
2556
2558
pub const IFCAP_TOE : :: c_int = IFCAP_TOE4 | IFCAP_TOE6 ;
2557
2559
pub 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 ;
2559
2561
2560
2562
pub const IFQ_MAXLEN : :: c_int = 50 ;
2561
2563
pub const IFNET_SLOWHZ : :: c_int = 1 ;
@@ -3239,30 +3241,67 @@ pub const KKST_STATE_RUNNING: ::c_int = 2;
3239
3241
pub const PRI_MIN : :: c_int = 0 ;
3240
3242
pub const PRI_MAX : :: c_int = 255 ;
3241
3243
pub const PRI_MIN_ITHD : :: c_int = PRI_MIN ;
3244
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3245
+ #[ allow( deprecated) ]
3242
3246
pub const PRI_MAX_ITHD : :: c_int = PRI_MIN_REALTIME - 1 ;
3243
3247
pub const PI_REALTIME : :: c_int = PRI_MIN_ITHD + 0 ;
3248
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3244
3249
pub const PI_AV : :: c_int = PRI_MIN_ITHD + 4 ;
3250
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3245
3251
pub const PI_NET : :: c_int = PRI_MIN_ITHD + 8 ;
3252
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3246
3253
pub const PI_DISK : :: c_int = PRI_MIN_ITHD + 12 ;
3254
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3247
3255
pub const PI_TTY : :: c_int = PRI_MIN_ITHD + 16 ;
3256
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3248
3257
pub const PI_DULL : :: c_int = PRI_MIN_ITHD + 20 ;
3258
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3249
3259
pub const PI_SOFT : :: c_int = PRI_MIN_ITHD + 24 ;
3260
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3250
3261
pub const PRI_MIN_REALTIME : :: c_int = 48 ;
3262
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3263
+ #[ allow( deprecated) ]
3251
3264
pub const PRI_MAX_REALTIME : :: c_int = PRI_MIN_KERN - 1 ;
3265
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3252
3266
pub const PRI_MIN_KERN : :: c_int = 80 ;
3267
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3268
+ #[ allow( deprecated) ]
3253
3269
pub 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) ]
3254
3272
pub const PSWP : :: c_int = PRI_MIN_KERN + 0 ;
3273
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3274
+ #[ allow( deprecated) ]
3255
3275
pub const PVM : :: c_int = PRI_MIN_KERN + 4 ;
3276
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3277
+ #[ allow( deprecated) ]
3256
3278
pub const PINOD : :: c_int = PRI_MIN_KERN + 8 ;
3279
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3280
+ #[ allow( deprecated) ]
3257
3281
pub const PRIBIO : :: c_int = PRI_MIN_KERN + 12 ;
3282
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3283
+ #[ allow( deprecated) ]
3258
3284
pub const PVFS : :: c_int = PRI_MIN_KERN + 16 ;
3285
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3286
+ #[ allow( deprecated) ]
3259
3287
pub const PZERO : :: c_int = PRI_MIN_KERN + 20 ;
3288
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3289
+ #[ allow( deprecated) ]
3260
3290
pub const PSOCK : :: c_int = PRI_MIN_KERN + 24 ;
3291
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3292
+ #[ allow( deprecated) ]
3261
3293
pub const PWAIT : :: c_int = PRI_MIN_KERN + 28 ;
3294
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3295
+ #[ allow( deprecated) ]
3262
3296
pub const PLOCK : :: c_int = PRI_MIN_KERN + 32 ;
3297
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3298
+ #[ allow( deprecated) ]
3263
3299
pub const PPAUSE : :: c_int = PRI_MIN_KERN + 36 ;
3300
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3264
3301
pub const PRI_MIN_TIMESHARE : :: c_int = 120 ;
3265
3302
pub 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) ]
3266
3305
pub const PUSER : :: c_int = PRI_MIN_TIMESHARE ;
3267
3306
pub const PRI_MIN_IDLE : :: c_int = 224 ;
3268
3307
pub const PRI_MAX_IDLE : :: c_int = PRI_MAX ;
@@ -3360,24 +3399,32 @@ pub const TDF_CANSWAP: ::c_int = 0x00000040;
3360
3399
pub const TDF_KTH_SUSP : :: c_int = 0x00000100 ;
3361
3400
pub const TDF_ALLPROCSUSP : :: c_int = 0x00000200 ;
3362
3401
pub const TDF_BOUNDARY : :: c_int = 0x00000400 ;
3402
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3363
3403
pub const TDF_ASTPENDING : :: c_int = 0x00000800 ;
3364
3404
pub const TDF_SBDRY : :: c_int = 0x00002000 ;
3365
3405
pub const TDF_UPIBLOCKED : :: c_int = 0x00004000 ;
3406
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3366
3407
pub const TDF_NEEDSUSPCHK : :: c_int = 0x00008000 ;
3408
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3367
3409
pub const TDF_NEEDRESCHED : :: c_int = 0x00010000 ;
3410
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3368
3411
pub const TDF_NEEDSIGCHK : :: c_int = 0x00020000 ;
3369
3412
pub const TDF_NOLOAD : :: c_int = 0x00040000 ;
3370
3413
pub const TDF_SERESTART : :: c_int = 0x00080000 ;
3371
3414
pub const TDF_THRWAKEUP : :: c_int = 0x00100000 ;
3372
3415
pub const TDF_SEINTR : :: c_int = 0x00200000 ;
3373
3416
pub const TDF_SWAPINREQ : :: c_int = 0x00400000 ;
3417
+ #[ deprecated( since = "0.2.133" , note = "Removed in FreeBSD 14" ) ]
3374
3418
pub const TDF_UNUSED23 : :: c_int = 0x00800000 ;
3375
3419
pub const TDF_SCHED0 : :: c_int = 0x01000000 ;
3376
3420
pub const TDF_SCHED1 : :: c_int = 0x02000000 ;
3377
3421
pub const TDF_SCHED2 : :: c_int = 0x04000000 ;
3378
3422
pub const TDF_SCHED3 : :: c_int = 0x08000000 ;
3423
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3379
3424
pub const TDF_ALRMPEND : :: c_int = 0x10000000 ;
3425
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3380
3426
pub const TDF_PROFPEND : :: c_int = 0x20000000 ;
3427
+ #[ deprecated( since = "0.2.133" , note = "Not stable across OS versions" ) ]
3381
3428
pub const TDF_MACPEND : :: c_int = 0x40000000 ;
3382
3429
3383
3430
pub const TDB_SUSPEND : :: c_int = 0x00000001 ;
0 commit comments