You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/unix/linux_like/linux/mod.rs
+19-1
Original file line number
Diff line number
Diff line change
@@ -1236,12 +1236,21 @@ s! {
1236
1236
pub cr: xdp_ring_offset,
1237
1237
}
1238
1238
1239
+
#[deprecated(
1240
+
since = "0.2.167",
1241
+
note = "We consider removing this as the newer version of this struct will work with older kernel versions. If you're using it, please comment on https://github.com/rust-lang/libc/issues/4168"
1242
+
)]
1239
1243
pubstruct xdp_ring_offset_v1 {
1240
1244
pub producer:crate::__u64,
1241
1245
pub consumer:crate::__u64,
1242
1246
pub desc:crate::__u64,
1243
1247
}
1244
1248
1249
+
#[allow(deprecated)]
1250
+
#[deprecated(
1251
+
since = "0.2.167",
1252
+
note = "We consider removing this as the newer version of this struct will work with older kernel versions. If you're using it, please comment on https://github.com/rust-lang/libc/issues/4168"
1253
+
)]
1245
1254
pubstruct xdp_mmap_offsets_v1 {
1246
1255
pub rx: xdp_ring_offset_v1,
1247
1256
pub tx: xdp_ring_offset_v1,
@@ -1258,6 +1267,10 @@ s! {
1258
1267
pub tx_metadata_len:crate::__u32,
1259
1268
}
1260
1269
1270
+
#[deprecated(
1271
+
since = "0.2.167",
1272
+
note = "We consider removing this as the newer version of this struct will work with older kernel versions. If you're using it, please comment on https://github.com/rust-lang/libc/issues/4168"
1273
+
)]
1261
1274
pubstruct xdp_umem_reg_v1 {
1262
1275
pub addr:crate::__u64,
1263
1276
pub len:crate::__u64,
@@ -1274,6 +1287,10 @@ s! {
1274
1287
pub tx_ring_empty_descs:crate::__u64,
1275
1288
}
1276
1289
1290
+
#[deprecated(
1291
+
since = "0.2.167",
1292
+
note = "We consider removing this as the newer version of this struct will work with older kernel versions. If you're using it, please comment on https://github.com/rust-lang/libc/issues/4168"
0 commit comments