File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -2196,6 +2196,12 @@ fn test_freebsd(target: &str) {
2196
2196
// should've been used anywhere anyway.
2197
2197
"TDF_UNUSED23" => true ,
2198
2198
2199
+ // Removed in FreeBSD 14 (git a6b55ee6be1)
2200
+ "IFF_KNOWSEPOCH" => true ,
2201
+
2202
+ // Removed in FreeBSD 14 (git 7ff9ae90f0b)
2203
+ "IFF_NOGROUP" => true ,
2204
+
2199
2205
// FIXME: These are deprecated - remove in a couple of releases.
2200
2206
// These symbols are not stable across OS-versions. They were
2201
2207
// changed for FreeBSD 14 in git revisions b62848b0c3f and
@@ -2277,7 +2283,7 @@ fn test_freebsd(target: &str) {
2277
2283
// Added in freebsd 14.
2278
2284
"IFCAP_MEXTPG" if Some ( 14 ) > freebsd_ver => true ,
2279
2285
// Added in freebsd 13.
2280
- "IFF_KNOWSEPOCH" | " IFCAP_TXTLS4" | "IFCAP_TXTLS6" | "IFCAP_VXLAN_HWCSUM"
2286
+ "IFCAP_TXTLS4" | "IFCAP_TXTLS6" | "IFCAP_VXLAN_HWCSUM"
2281
2287
| "IFCAP_VXLAN_HWTSO" | "IFCAP_TXTLS_RTLMT" | "IFCAP_TXTLS"
2282
2288
if Some ( 13 ) > freebsd_ver =>
2283
2289
{
Original file line number Diff line number Diff line change @@ -3172,6 +3172,7 @@ pub const IFF_LOOPBACK: ::c_int = 0x8;
3172
3172
/// (i) is a point-to-point link
3173
3173
pub const IFF_POINTOPOINT : :: c_int = 0x10 ;
3174
3174
/// (i) calls if_input in net epoch
3175
+ #[ deprecated( since = "0.2.149" , note = "Removed in FreeBSD 14" ) ]
3175
3176
pub const IFF_KNOWSEPOCH : :: c_int = 0x20 ;
3176
3177
/// (d) resources allocated
3177
3178
pub const IFF_RUNNING : :: c_int = 0x40 ;
@@ -3219,6 +3220,7 @@ pub const IFF_DYING: ::c_int = 0x200000;
3219
3220
/// (n) interface is being renamed
3220
3221
pub const IFF_RENAMING : :: c_int = 0x400000 ;
3221
3222
/// interface is not part of any groups
3223
+ #[ deprecated( since = "0.2.149" , note = "Removed in FreeBSD 14" ) ]
3222
3224
pub const IFF_NOGROUP : :: c_int = 0x800000 ;
3223
3225
3224
3226
/// link invalid/unknown
You can’t perform that action at this time.
0 commit comments