Skip to content

Commit df31368

Browse files
authored
Update to Linux 6.2 (#48)
1 parent 0fad7bf commit df31368

29 files changed

+267
-113
lines changed

gen/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use std::process::Command;
1010
use std::{env, fs};
1111

1212
#[allow(unused_doc_comments)]
13-
const LINUX_VERSION: &str = "v6.1";
13+
const LINUX_VERSION: &str = "v6.2";
1414

1515
/// Some commonly used features.
1616
const DEFAULT_FEATURES: &str = "\"general\", \"errno\"";

src/aarch64/general.rs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ true
137137
}
138138
}
139139
impl<T> ::core::cmp::Eq for __BindgenUnionField<T> {}
140-
pub const LINUX_VERSION_CODE: u32 = 393472;
140+
pub const LINUX_VERSION_CODE: u32 = 393728;
141141
pub const LINUX_VERSION_MAJOR: u32 = 6;
142-
pub const LINUX_VERSION_PATCHLEVEL: u32 = 1;
142+
pub const LINUX_VERSION_PATCHLEVEL: u32 = 2;
143143
pub const LINUX_VERSION_SUBLEVEL: u32 = 0;
144144
pub const AT_SYSINFO_EHDR: u32 = 33;
145145
pub const AT_MINSIGSTKSZ: u32 = 51;
@@ -404,6 +404,8 @@ pub const FSCRYPT_MODE_AES_256_XTS: u32 = 1;
404404
pub const FSCRYPT_MODE_AES_256_CTS: u32 = 4;
405405
pub const FSCRYPT_MODE_AES_128_CBC: u32 = 5;
406406
pub const FSCRYPT_MODE_AES_128_CTS: u32 = 6;
407+
pub const FSCRYPT_MODE_SM4_XTS: u32 = 7;
408+
pub const FSCRYPT_MODE_SM4_CTS: u32 = 8;
407409
pub const FSCRYPT_MODE_ADIANTUM: u32 = 9;
408410
pub const FSCRYPT_MODE_AES_256_HCTR2: u32 = 10;
409411
pub const FSCRYPT_POLICY_V1: u32 = 0;
@@ -436,8 +438,6 @@ pub const FS_ENCRYPTION_MODE_AES_256_CBC: u32 = 3;
436438
pub const FS_ENCRYPTION_MODE_AES_256_CTS: u32 = 4;
437439
pub const FS_ENCRYPTION_MODE_AES_128_CBC: u32 = 5;
438440
pub const FS_ENCRYPTION_MODE_AES_128_CTS: u32 = 6;
439-
pub const FS_ENCRYPTION_MODE_SPECK128_256_XTS: u32 = 7;
440-
pub const FS_ENCRYPTION_MODE_SPECK128_256_CTS: u32 = 8;
441441
pub const FS_ENCRYPTION_MODE_ADIANTUM: u32 = 9;
442442
pub const FS_KEY_DESC_PREFIX: &[u8; 9usize] = b"fscrypt:\0";
443443
pub const FS_KEY_DESC_PREFIX_SIZE: u32 = 8;
@@ -2331,6 +2331,8 @@ pub const IORING_ASYNC_CANCEL_FD_FIXED: u32 = 8;
23312331
pub const IORING_RECVSEND_POLL_FIRST: u32 = 1;
23322332
pub const IORING_RECV_MULTISHOT: u32 = 2;
23332333
pub const IORING_RECVSEND_FIXED_BUF: u32 = 4;
2334+
pub const IORING_SEND_ZC_REPORT_USAGE: u32 = 8;
2335+
pub const IORING_NOTIF_USAGE_ZC_COPIED: u32 = 2147483648;
23342336
pub const IORING_ACCEPT_MULTISHOT: u32 = 1;
23352337
pub const IORING_MSG_RING_CQE_SKIP: u32 = 1;
23362338
pub const IORING_CQE_F_BUFFER: u32 = 1;
@@ -4138,6 +4140,8 @@ pub tcpi_dsack_dups: __u32,
41384140
pub tcpi_reord_seen: __u32,
41394141
pub tcpi_rcv_ooopack: __u32,
41404142
pub tcpi_snd_wnd: __u32,
4143+
pub tcpi_rcv_wnd: __u32,
4144+
pub tcpi_rehash: __u32,
41414145
}
41424146
impl tcp_info {
41434147
#[inline]
@@ -4233,6 +4237,7 @@ pub const TCP_NLA_TIMEOUT_REHASH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TIMEOUT
42334237
pub const TCP_NLA_BYTES_NOTSENT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BYTES_NOTSENT;
42344238
pub const TCP_NLA_EDT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_EDT;
42354239
pub const TCP_NLA_TTL: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TTL;
4240+
pub const TCP_NLA_REHASH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_REHASH;
42364241
#[repr(u32)]
42374242
#[non_exhaustive]
42384243
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
@@ -4264,6 +4269,7 @@ TCP_NLA_TIMEOUT_REHASH = 23,
42644269
TCP_NLA_BYTES_NOTSENT = 24,
42654270
TCP_NLA_EDT = 25,
42664271
TCP_NLA_TTL = 26,
4272+
TCP_NLA_REHASH = 27,
42674273
}
42684274
#[repr(C)]
42694275
#[derive(Copy, Clone)]

src/aarch64/netlink.rs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ fn fmt(&self, fmt: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3030
fmt.write_str("__IncompleteArrayField")
3131
}
3232
}
33-
pub const LINUX_VERSION_CODE: u32 = 393472;
33+
pub const LINUX_VERSION_CODE: u32 = 393728;
3434
pub const LINUX_VERSION_MAJOR: u32 = 6;
35-
pub const LINUX_VERSION_PATCHLEVEL: u32 = 1;
35+
pub const LINUX_VERSION_PATCHLEVEL: u32 = 2;
3636
pub const LINUX_VERSION_SUBLEVEL: u32 = 0;
3737
pub const _K_SS_MAXSIZE: u32 = 128;
3838
pub const SOCK_SNDBUF_LOCK: u32 = 1;
@@ -158,6 +158,7 @@ pub const NTF_OFFLOADED: u32 = 32;
158158
pub const NTF_STICKY: u32 = 64;
159159
pub const NTF_ROUTER: u32 = 128;
160160
pub const NTF_EXT_MANAGED: u32 = 1;
161+
pub const NTF_EXT_LOCKED: u32 = 2;
161162
pub const NUD_INCOMPLETE: u32 = 1;
162163
pub const NUD_REACHABLE: u32 = 2;
163164
pub const NUD_STALE: u32 = 4;
@@ -604,6 +605,7 @@ pub const IFLA_GRO_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_MAX_SIZE;
604605
pub const IFLA_TSO_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TSO_MAX_SIZE;
605606
pub const IFLA_TSO_MAX_SEGS: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TSO_MAX_SEGS;
606607
pub const IFLA_ALLMULTI: _bindgen_ty_2 = _bindgen_ty_2::IFLA_ALLMULTI;
608+
pub const IFLA_DEVLINK_PORT: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DEVLINK_PORT;
607609
pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX;
608610
#[repr(u32)]
609611
#[non_exhaustive]
@@ -671,7 +673,8 @@ IFLA_GRO_MAX_SIZE = 58,
671673
IFLA_TSO_MAX_SIZE = 59,
672674
IFLA_TSO_MAX_SEGS = 60,
673675
IFLA_ALLMULTI = 61,
674-
__IFLA_MAX = 62,
676+
IFLA_DEVLINK_PORT = 62,
677+
__IFLA_MAX = 63,
675678
}
676679
pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC;
677680
pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK;
@@ -892,6 +895,7 @@ pub const IFLA_BRPORT_MRP_IN_OPEN: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MR
892895
pub const IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT;
893896
pub const IFLA_BRPORT_MCAST_EHT_HOSTS_CNT: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MCAST_EHT_HOSTS_CNT;
894897
pub const IFLA_BRPORT_LOCKED: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_LOCKED;
898+
pub const IFLA_BRPORT_MAB: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MAB;
895899
pub const __IFLA_BRPORT_MAX: _bindgen_ty_8 = _bindgen_ty_8::__IFLA_BRPORT_MAX;
896900
#[repr(u32)]
897901
#[non_exhaustive]
@@ -937,7 +941,8 @@ IFLA_BRPORT_MRP_IN_OPEN = 36,
937941
IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT = 37,
938942
IFLA_BRPORT_MCAST_EHT_HOSTS_CNT = 38,
939943
IFLA_BRPORT_LOCKED = 39,
940-
__IFLA_BRPORT_MAX = 40,
944+
IFLA_BRPORT_MAB = 40,
945+
__IFLA_BRPORT_MAX = 41,
941946
}
942947
#[repr(C)]
943948
#[derive(Debug, Copy, Clone)]

src/arm/general.rs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ true
137137
}
138138
}
139139
impl<T> ::core::cmp::Eq for __BindgenUnionField<T> {}
140-
pub const LINUX_VERSION_CODE: u32 = 393472;
140+
pub const LINUX_VERSION_CODE: u32 = 393728;
141141
pub const LINUX_VERSION_MAJOR: u32 = 6;
142-
pub const LINUX_VERSION_PATCHLEVEL: u32 = 1;
142+
pub const LINUX_VERSION_PATCHLEVEL: u32 = 2;
143143
pub const LINUX_VERSION_SUBLEVEL: u32 = 0;
144144
pub const AT_SYSINFO_EHDR: u32 = 33;
145145
pub const AT_NULL: u32 = 0;
@@ -406,6 +406,8 @@ pub const FSCRYPT_MODE_AES_256_XTS: u32 = 1;
406406
pub const FSCRYPT_MODE_AES_256_CTS: u32 = 4;
407407
pub const FSCRYPT_MODE_AES_128_CBC: u32 = 5;
408408
pub const FSCRYPT_MODE_AES_128_CTS: u32 = 6;
409+
pub const FSCRYPT_MODE_SM4_XTS: u32 = 7;
410+
pub const FSCRYPT_MODE_SM4_CTS: u32 = 8;
409411
pub const FSCRYPT_MODE_ADIANTUM: u32 = 9;
410412
pub const FSCRYPT_MODE_AES_256_HCTR2: u32 = 10;
411413
pub const FSCRYPT_POLICY_V1: u32 = 0;
@@ -438,8 +440,6 @@ pub const FS_ENCRYPTION_MODE_AES_256_CBC: u32 = 3;
438440
pub const FS_ENCRYPTION_MODE_AES_256_CTS: u32 = 4;
439441
pub const FS_ENCRYPTION_MODE_AES_128_CBC: u32 = 5;
440442
pub const FS_ENCRYPTION_MODE_AES_128_CTS: u32 = 6;
441-
pub const FS_ENCRYPTION_MODE_SPECK128_256_XTS: u32 = 7;
442-
pub const FS_ENCRYPTION_MODE_SPECK128_256_CTS: u32 = 8;
443443
pub const FS_ENCRYPTION_MODE_ADIANTUM: u32 = 9;
444444
pub const FS_KEY_DESC_PREFIX: &[u8; 9usize] = b"fscrypt:\0";
445445
pub const FS_KEY_DESC_PREFIX_SIZE: u32 = 8;
@@ -2417,6 +2417,8 @@ pub const IORING_ASYNC_CANCEL_FD_FIXED: u32 = 8;
24172417
pub const IORING_RECVSEND_POLL_FIRST: u32 = 1;
24182418
pub const IORING_RECV_MULTISHOT: u32 = 2;
24192419
pub const IORING_RECVSEND_FIXED_BUF: u32 = 4;
2420+
pub const IORING_SEND_ZC_REPORT_USAGE: u32 = 8;
2421+
pub const IORING_NOTIF_USAGE_ZC_COPIED: u32 = 2147483648;
24202422
pub const IORING_ACCEPT_MULTISHOT: u32 = 1;
24212423
pub const IORING_MSG_RING_CQE_SKIP: u32 = 1;
24222424
pub const IORING_CQE_F_BUFFER: u32 = 1;
@@ -4225,6 +4227,8 @@ pub tcpi_dsack_dups: __u32,
42254227
pub tcpi_reord_seen: __u32,
42264228
pub tcpi_rcv_ooopack: __u32,
42274229
pub tcpi_snd_wnd: __u32,
4230+
pub tcpi_rcv_wnd: __u32,
4231+
pub tcpi_rehash: __u32,
42284232
}
42294233
impl tcp_info {
42304234
#[inline]
@@ -4320,6 +4324,7 @@ pub const TCP_NLA_TIMEOUT_REHASH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TIMEOUT
43204324
pub const TCP_NLA_BYTES_NOTSENT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BYTES_NOTSENT;
43214325
pub const TCP_NLA_EDT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_EDT;
43224326
pub const TCP_NLA_TTL: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TTL;
4327+
pub const TCP_NLA_REHASH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_REHASH;
43234328
#[repr(u32)]
43244329
#[non_exhaustive]
43254330
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
@@ -4351,6 +4356,7 @@ TCP_NLA_TIMEOUT_REHASH = 23,
43514356
TCP_NLA_BYTES_NOTSENT = 24,
43524357
TCP_NLA_EDT = 25,
43534358
TCP_NLA_TTL = 26,
4359+
TCP_NLA_REHASH = 27,
43544360
}
43554361
#[repr(C)]
43564362
#[derive(Copy, Clone)]

src/arm/netlink.rs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ fn fmt(&self, fmt: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3030
fmt.write_str("__IncompleteArrayField")
3131
}
3232
}
33-
pub const LINUX_VERSION_CODE: u32 = 393472;
33+
pub const LINUX_VERSION_CODE: u32 = 393728;
3434
pub const LINUX_VERSION_MAJOR: u32 = 6;
35-
pub const LINUX_VERSION_PATCHLEVEL: u32 = 1;
35+
pub const LINUX_VERSION_PATCHLEVEL: u32 = 2;
3636
pub const LINUX_VERSION_SUBLEVEL: u32 = 0;
3737
pub const _K_SS_MAXSIZE: u32 = 128;
3838
pub const SOCK_SNDBUF_LOCK: u32 = 1;
@@ -158,6 +158,7 @@ pub const NTF_OFFLOADED: u32 = 32;
158158
pub const NTF_STICKY: u32 = 64;
159159
pub const NTF_ROUTER: u32 = 128;
160160
pub const NTF_EXT_MANAGED: u32 = 1;
161+
pub const NTF_EXT_LOCKED: u32 = 2;
161162
pub const NUD_INCOMPLETE: u32 = 1;
162163
pub const NUD_REACHABLE: u32 = 2;
163164
pub const NUD_STALE: u32 = 4;
@@ -604,6 +605,7 @@ pub const IFLA_GRO_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_MAX_SIZE;
604605
pub const IFLA_TSO_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TSO_MAX_SIZE;
605606
pub const IFLA_TSO_MAX_SEGS: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TSO_MAX_SEGS;
606607
pub const IFLA_ALLMULTI: _bindgen_ty_2 = _bindgen_ty_2::IFLA_ALLMULTI;
608+
pub const IFLA_DEVLINK_PORT: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DEVLINK_PORT;
607609
pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX;
608610
#[repr(u32)]
609611
#[non_exhaustive]
@@ -671,7 +673,8 @@ IFLA_GRO_MAX_SIZE = 58,
671673
IFLA_TSO_MAX_SIZE = 59,
672674
IFLA_TSO_MAX_SEGS = 60,
673675
IFLA_ALLMULTI = 61,
674-
__IFLA_MAX = 62,
676+
IFLA_DEVLINK_PORT = 62,
677+
__IFLA_MAX = 63,
675678
}
676679
pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC;
677680
pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK;
@@ -892,6 +895,7 @@ pub const IFLA_BRPORT_MRP_IN_OPEN: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MR
892895
pub const IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT;
893896
pub const IFLA_BRPORT_MCAST_EHT_HOSTS_CNT: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MCAST_EHT_HOSTS_CNT;
894897
pub const IFLA_BRPORT_LOCKED: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_LOCKED;
898+
pub const IFLA_BRPORT_MAB: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MAB;
895899
pub const __IFLA_BRPORT_MAX: _bindgen_ty_8 = _bindgen_ty_8::__IFLA_BRPORT_MAX;
896900
#[repr(u32)]
897901
#[non_exhaustive]
@@ -937,7 +941,8 @@ IFLA_BRPORT_MRP_IN_OPEN = 36,
937941
IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT = 37,
938942
IFLA_BRPORT_MCAST_EHT_HOSTS_CNT = 38,
939943
IFLA_BRPORT_LOCKED = 39,
940-
__IFLA_BRPORT_MAX = 40,
944+
IFLA_BRPORT_MAB = 40,
945+
__IFLA_BRPORT_MAX = 41,
941946
}
942947
#[repr(C)]
943948
#[derive(Debug, Copy, Clone)]

src/mips/general.rs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ true
137137
}
138138
}
139139
impl<T> ::core::cmp::Eq for __BindgenUnionField<T> {}
140-
pub const LINUX_VERSION_CODE: u32 = 393472;
140+
pub const LINUX_VERSION_CODE: u32 = 393728;
141141
pub const LINUX_VERSION_MAJOR: u32 = 6;
142-
pub const LINUX_VERSION_PATCHLEVEL: u32 = 1;
142+
pub const LINUX_VERSION_PATCHLEVEL: u32 = 2;
143143
pub const LINUX_VERSION_SUBLEVEL: u32 = 0;
144144
pub const AT_SYSINFO_EHDR: u32 = 33;
145145
pub const AT_VECTOR_SIZE_ARCH: u32 = 1;
@@ -416,6 +416,8 @@ pub const FSCRYPT_MODE_AES_256_XTS: u32 = 1;
416416
pub const FSCRYPT_MODE_AES_256_CTS: u32 = 4;
417417
pub const FSCRYPT_MODE_AES_128_CBC: u32 = 5;
418418
pub const FSCRYPT_MODE_AES_128_CTS: u32 = 6;
419+
pub const FSCRYPT_MODE_SM4_XTS: u32 = 7;
420+
pub const FSCRYPT_MODE_SM4_CTS: u32 = 8;
419421
pub const FSCRYPT_MODE_ADIANTUM: u32 = 9;
420422
pub const FSCRYPT_MODE_AES_256_HCTR2: u32 = 10;
421423
pub const FSCRYPT_POLICY_V1: u32 = 0;
@@ -448,8 +450,6 @@ pub const FS_ENCRYPTION_MODE_AES_256_CBC: u32 = 3;
448450
pub const FS_ENCRYPTION_MODE_AES_256_CTS: u32 = 4;
449451
pub const FS_ENCRYPTION_MODE_AES_128_CBC: u32 = 5;
450452
pub const FS_ENCRYPTION_MODE_AES_128_CTS: u32 = 6;
451-
pub const FS_ENCRYPTION_MODE_SPECK128_256_XTS: u32 = 7;
452-
pub const FS_ENCRYPTION_MODE_SPECK128_256_CTS: u32 = 8;
453453
pub const FS_ENCRYPTION_MODE_ADIANTUM: u32 = 9;
454454
pub const FS_KEY_DESC_PREFIX: &[u8; 9usize] = b"fscrypt:\0";
455455
pub const FS_KEY_DESC_PREFIX_SIZE: u32 = 8;
@@ -2576,6 +2576,8 @@ pub const IORING_ASYNC_CANCEL_FD_FIXED: u32 = 8;
25762576
pub const IORING_RECVSEND_POLL_FIRST: u32 = 1;
25772577
pub const IORING_RECV_MULTISHOT: u32 = 2;
25782578
pub const IORING_RECVSEND_FIXED_BUF: u32 = 4;
2579+
pub const IORING_SEND_ZC_REPORT_USAGE: u32 = 8;
2580+
pub const IORING_NOTIF_USAGE_ZC_COPIED: u32 = 2147483648;
25792581
pub const IORING_ACCEPT_MULTISHOT: u32 = 1;
25802582
pub const IORING_MSG_RING_CQE_SKIP: u32 = 1;
25812583
pub const IORING_CQE_F_BUFFER: u32 = 1;
@@ -4388,6 +4390,8 @@ pub tcpi_dsack_dups: __u32,
43884390
pub tcpi_reord_seen: __u32,
43894391
pub tcpi_rcv_ooopack: __u32,
43904392
pub tcpi_snd_wnd: __u32,
4393+
pub tcpi_rcv_wnd: __u32,
4394+
pub tcpi_rehash: __u32,
43914395
}
43924396
impl tcp_info {
43934397
#[inline]
@@ -4483,6 +4487,7 @@ pub const TCP_NLA_TIMEOUT_REHASH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TIMEOUT
44834487
pub const TCP_NLA_BYTES_NOTSENT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BYTES_NOTSENT;
44844488
pub const TCP_NLA_EDT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_EDT;
44854489
pub const TCP_NLA_TTL: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TTL;
4490+
pub const TCP_NLA_REHASH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_REHASH;
44864491
#[repr(u32)]
44874492
#[non_exhaustive]
44884493
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
@@ -4514,6 +4519,7 @@ TCP_NLA_TIMEOUT_REHASH = 23,
45144519
TCP_NLA_BYTES_NOTSENT = 24,
45154520
TCP_NLA_EDT = 25,
45164521
TCP_NLA_TTL = 26,
4522+
TCP_NLA_REHASH = 27,
45174523
}
45184524
#[repr(C)]
45194525
#[derive(Copy, Clone)]

src/mips/netlink.rs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ fn fmt(&self, fmt: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3030
fmt.write_str("__IncompleteArrayField")
3131
}
3232
}
33-
pub const LINUX_VERSION_CODE: u32 = 393472;
33+
pub const LINUX_VERSION_CODE: u32 = 393728;
3434
pub const LINUX_VERSION_MAJOR: u32 = 6;
35-
pub const LINUX_VERSION_PATCHLEVEL: u32 = 1;
35+
pub const LINUX_VERSION_PATCHLEVEL: u32 = 2;
3636
pub const LINUX_VERSION_SUBLEVEL: u32 = 0;
3737
pub const _K_SS_MAXSIZE: u32 = 128;
3838
pub const SOCK_SNDBUF_LOCK: u32 = 1;
@@ -167,6 +167,7 @@ pub const NTF_OFFLOADED: u32 = 32;
167167
pub const NTF_STICKY: u32 = 64;
168168
pub const NTF_ROUTER: u32 = 128;
169169
pub const NTF_EXT_MANAGED: u32 = 1;
170+
pub const NTF_EXT_LOCKED: u32 = 2;
170171
pub const NUD_INCOMPLETE: u32 = 1;
171172
pub const NUD_REACHABLE: u32 = 2;
172173
pub const NUD_STALE: u32 = 4;
@@ -613,6 +614,7 @@ pub const IFLA_GRO_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_MAX_SIZE;
613614
pub const IFLA_TSO_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TSO_MAX_SIZE;
614615
pub const IFLA_TSO_MAX_SEGS: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TSO_MAX_SEGS;
615616
pub const IFLA_ALLMULTI: _bindgen_ty_2 = _bindgen_ty_2::IFLA_ALLMULTI;
617+
pub const IFLA_DEVLINK_PORT: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DEVLINK_PORT;
616618
pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX;
617619
#[repr(u32)]
618620
#[non_exhaustive]
@@ -680,7 +682,8 @@ IFLA_GRO_MAX_SIZE = 58,
680682
IFLA_TSO_MAX_SIZE = 59,
681683
IFLA_TSO_MAX_SEGS = 60,
682684
IFLA_ALLMULTI = 61,
683-
__IFLA_MAX = 62,
685+
IFLA_DEVLINK_PORT = 62,
686+
__IFLA_MAX = 63,
684687
}
685688
pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC;
686689
pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK;
@@ -901,6 +904,7 @@ pub const IFLA_BRPORT_MRP_IN_OPEN: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MR
901904
pub const IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT;
902905
pub const IFLA_BRPORT_MCAST_EHT_HOSTS_CNT: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MCAST_EHT_HOSTS_CNT;
903906
pub const IFLA_BRPORT_LOCKED: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_LOCKED;
907+
pub const IFLA_BRPORT_MAB: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MAB;
904908
pub const __IFLA_BRPORT_MAX: _bindgen_ty_8 = _bindgen_ty_8::__IFLA_BRPORT_MAX;
905909
#[repr(u32)]
906910
#[non_exhaustive]
@@ -946,7 +950,8 @@ IFLA_BRPORT_MRP_IN_OPEN = 36,
946950
IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT = 37,
947951
IFLA_BRPORT_MCAST_EHT_HOSTS_CNT = 38,
948952
IFLA_BRPORT_LOCKED = 39,
949-
__IFLA_BRPORT_MAX = 40,
953+
IFLA_BRPORT_MAB = 40,
954+
__IFLA_BRPORT_MAX = 41,
950955
}
951956
#[repr(C)]
952957
#[derive(Debug, Copy, Clone)]

0 commit comments

Comments
 (0)