Skip to content

Commit b401e19

Browse files
authored
Update loongarch64 (#58)
* loongarch64: Add <linux/attr.h> to the general module Amends historic commit 5401f11 ("Add <linux/attr.h> to the general module.") * loongarch64: Provide `_NSIG`, `kernel_sigset_t`, and `kernel_sigaction` Amends historic commit 527beaa ("Provide `_NSIG`, `kernel_sigset_t`, and `kernel_sigaction`") * loongarch64: Don't define the `sa_restorer` field on platforms which lack it Amends historic commit c27ea90 ("Don't define the `sa_restorer` field on platforms which lack it") * loongarch64: Update to Linux 6.3 Amends historic commit 0faf869 ("Update to Linux 6.3") * loongarch64: Manually define the ext4 ioctl values Amends historic commit cd48b03 ("Manually define the ext4 ioctl values")
1 parent 59366be commit b401e19

6 files changed

Lines changed: 165 additions & 10 deletions

File tree

gen/ioctl/loongarch-ioctls.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,30 @@
244244
#define FS_IOC_FSSETXATTR 0x401c5820ul
245245
#define FS_IOC_GETFSLABEL 0x81009431ul
246246
#define FS_IOC_SETFSLABEL 0x41009432ul
247+
#define EXT4_IOC_GETVERSION 0x80086603ul
248+
#define EXT4_IOC_SETVERSION 0x40086604ul
249+
#define EXT4_IOC_GETVERSION_OLD 0x80087601ul
250+
#define EXT4_IOC_SETVERSION_OLD 0x40087602ul
251+
#define EXT4_IOC_GETRSVSZ 0x80086605ul
252+
#define EXT4_IOC_SETRSVSZ 0x40086606ul
253+
#define EXT4_IOC_GROUP_EXTEND 0x40086607ul
254+
#define EXT4_IOC_MIGRATE 0x6609ul
255+
#define EXT4_IOC_ALLOC_DA_BLKS 0x660cul
256+
#define EXT4_IOC_RESIZE_FS 0x40086610ul
257+
#define EXT4_IOC_SWAP_BOOT 0x6611ul
258+
#define EXT4_IOC_PRECACHE_EXTENTS 0x6612ul
259+
#define EXT4_IOC_CLEAR_ES_CACHE 0x6628ul
260+
#define EXT4_IOC_GETSTATE 0x40046629ul
261+
#define EXT4_IOC_GET_ES_CACHE 0xc020662aul
262+
#define EXT4_IOC_CHECKPOINT 0x4004662bul
263+
#define EXT4_IOC_SHUTDOWN 0x8004587dul
264+
#define EXT4_IOC32_GETVERSION 0x80046603ul
265+
#define EXT4_IOC32_SETVERSION 0x40046604ul
266+
#define EXT4_IOC32_GETRSVSZ 0x80046605ul
267+
#define EXT4_IOC32_SETRSVSZ 0x40046606ul
268+
#define EXT4_IOC32_GROUP_EXTEND 0x40046607ul
269+
#define EXT4_IOC32_GETVERSION_OLD 0x80047601ul
270+
#define EXT4_IOC32_SETVERSION_OLD 0x40047602ul
247271
#define VIDIOC_SUBDEV_QUERYSTD 0x8008563ful
248272
#define AUTOFS_DEV_IOCTL_CLOSEMOUNT 0xc0189375ul
249273
#define LIRC_SET_SEND_CARRIER 0x40046913ul

gen/modules/general.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ struct mmsghdr {
364364
// that its fourth argument be the size of the kernel's internal `sigset_t`
365365
// type. So we define our own.
366366

367-
#if defined(__i386__) || defined(__x86_64__) || defined(__s390x__) || defined(__arm__)
367+
#if defined(__i386__) || defined(__x86_64__) || defined(__s390x__) || defined(__arm__) || defined(__loongarch__)
368368
#define _NSIG 64
369369
#endif
370370

gen/modules/ioctl.h

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14253,6 +14253,30 @@
1425314253
#define FS_IOC_FSSETXATTR 0x401c5820ul
1425414254
#define FS_IOC_GETFSLABEL 0x81009431ul
1425514255
#define FS_IOC_SETFSLABEL 0x41009432ul
14256+
#define EXT4_IOC_GETVERSION 0x80086603ul
14257+
#define EXT4_IOC_SETVERSION 0x40086604ul
14258+
#define EXT4_IOC_GETVERSION_OLD 0x80087601ul
14259+
#define EXT4_IOC_SETVERSION_OLD 0x40087602ul
14260+
#define EXT4_IOC_GETRSVSZ 0x80086605ul
14261+
#define EXT4_IOC_SETRSVSZ 0x40086606ul
14262+
#define EXT4_IOC_GROUP_EXTEND 0x40086607ul
14263+
#define EXT4_IOC_MIGRATE 0x6609ul
14264+
#define EXT4_IOC_ALLOC_DA_BLKS 0x660cul
14265+
#define EXT4_IOC_RESIZE_FS 0x40086610ul
14266+
#define EXT4_IOC_SWAP_BOOT 0x6611ul
14267+
#define EXT4_IOC_PRECACHE_EXTENTS 0x6612ul
14268+
#define EXT4_IOC_CLEAR_ES_CACHE 0x6628ul
14269+
#define EXT4_IOC_GETSTATE 0x40046629ul
14270+
#define EXT4_IOC_GET_ES_CACHE 0xc020662aul
14271+
#define EXT4_IOC_CHECKPOINT 0x4004662bul
14272+
#define EXT4_IOC_SHUTDOWN 0x8004587dul
14273+
#define EXT4_IOC32_GETVERSION 0x80046603ul
14274+
#define EXT4_IOC32_SETVERSION 0x40046604ul
14275+
#define EXT4_IOC32_GETRSVSZ 0x80046605ul
14276+
#define EXT4_IOC32_SETRSVSZ 0x40046606ul
14277+
#define EXT4_IOC32_GROUP_EXTEND 0x40046607ul
14278+
#define EXT4_IOC32_GETVERSION_OLD 0x80047601ul
14279+
#define EXT4_IOC32_SETVERSION_OLD 0x40047602ul
1425614280
#define VIDIOC_SUBDEV_QUERYSTD 0x8008563ful
1425714281
#define AUTOFS_DEV_IOCTL_CLOSEMOUNT 0xc0189375ul
1425814282
#define LIRC_SET_SEND_CARRIER 0x40046913ul

src/loongarch64/general.rs

Lines changed: 74 additions & 3 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 = 393728;
140+
pub const LINUX_VERSION_CODE: u32 = 393984;
141141
pub const LINUX_VERSION_MAJOR: u32 = 6;
142-
pub const LINUX_VERSION_PATCHLEVEL: u32 = 2;
142+
pub const LINUX_VERSION_PATCHLEVEL: u32 = 3;
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;
@@ -165,6 +165,8 @@ pub const AT_SECURE: u32 = 23;
165165
pub const AT_BASE_PLATFORM: u32 = 24;
166166
pub const AT_RANDOM: u32 = 25;
167167
pub const AT_HWCAP2: u32 = 26;
168+
pub const AT_RSEQ_FEATURE_SIZE: u32 = 27;
169+
pub const AT_RSEQ_ALIGN: u32 = 28;
168170
pub const AT_EXECFN: u32 = 31;
169171
pub const AT_MINSIGSTKSZ: u32 = 51;
170172
pub const __FD_SETSIZE: u32 = 1024;
@@ -311,6 +313,7 @@ pub const F_SEAL_SHRINK: u32 = 2;
311313
pub const F_SEAL_GROW: u32 = 4;
312314
pub const F_SEAL_WRITE: u32 = 8;
313315
pub const F_SEAL_FUTURE_WRITE: u32 = 16;
316+
pub const F_SEAL_EXEC: u32 = 32;
314317
pub const F_GET_RW_HINT: u32 = 1035;
315318
pub const F_SET_RW_HINT: u32 = 1036;
316319
pub const F_GET_FILE_RW_HINT: u32 = 1037;
@@ -710,6 +713,7 @@ pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 47;
710713
pub const MCAST_MSFILTER: u32 = 48;
711714
pub const IP_MULTICAST_ALL: u32 = 49;
712715
pub const IP_UNICAST_IF: u32 = 50;
716+
pub const IP_LOCAL_PORT_RANGE: u32 = 51;
713717
pub const MCAST_EXCLUDE: u32 = 0;
714718
pub const MCAST_INCLUDE: u32 = 1;
715719
pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1;
@@ -1384,6 +1388,9 @@ pub const PR_SME_SET_VL_ONEXEC: u32 = 262144;
13841388
pub const PR_SME_GET_VL: u32 = 64;
13851389
pub const PR_SME_VL_LEN_MASK: u32 = 65535;
13861390
pub const PR_SME_VL_INHERIT: u32 = 131072;
1391+
pub const PR_SET_MDWE: u32 = 65;
1392+
pub const PR_MDWE_REFUSE_EXEC_GAIN: u32 = 1;
1393+
pub const PR_GET_MDWE: u32 = 66;
13871394
pub const PR_SET_VMA: u32 = 1398164801;
13881395
pub const PR_SET_VMA_ANON_NAME: u32 = 0;
13891396
pub const GRND_NONBLOCK: u32 = 1;
@@ -2227,9 +2234,47 @@ pub const P_ALL: u32 = 0;
22272234
pub const P_PID: u32 = 1;
22282235
pub const P_PGID: u32 = 2;
22292236
pub const P_PIDFD: u32 = 3;
2237+
pub const XATTR_CREATE: u32 = 1;
2238+
pub const XATTR_REPLACE: u32 = 2;
2239+
pub const XATTR_OS2_PREFIX: &[u8; 5usize] = b"os2.\0";
2240+
pub const XATTR_MAC_OSX_PREFIX: &[u8; 5usize] = b"osx.\0";
2241+
pub const XATTR_BTRFS_PREFIX: &[u8; 7usize] = b"btrfs.\0";
2242+
pub const XATTR_HURD_PREFIX: &[u8; 5usize] = b"gnu.\0";
2243+
pub const XATTR_SECURITY_PREFIX: &[u8; 10usize] = b"security.\0";
2244+
pub const XATTR_SYSTEM_PREFIX: &[u8; 8usize] = b"system.\0";
2245+
pub const XATTR_TRUSTED_PREFIX: &[u8; 9usize] = b"trusted.\0";
2246+
pub const XATTR_USER_PREFIX: &[u8; 6usize] = b"user.\0";
2247+
pub const XATTR_EVM_SUFFIX: &[u8; 4usize] = b"evm\0";
2248+
pub const XATTR_NAME_EVM: &[u8; 13usize] = b"security.evm\0";
2249+
pub const XATTR_IMA_SUFFIX: &[u8; 4usize] = b"ima\0";
2250+
pub const XATTR_NAME_IMA: &[u8; 13usize] = b"security.ima\0";
2251+
pub const XATTR_SELINUX_SUFFIX: &[u8; 8usize] = b"selinux\0";
2252+
pub const XATTR_NAME_SELINUX: &[u8; 17usize] = b"security.selinux\0";
2253+
pub const XATTR_SMACK_SUFFIX: &[u8; 8usize] = b"SMACK64\0";
2254+
pub const XATTR_SMACK_IPIN: &[u8; 12usize] = b"SMACK64IPIN\0";
2255+
pub const XATTR_SMACK_IPOUT: &[u8; 13usize] = b"SMACK64IPOUT\0";
2256+
pub const XATTR_SMACK_EXEC: &[u8; 12usize] = b"SMACK64EXEC\0";
2257+
pub const XATTR_SMACK_TRANSMUTE: &[u8; 17usize] = b"SMACK64TRANSMUTE\0";
2258+
pub const XATTR_SMACK_MMAP: &[u8; 12usize] = b"SMACK64MMAP\0";
2259+
pub const XATTR_NAME_SMACK: &[u8; 17usize] = b"security.SMACK64\0";
2260+
pub const XATTR_NAME_SMACKIPIN: &[u8; 21usize] = b"security.SMACK64IPIN\0";
2261+
pub const XATTR_NAME_SMACKIPOUT: &[u8; 22usize] = b"security.SMACK64IPOUT\0";
2262+
pub const XATTR_NAME_SMACKEXEC: &[u8; 21usize] = b"security.SMACK64EXEC\0";
2263+
pub const XATTR_NAME_SMACKTRANSMUTE: &[u8; 26usize] = b"security.SMACK64TRANSMUTE\0";
2264+
pub const XATTR_NAME_SMACKMMAP: &[u8; 21usize] = b"security.SMACK64MMAP\0";
2265+
pub const XATTR_APPARMOR_SUFFIX: &[u8; 9usize] = b"apparmor\0";
2266+
pub const XATTR_NAME_APPARMOR: &[u8; 18usize] = b"security.apparmor\0";
2267+
pub const XATTR_CAPS_SUFFIX: &[u8; 11usize] = b"capability\0";
2268+
pub const XATTR_NAME_CAPS: &[u8; 20usize] = b"security.capability\0";
2269+
pub const XATTR_POSIX_ACL_ACCESS: &[u8; 17usize] = b"posix_acl_access\0";
2270+
pub const XATTR_NAME_POSIX_ACL_ACCESS: &[u8; 24usize] = b"system.posix_acl_access\0";
2271+
pub const XATTR_POSIX_ACL_DEFAULT: &[u8; 18usize] = b"posix_acl_default\0";
2272+
pub const XATTR_NAME_POSIX_ACL_DEFAULT: &[u8; 25usize] = b"system.posix_acl_default\0";
22302273
pub const MFD_CLOEXEC: u32 = 1;
22312274
pub const MFD_ALLOW_SEALING: u32 = 2;
22322275
pub const MFD_HUGETLB: u32 = 4;
2276+
pub const MFD_NOEXEC_SEAL: u32 = 8;
2277+
pub const MFD_EXEC: u32 = 16;
22332278
pub const MFD_HUGE_SHIFT: u32 = 26;
22342279
pub const MFD_HUGE_MASK: u32 = 63;
22352280
pub const MFD_HUGE_64KB: u32 = 1073741824;
@@ -2321,6 +2366,7 @@ pub const IORING_SEND_ZC_REPORT_USAGE: u32 = 8;
23212366
pub const IORING_NOTIF_USAGE_ZC_COPIED: u32 = 2147483648;
23222367
pub const IORING_ACCEPT_MULTISHOT: u32 = 1;
23232368
pub const IORING_MSG_RING_CQE_SKIP: u32 = 1;
2369+
pub const IORING_MSG_RING_FLAGS_PASS: u32 = 2;
23242370
pub const IORING_CQE_F_BUFFER: u32 = 1;
23252371
pub const IORING_CQE_F_MORE: u32 = 2;
23262372
pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4;
@@ -2350,6 +2396,7 @@ pub const IORING_FEAT_NATIVE_WORKERS: u32 = 512;
23502396
pub const IORING_FEAT_RSRC_TAGS: u32 = 1024;
23512397
pub const IORING_FEAT_CQE_SKIP: u32 = 2048;
23522398
pub const IORING_FEAT_LINKED_FILE: u32 = 4096;
2399+
pub const IORING_FEAT_REG_REG_RING: u32 = 8192;
23532400
pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1;
23542401
pub const IORING_REGISTER_FILES_SKIP: i32 = -2;
23552402
pub const IO_URING_OP_SUPPORTED: u32 = 1;
@@ -4403,6 +4450,7 @@ MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE = 32,
44034450
MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE = 64,
44044451
MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ = 128,
44054452
MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_RSEQ = 256,
4453+
MEMBARRIER_CMD_GET_REGISTRATIONS = 512,
44064454
}
44074455
#[repr(u32)]
44084456
#[non_exhaustive]
@@ -4768,6 +4816,7 @@ pub const IORING_UNREGISTER_PBUF_RING: _bindgen_ty_10 = _bindgen_ty_10::IORING_U
47684816
pub const IORING_REGISTER_SYNC_CANCEL: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_SYNC_CANCEL;
47694817
pub const IORING_REGISTER_FILE_ALLOC_RANGE: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_FILE_ALLOC_RANGE;
47704818
pub const IORING_REGISTER_LAST: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_LAST;
4819+
pub const IORING_REGISTER_USE_REGISTERED_RING: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_USE_REGISTERED_RING;
47714820
#[repr(u32)]
47724821
#[non_exhaustive]
47734822
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
@@ -4799,6 +4848,7 @@ IORING_UNREGISTER_PBUF_RING = 23,
47994848
IORING_REGISTER_SYNC_CANCEL = 24,
48004849
IORING_REGISTER_FILE_ALLOC_RANGE = 25,
48014850
IORING_REGISTER_LAST = 26,
4851+
IORING_REGISTER_USE_REGISTERED_RING = 2147483648,
48024852
}
48034853
pub const IO_WQ_BOUND: _bindgen_ty_11 = _bindgen_ty_11::IO_WQ_BOUND;
48044854
pub const IO_WQ_UNBOUND: _bindgen_ty_11 = _bindgen_ty_11::IO_WQ_UNBOUND;
@@ -4904,7 +4954,7 @@ pub __bindgen_anon_1: io_uring_buf_ring__bindgen_ty_1,
49044954
#[repr(C)]
49054955
pub struct io_uring_buf_ring__bindgen_ty_1 {
49064956
pub __bindgen_anon_1: __BindgenUnionField<io_uring_buf_ring__bindgen_ty_1__bindgen_ty_1>,
4907-
pub bufs: __BindgenUnionField<[io_uring_buf; 0usize]>,
4957+
pub __bindgen_anon_2: __BindgenUnionField<io_uring_buf_ring__bindgen_ty_1__bindgen_ty_2>,
49084958
pub bindgen_union_field: [u64; 2usize],
49094959
}
49104960
#[repr(C)]
@@ -4916,6 +4966,15 @@ pub resv3: __u16,
49164966
pub tail: __u16,
49174967
}
49184968
#[repr(C)]
4969+
#[derive(Debug)]
4970+
pub struct io_uring_buf_ring__bindgen_ty_1__bindgen_ty_2 {
4971+
pub __empty_bufs: io_uring_buf_ring__bindgen_ty_1__bindgen_ty_2__bindgen_ty_1,
4972+
pub bufs: __IncompleteArrayField<io_uring_buf>,
4973+
}
4974+
#[repr(C)]
4975+
#[derive(Debug, Copy, Clone)]
4976+
pub struct io_uring_buf_ring__bindgen_ty_1__bindgen_ty_2__bindgen_ty_1 {}
4977+
#[repr(C)]
49194978
#[derive(Debug, Copy, Clone)]
49204979
pub struct io_uring_buf_reg {
49214980
pub ring_addr: __u64,
@@ -5203,3 +5262,15 @@ pub struct mmsghdr {
52035262
pub msg_hdr: msghdr,
52045263
pub msg_len: crate::ctypes::c_uint,
52055264
}
5265+
#[repr(C)]
5266+
#[derive(Debug, Copy, Clone)]
5267+
pub struct kernel_sigset_t {
5268+
pub sig: [crate::ctypes::c_ulong; 1usize],
5269+
}
5270+
#[repr(C)]
5271+
#[derive(Debug, Copy, Clone)]
5272+
pub struct kernel_sigaction {
5273+
pub sa_handler_kernel: __kernel_sighandler_t,
5274+
pub sa_flags: crate::ctypes::c_ulong,
5275+
pub sa_mask: kernel_sigset_t,
5276+
}

src/loongarch64/ioctl.rs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,30 @@ pub const FS_IOC_FSGETXATTR: u32 = 2149341215;
245245
pub const FS_IOC_FSSETXATTR: u32 = 1075599392;
246246
pub const FS_IOC_GETFSLABEL: u32 = 2164298801;
247247
pub const FS_IOC_SETFSLABEL: u32 = 1090556978;
248+
pub const EXT4_IOC_GETVERSION: u32 = 2148034051;
249+
pub const EXT4_IOC_SETVERSION: u32 = 1074292228;
250+
pub const EXT4_IOC_GETVERSION_OLD: u32 = 2148038145;
251+
pub const EXT4_IOC_SETVERSION_OLD: u32 = 1074296322;
252+
pub const EXT4_IOC_GETRSVSZ: u32 = 2148034053;
253+
pub const EXT4_IOC_SETRSVSZ: u32 = 1074292230;
254+
pub const EXT4_IOC_GROUP_EXTEND: u32 = 1074292231;
255+
pub const EXT4_IOC_MIGRATE: u32 = 26121;
256+
pub const EXT4_IOC_ALLOC_DA_BLKS: u32 = 26124;
257+
pub const EXT4_IOC_RESIZE_FS: u32 = 1074292240;
258+
pub const EXT4_IOC_SWAP_BOOT: u32 = 26129;
259+
pub const EXT4_IOC_PRECACHE_EXTENTS: u32 = 26130;
260+
pub const EXT4_IOC_CLEAR_ES_CACHE: u32 = 26152;
261+
pub const EXT4_IOC_GETSTATE: u32 = 1074030121;
262+
pub const EXT4_IOC_GET_ES_CACHE: u32 = 3223348778;
263+
pub const EXT4_IOC_CHECKPOINT: u32 = 1074030123;
264+
pub const EXT4_IOC_SHUTDOWN: u32 = 2147768445;
265+
pub const EXT4_IOC32_GETVERSION: u32 = 2147771907;
266+
pub const EXT4_IOC32_SETVERSION: u32 = 1074030084;
267+
pub const EXT4_IOC32_GETRSVSZ: u32 = 2147771909;
268+
pub const EXT4_IOC32_SETRSVSZ: u32 = 1074030086;
269+
pub const EXT4_IOC32_GROUP_EXTEND: u32 = 1074030087;
270+
pub const EXT4_IOC32_GETVERSION_OLD: u32 = 2147776001;
271+
pub const EXT4_IOC32_SETVERSION_OLD: u32 = 1074034178;
248272
pub const VIDIOC_SUBDEV_QUERYSTD: u32 = 2148030015;
249273
pub const AUTOFS_DEV_IOCTL_CLOSEMOUNT: u32 = 3222836085;
250274
pub const LIRC_SET_SEND_CARRIER: u32 = 1074030867;

src/loongarch64/netlink.rs

Lines changed: 18 additions & 6 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 = 393728;
33+
pub const LINUX_VERSION_CODE: u32 = 393984;
3434
pub const LINUX_VERSION_MAJOR: u32 = 6;
35-
pub const LINUX_VERSION_PATCHLEVEL: u32 = 2;
35+
pub const LINUX_VERSION_PATCHLEVEL: u32 = 3;
3636
pub const LINUX_VERSION_SUBLEVEL: u32 = 0;
3737
pub const _K_SS_MAXSIZE: u32 = 128;
3838
pub const SOCK_SNDBUF_LOCK: u32 = 1;
@@ -605,6 +605,8 @@ pub const IFLA_TSO_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TSO_MAX_SIZE;
605605
pub const IFLA_TSO_MAX_SEGS: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TSO_MAX_SEGS;
606606
pub const IFLA_ALLMULTI: _bindgen_ty_2 = _bindgen_ty_2::IFLA_ALLMULTI;
607607
pub const IFLA_DEVLINK_PORT: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DEVLINK_PORT;
608+
pub const IFLA_GSO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GSO_IPV4_MAX_SIZE;
609+
pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_MAX_SIZE;
608610
pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX;
609611
#[repr(u32)]
610612
#[non_exhaustive]
@@ -673,7 +675,9 @@ IFLA_TSO_MAX_SIZE = 59,
673675
IFLA_TSO_MAX_SEGS = 60,
674676
IFLA_ALLMULTI = 61,
675677
IFLA_DEVLINK_PORT = 62,
676-
__IFLA_MAX = 63,
678+
IFLA_GSO_IPV4_MAX_SIZE = 63,
679+
IFLA_GRO_IPV4_MAX_SIZE = 64,
680+
__IFLA_MAX = 65,
677681
}
678682
pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC;
679683
pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK;
@@ -895,6 +899,8 @@ pub const IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT: _bindgen_ty_8 = _bindgen_ty_8::IFLA
895899
pub const IFLA_BRPORT_MCAST_EHT_HOSTS_CNT: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MCAST_EHT_HOSTS_CNT;
896900
pub const IFLA_BRPORT_LOCKED: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_LOCKED;
897901
pub const IFLA_BRPORT_MAB: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MAB;
902+
pub const IFLA_BRPORT_MCAST_N_GROUPS: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MCAST_N_GROUPS;
903+
pub const IFLA_BRPORT_MCAST_MAX_GROUPS: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MCAST_MAX_GROUPS;
898904
pub const __IFLA_BRPORT_MAX: _bindgen_ty_8 = _bindgen_ty_8::__IFLA_BRPORT_MAX;
899905
#[repr(u32)]
900906
#[non_exhaustive]
@@ -941,7 +947,9 @@ IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT = 37,
941947
IFLA_BRPORT_MCAST_EHT_HOSTS_CNT = 38,
942948
IFLA_BRPORT_LOCKED = 39,
943949
IFLA_BRPORT_MAB = 40,
944-
__IFLA_BRPORT_MAX = 41,
950+
IFLA_BRPORT_MCAST_N_GROUPS = 41,
951+
IFLA_BRPORT_MCAST_MAX_GROUPS = 42,
952+
__IFLA_BRPORT_MAX = 43,
945953
}
946954
#[repr(C)]
947955
#[derive(Debug, Copy, Clone)]
@@ -2745,6 +2753,7 @@ pub const TCA_HW_OFFLOAD: _bindgen_ty_64 = _bindgen_ty_64::TCA_HW_OFFLOAD;
27452753
pub const TCA_INGRESS_BLOCK: _bindgen_ty_64 = _bindgen_ty_64::TCA_INGRESS_BLOCK;
27462754
pub const TCA_EGRESS_BLOCK: _bindgen_ty_64 = _bindgen_ty_64::TCA_EGRESS_BLOCK;
27472755
pub const TCA_DUMP_FLAGS: _bindgen_ty_64 = _bindgen_ty_64::TCA_DUMP_FLAGS;
2756+
pub const TCA_EXT_WARN_MSG: _bindgen_ty_64 = _bindgen_ty_64::TCA_EXT_WARN_MSG;
27482757
pub const __TCA_MAX: _bindgen_ty_64 = _bindgen_ty_64::__TCA_MAX;
27492758
#[repr(u32)]
27502759
#[non_exhaustive]
@@ -2766,7 +2775,8 @@ TCA_HW_OFFLOAD = 12,
27662775
TCA_INGRESS_BLOCK = 13,
27672776
TCA_EGRESS_BLOCK = 14,
27682777
TCA_DUMP_FLAGS = 15,
2769-
__TCA_MAX = 16,
2778+
TCA_EXT_WARN_MSG = 16,
2779+
__TCA_MAX = 17,
27702780
}
27712781
#[repr(C)]
27722782
#[derive(Debug, Copy, Clone)]
@@ -2846,6 +2856,7 @@ pub const TCA_ROOT_TAB: _bindgen_ty_66 = _bindgen_ty_66::TCA_ROOT_TAB;
28462856
pub const TCA_ROOT_FLAGS: _bindgen_ty_66 = _bindgen_ty_66::TCA_ROOT_FLAGS;
28472857
pub const TCA_ROOT_COUNT: _bindgen_ty_66 = _bindgen_ty_66::TCA_ROOT_COUNT;
28482858
pub const TCA_ROOT_TIME_DELTA: _bindgen_ty_66 = _bindgen_ty_66::TCA_ROOT_TIME_DELTA;
2859+
pub const TCA_ROOT_EXT_WARN_MSG: _bindgen_ty_66 = _bindgen_ty_66::TCA_ROOT_EXT_WARN_MSG;
28492860
pub const __TCA_ROOT_MAX: _bindgen_ty_66 = _bindgen_ty_66::__TCA_ROOT_MAX;
28502861
#[repr(u32)]
28512862
#[non_exhaustive]
@@ -2856,5 +2867,6 @@ TCA_ROOT_TAB = 1,
28562867
TCA_ROOT_FLAGS = 2,
28572868
TCA_ROOT_COUNT = 3,
28582869
TCA_ROOT_TIME_DELTA = 4,
2859-
__TCA_ROOT_MAX = 5,
2870+
TCA_ROOT_EXT_WARN_MSG = 5,
2871+
__TCA_ROOT_MAX = 6,
28602872
}

0 commit comments

Comments
 (0)