From 8cfd26e62ae9b7c24910896b404f4bdb3af38c51 Mon Sep 17 00:00:00 2001 From: Alex Gavin Date: Wed, 17 Dec 2025 22:20:59 -0800 Subject: [PATCH] Update to Linux 6.18 --- gen/build_logs.txt | 1496 +++++++++++++++++++++++++++++++++++ gen/src/main.rs | 2 +- src/aarch64/btrfs.rs | 4 +- src/aarch64/general.rs | 7 +- src/aarch64/if_arp.rs | 10 +- src/aarch64/io_uring.rs | 12 +- src/aarch64/net.rs | 9 + src/aarch64/netlink.rs | 110 ++- src/aarch64/prctl.rs | 1 + src/aarch64/ptrace.rs | 3 + src/arm/btrfs.rs | 4 +- src/arm/general.rs | 7 +- src/arm/if_arp.rs | 10 +- src/arm/io_uring.rs | 12 +- src/arm/net.rs | 9 + src/arm/netlink.rs | 110 ++- src/arm/prctl.rs | 1 + src/arm/ptrace.rs | 2 + src/csky/btrfs.rs | 4 +- src/csky/general.rs | 7 +- src/csky/if_arp.rs | 10 +- src/csky/io_uring.rs | 12 +- src/csky/net.rs | 9 + src/csky/netlink.rs | 110 ++- src/csky/prctl.rs | 1 + src/csky/ptrace.rs | 2 + src/hexagon/btrfs.rs | 4 +- src/hexagon/general.rs | 7 +- src/hexagon/if_arp.rs | 10 +- src/hexagon/io_uring.rs | 12 +- src/hexagon/net.rs | 9 + src/hexagon/netlink.rs | 110 ++- src/hexagon/prctl.rs | 1 + src/hexagon/ptrace.rs | 2 + src/loongarch64/btrfs.rs | 4 +- src/loongarch64/general.rs | 7 +- src/loongarch64/if_arp.rs | 10 +- src/loongarch64/io_uring.rs | 12 +- src/loongarch64/net.rs | 9 + src/loongarch64/netlink.rs | 110 ++- src/loongarch64/prctl.rs | 1 + src/loongarch64/ptrace.rs | 38 +- src/mips/btrfs.rs | 4 +- src/mips/general.rs | 7 +- src/mips/if_arp.rs | 10 +- src/mips/io_uring.rs | 12 +- src/mips/net.rs | 9 + src/mips/netlink.rs | 110 ++- src/mips/prctl.rs | 1 + src/mips/ptrace.rs | 2 + src/mips32r6/btrfs.rs | 4 +- src/mips32r6/general.rs | 7 +- src/mips32r6/if_arp.rs | 10 +- src/mips32r6/io_uring.rs | 12 +- src/mips32r6/net.rs | 9 + src/mips32r6/netlink.rs | 110 ++- src/mips32r6/prctl.rs | 1 + src/mips32r6/ptrace.rs | 2 + src/mips64/btrfs.rs | 4 +- src/mips64/general.rs | 7 +- src/mips64/if_arp.rs | 10 +- src/mips64/io_uring.rs | 12 +- src/mips64/net.rs | 9 + src/mips64/netlink.rs | 110 ++- src/mips64/prctl.rs | 1 + src/mips64/ptrace.rs | 2 + src/mips64r6/btrfs.rs | 4 +- src/mips64r6/general.rs | 7 +- src/mips64r6/if_arp.rs | 10 +- src/mips64r6/io_uring.rs | 12 +- src/mips64r6/net.rs | 9 + src/mips64r6/netlink.rs | 110 ++- src/mips64r6/prctl.rs | 1 + src/mips64r6/ptrace.rs | 2 + src/powerpc/btrfs.rs | 4 +- src/powerpc/general.rs | 7 +- src/powerpc/if_arp.rs | 10 +- src/powerpc/io_uring.rs | 12 +- src/powerpc/net.rs | 9 + src/powerpc/netlink.rs | 110 ++- src/powerpc/prctl.rs | 1 + src/powerpc/ptrace.rs | 2 + src/powerpc64/btrfs.rs | 4 +- src/powerpc64/general.rs | 7 +- src/powerpc64/if_arp.rs | 10 +- src/powerpc64/io_uring.rs | 12 +- src/powerpc64/net.rs | 9 + src/powerpc64/netlink.rs | 110 ++- src/powerpc64/prctl.rs | 1 + src/powerpc64/ptrace.rs | 2 + src/riscv32/btrfs.rs | 4 +- src/riscv32/general.rs | 7 +- src/riscv32/if_arp.rs | 10 +- src/riscv32/io_uring.rs | 12 +- src/riscv32/net.rs | 9 + src/riscv32/netlink.rs | 110 ++- src/riscv32/prctl.rs | 1 + src/riscv32/ptrace.rs | 2 + src/riscv64/btrfs.rs | 4 +- src/riscv64/general.rs | 7 +- src/riscv64/if_arp.rs | 10 +- src/riscv64/io_uring.rs | 12 +- src/riscv64/net.rs | 9 + src/riscv64/netlink.rs | 110 ++- src/riscv64/prctl.rs | 1 + src/riscv64/ptrace.rs | 2 + src/s390x/btrfs.rs | 4 +- src/s390x/general.rs | 7 +- src/s390x/if_arp.rs | 10 +- src/s390x/io_uring.rs | 12 +- src/s390x/net.rs | 9 + src/s390x/netlink.rs | 110 ++- src/s390x/prctl.rs | 1 + src/s390x/ptrace.rs | 2 + src/sparc/btrfs.rs | 4 +- src/sparc/general.rs | 7 +- src/sparc/if_arp.rs | 10 +- src/sparc/io_uring.rs | 12 +- src/sparc/net.rs | 9 + src/sparc/netlink.rs | 110 ++- src/sparc/prctl.rs | 1 + src/sparc/ptrace.rs | 2 + src/sparc64/btrfs.rs | 4 +- src/sparc64/general.rs | 7 +- src/sparc64/if_arp.rs | 10 +- src/sparc64/io_uring.rs | 12 +- src/sparc64/net.rs | 9 + src/sparc64/netlink.rs | 110 ++- src/sparc64/prctl.rs | 1 + src/sparc64/ptrace.rs | 2 + src/x32/btrfs.rs | 4 +- src/x32/general.rs | 8 +- src/x32/if_arp.rs | 10 +- src/x32/io_uring.rs | 12 +- src/x32/net.rs | 9 + src/x32/netlink.rs | 110 ++- src/x32/prctl.rs | 1 + src/x32/ptrace.rs | 2 + src/x86/btrfs.rs | 4 +- src/x86/general.rs | 7 +- src/x86/if_arp.rs | 10 +- src/x86/io_uring.rs | 12 +- src/x86/net.rs | 9 + src/x86/netlink.rs | 110 ++- src/x86/prctl.rs | 1 + src/x86/ptrace.rs | 2 + src/x86_64/btrfs.rs | 4 +- src/x86_64/general.rs | 8 +- src/x86_64/if_arp.rs | 10 +- src/x86_64/io_uring.rs | 12 +- src/x86_64/net.rs | 9 + src/x86_64/netlink.rs | 110 ++- src/x86_64/prctl.rs | 1 + src/x86_64/ptrace.rs | 2 + 154 files changed, 4045 insertions(+), 437 deletions(-) create mode 100644 gen/build_logs.txt diff --git a/gen/build_logs.txt b/gen/build_logs.txt new file mode 100644 index 00000000..fe1a73be --- /dev/null +++ b/gen/build_logs.txt @@ -0,0 +1,1496 @@ + HDRINST usr/include/asm-generic/termios.h + HDRINST usr/include/asm-generic/param.h + HDRINST usr/include/asm-generic/termbits.h + HDRINST usr/include/asm-generic/hugetlb_encode.h + HDRINST usr/include/asm-generic/ioctls.h + HDRINST usr/include/asm-generic/stat.h + HDRINST usr/include/asm-generic/kvm_para.h + HDRINST usr/include/asm-generic/errno.h + HDRINST usr/include/asm-generic/auxvec.h + HDRINST usr/include/asm-generic/ioctl.h + HDRINST usr/include/asm-generic/statfs.h + HDRINST usr/include/asm-generic/swab.h + HDRINST usr/include/asm-generic/msgbuf.h + HDRINST usr/include/asm-generic/shmbuf.h + HDRINST usr/include/asm-generic/sembuf.h + HDRINST usr/include/asm-generic/int-ll64.h + HDRINST usr/include/asm-generic/mman.h + HDRINST usr/include/asm-generic/resource.h + HDRINST usr/include/asm-generic/sockios.h + HDRINST usr/include/asm-generic/fcntl.h + HDRINST usr/include/asm-generic/ucontext.h + HDRINST usr/include/asm-generic/mman-common.h + HDRINST usr/include/asm-generic/socket.h + HDRINST usr/include/asm-generic/signal-defs.h + HDRINST usr/include/asm-generic/types.h + HDRINST usr/include/asm-generic/bpf_perf_event.h + HDRINST usr/include/asm-generic/errno-base.h + HDRINST usr/include/asm-generic/poll.h + HDRINST usr/include/asm-generic/int-l64.h + HDRINST usr/include/asm-generic/signal.h + HDRINST usr/include/asm-generic/ipcbuf.h + HDRINST usr/include/asm-generic/bitsperlong.h + HDRINST usr/include/asm-generic/setup.h + HDRINST usr/include/asm-generic/unistd.h + HDRINST usr/include/asm-generic/termbits-common.h + HDRINST usr/include/asm-generic/siginfo.h + HDRINST usr/include/asm-generic/posix_types.h + HDRINST usr/include/cxl/features.h + HDRINST usr/include/drm/habanalabs_accel.h + HDRINST usr/include/drm/rocket_accel.h + HDRINST usr/include/drm/nouveau_drm.h + HDRINST usr/include/drm/radeon_drm.h + HDRINST usr/include/drm/lima_drm.h + HDRINST usr/include/drm/panthor_drm.h + HDRINST usr/include/drm/pvr_drm.h + HDRINST usr/include/drm/qaic_accel.h + HDRINST usr/include/drm/drm_mode.h + HDRINST usr/include/drm/amdxdna_accel.h + HDRINST usr/include/drm/ivpu_accel.h + HDRINST usr/include/drm/amdgpu_drm.h + HDRINST usr/include/drm/omap_drm.h + HDRINST usr/include/drm/nova_drm.h + HDRINST usr/include/drm/asahi_drm.h + HDRINST usr/include/drm/drm.h + HDRINST usr/include/drm/etnaviv_drm.h + HDRINST usr/include/drm/qxl_drm.h + HDRINST usr/include/drm/panfrost_drm.h + HDRINST usr/include/drm/vmwgfx_drm.h + HDRINST usr/include/drm/v3d_drm.h + HDRINST usr/include/drm/vc4_drm.h + HDRINST usr/include/drm/tegra_drm.h + HDRINST usr/include/drm/armada_drm.h + HDRINST usr/include/drm/drm_sarea.h + HDRINST usr/include/drm/msm_drm.h + HDRINST usr/include/drm/vgem_drm.h + HDRINST usr/include/drm/drm_fourcc.h + HDRINST usr/include/drm/exynos_drm.h + HDRINST usr/include/drm/xe_drm.h + HDRINST usr/include/drm/i915_drm.h + HDRINST usr/include/drm/virtgpu_drm.h + HDRINST usr/include/fwctl/mlx5.h + HDRINST usr/include/fwctl/fwctl.h + HDRINST usr/include/fwctl/pds.h + HDRINST usr/include/fwctl/cxl.h + HDRINST usr/include/linux/udf_fs_i.h + HDRINST usr/include/linux/oom.h + HDRINST usr/include/linux/counter.h + HDRINST usr/include/linux/zorro.h + HDRINST usr/include/linux/mptcp.h + HDRINST usr/include/linux/counter/microchip-tcb-capture.h + HDRINST usr/include/linux/sctp.h + HDRINST usr/include/linux/hyperv.h + HDRINST usr/include/linux/ax25.h + HDRINST usr/include/linux/psample.h + HDRINST usr/include/linux/gfs2_ondisk.h + HDRINST usr/include/linux/arm_sdei.h + HDRINST usr/include/linux/i2c.h + HDRINST usr/include/linux/mctp.h + HDRINST usr/include/linux/erspan.h + HDRINST usr/include/linux/net_tstamp.h + HDRINST usr/include/linux/aio_abi.h + HDRINST usr/include/linux/nfs_fs.h + HDRINST usr/include/linux/nfs_mount.h + HDRINST usr/include/linux/netconf.h + HDRINST usr/include/linux/audit.h + HDRINST usr/include/linux/auto_dev-ioctl.h + HDRINST usr/include/linux/bfs_fs.h + HDRINST usr/include/linux/in6.h + HDRINST usr/include/linux/hdreg.h + HDRINST usr/include/linux/vt.h + HDRINST usr/include/linux/devlink.h + HDRINST usr/include/linux/termios.h + HDRINST usr/include/linux/nsm.h + HDRINST usr/include/linux/nexthop.h + HDRINST usr/include/linux/atmppp.h + HDRINST usr/include/linux/pg.h + HDRINST usr/include/linux/tty_flags.h + HDRINST usr/include/linux/nilfs2_ondisk.h + HDRINST usr/include/linux/blkpg.h + HDRINST usr/include/linux/virtio_bt.h + HDRINST usr/include/linux/if_phonet.h + HDRINST usr/include/linux/uhid.h + HDRINST usr/include/linux/thermal.h + HDRINST usr/include/linux/mmc/ioctl.h + HDRINST usr/include/linux/virtio_net.h + HDRINST usr/include/linux/string.h + HDRINST usr/include/linux/atmsvc.h + HDRINST usr/include/linux/param.h + HDRINST usr/include/linux/sched.h + HDRINST usr/include/linux/acrn.h + HDRINST usr/include/linux/wireless.h + HDRINST usr/include/linux/netdevice.h + HDRINST usr/include/linux/net_shaper.h + HDRINST usr/include/linux/amt.h + HDRINST usr/include/linux/tipc_sockets_diag.h + HDRINST usr/include/linux/ndctl.h + HDRINST usr/include/linux/netfilter_ipv4.h + HDRINST usr/include/linux/hash_info.h + HDRINST usr/include/linux/net.h + HDRINST usr/include/linux/isst_if.h + HDRINST usr/include/linux/joystick.h + HDRINST usr/include/linux/netlink_diag.h + HDRINST usr/include/linux/if_link.h + HDRINST usr/include/linux/input.h + HDRINST usr/include/linux/if_x25.h + HDRINST usr/include/linux/vduse.h + HDRINST usr/include/linux/netfilter_bridge/ebt_ip.h + HDRINST usr/include/linux/netfilter_bridge/ebt_stp.h + HDRINST usr/include/linux/netfilter_bridge/ebt_nflog.h + HDRINST usr/include/linux/netfilter_bridge/ebt_mark_m.h + HDRINST usr/include/linux/netfilter_bridge/ebt_pkttype.h + HDRINST usr/include/linux/netfilter_bridge/ebt_log.h + HDRINST usr/include/linux/netfilter_bridge/ebt_vlan.h + HDRINST usr/include/linux/netfilter_bridge/ebt_arpreply.h + HDRINST usr/include/linux/netfilter_bridge/ebt_nat.h + HDRINST usr/include/linux/netfilter_bridge/ebt_ip6.h + HDRINST usr/include/linux/netfilter_bridge/ebt_limit.h + HDRINST usr/include/linux/netfilter_bridge/ebt_mark_t.h + HDRINST usr/include/linux/netfilter_bridge/ebt_802_3.h + HDRINST usr/include/linux/netfilter_bridge/ebt_among.h + HDRINST usr/include/linux/netfilter_bridge/ebt_arp.h + HDRINST usr/include/linux/netfilter_bridge/ebtables.h + HDRINST usr/include/linux/netfilter_bridge/ebt_redirect.h + HDRINST usr/include/linux/signalfd.h + HDRINST usr/include/linux/pcitest.h + HDRINST usr/include/linux/personality.h + HDRINST usr/include/linux/nfs2.h + HDRINST usr/include/linux/kernel.h + HDRINST usr/include/linux/remoteproc_cdev.h + HDRINST usr/include/linux/v4l2-dv-timings.h + HDRINST usr/include/linux/btf.h + HDRINST usr/include/linux/securebits.h + HDRINST usr/include/linux/mount.h + HDRINST usr/include/linux/keyctl.h + HDRINST usr/include/linux/surface_aggregator/dtx.h + HDRINST usr/include/linux/surface_aggregator/cdev.h + HDRINST usr/include/linux/vbox_err.h + HDRINST usr/include/linux/module.h + HDRINST usr/include/linux/netfilter.h + HDRINST usr/include/linux/nvme_ioctl.h + HDRINST usr/include/linux/uvcvideo.h + HDRINST usr/include/linux/fs.h + HDRINST usr/include/linux/atm_zatm.h + HDRINST usr/include/linux/x25.h + HDRINST usr/include/linux/atm_nicstar.h + HDRINST usr/include/linux/netdev.h + HDRINST usr/include/linux/vm_sockets_diag.h + HDRINST usr/include/linux/bsg.h + HDRINST usr/include/linux/patchkey.h + HDRINST usr/include/linux/qemu_fw_cfg.h + HDRINST usr/include/linux/pci.h + HDRINST usr/include/linux/ncsi.h + HDRINST usr/include/linux/in_route.h + HDRINST usr/include/linux/cfm_bridge.h + HDRINST usr/include/linux/blkzoned.h + HDRINST usr/include/linux/v4l2-subdev.h + HDRINST usr/include/linux/dcbnl.h + HDRINST usr/include/linux/vfio_ccw.h + HDRINST usr/include/linux/neighbour.h + HDRINST usr/include/linux/vsockmon.h + HDRINST usr/include/linux/cachefiles.h + HDRINST usr/include/linux/if_tun.h + HDRINST usr/include/linux/ipsec.h + HDRINST usr/include/linux/virtio_pcidev.h + HDRINST usr/include/linux/stat.h + HDRINST usr/include/linux/membarrier.h + HDRINST usr/include/linux/fscrypt.h + HDRINST usr/include/linux/iso_fs.h + HDRINST usr/include/linux/lp.h + HDRINST usr/include/linux/smiapp.h + HDRINST usr/include/linux/batman_adv.h + HDRINST usr/include/linux/kvm_para.h + HDRINST usr/include/linux/elf-fdpic.h + HDRINST usr/include/linux/vmclock-abi.h + HDRINST usr/include/linux/ipmi_msgdefs.h + HDRINST usr/include/linux/sound.h + HDRINST usr/include/linux/kfd_ioctl.h + HDRINST usr/include/linux/am437x-vpfe.h + HDRINST usr/include/linux/if_hippi.h + HDRINST usr/include/linux/openvswitch.h + HDRINST usr/include/linux/mrp_bridge.h + HDRINST usr/include/linux/errno.h + HDRINST usr/include/linux/elf.h + HDRINST usr/include/linux/fsi.h + HDRINST usr/include/linux/inotify.h + HDRINST usr/include/linux/lockd_netlink.h + HDRINST usr/include/linux/rio_mport_cdev.h + HDRINST usr/include/linux/pmu.h + HDRINST usr/include/linux/genetlink.h + HDRINST usr/include/linux/netfilter_arp.h + HDRINST usr/include/linux/hw_breakpoint.h + HDRINST usr/include/linux/if_alg.h + HDRINST usr/include/linux/i8k.h + HDRINST usr/include/linux/tiocl.h + HDRINST usr/include/linux/virtio_pmem.h + HDRINST usr/include/linux/sync_file.h + HDRINST usr/include/linux/watch_queue.h + HDRINST usr/include/linux/mpls_iptunnel.h + HDRINST usr/include/linux/auxvec.h + HDRINST usr/include/linux/udmabuf.h + HDRINST usr/include/linux/usb/g_printer.h + HDRINST usr/include/linux/usb/charger.h + HDRINST usr/include/linux/usb/video.h + HDRINST usr/include/linux/usb/ch11.h + HDRINST usr/include/linux/usb/cdc.h + HDRINST usr/include/linux/usb/ch9.h + HDRINST usr/include/linux/usb/functionfs.h + HDRINST usr/include/linux/usb/g_hid.h + HDRINST usr/include/linux/usb/g_uvc.h + HDRINST usr/include/linux/usb/midi.h + HDRINST usr/include/linux/usb/audio.h + HDRINST usr/include/linux/usb/raw_gadget.h + HDRINST usr/include/linux/usb/tmc.h + HDRINST usr/include/linux/usb/cdc-wdm.h + HDRINST usr/include/linux/usb/gadgetfs.h + HDRINST usr/include/linux/utime.h + HDRINST usr/include/linux/dm-ioctl.h + HDRINST usr/include/linux/rpmsg_types.h + HDRINST usr/include/linux/trace_mmap.h + HDRINST usr/include/linux/android/binderfs.h + HDRINST usr/include/linux/android/binder.h + HDRINST usr/include/linux/android/binder_netlink.h + HDRINST usr/include/linux/coff.h + HDRINST usr/include/linux/netfilter/nfnetlink_cthelper.h + HDRINST usr/include/linux/netfilter/xt_RATEEST.h + HDRINST usr/include/linux/netfilter/xt_NFLOG.h + HDRINST usr/include/linux/netfilter/xt_ipcomp.h + HDRINST usr/include/linux/netfilter/nf_log.h + HDRINST usr/include/linux/netfilter/xt_CT.h + HDRINST usr/include/linux/netfilter/xt_TEE.h + HDRINST usr/include/linux/netfilter/xt_TCPMSS.h + HDRINST usr/include/linux/netfilter/xt_SYNPROXY.h + HDRINST usr/include/linux/netfilter/x_tables.h + HDRINST usr/include/linux/netfilter/xt_time.h + HDRINST usr/include/linux/netfilter/nfnetlink.h + HDRINST usr/include/linux/netfilter/xt_length.h + HDRINST usr/include/linux/netfilter/nf_conntrack_tcp.h + HDRINST usr/include/linux/netfilter/xt_SECMARK.h + HDRINST usr/include/linux/netfilter/xt_addrtype.h + HDRINST usr/include/linux/netfilter/nf_conntrack_common.h + HDRINST usr/include/linux/netfilter/xt_HMARK.h + HDRINST usr/include/linux/netfilter/xt_set.h + HDRINST usr/include/linux/netfilter/xt_connbytes.h + HDRINST usr/include/linux/netfilter/xt_state.h + HDRINST usr/include/linux/netfilter/xt_statistic.h + HDRINST usr/include/linux/netfilter/xt_ecn.h + HDRINST usr/include/linux/netfilter/xt_connlimit.h + HDRINST usr/include/linux/netfilter/nf_tables_compat.h + HDRINST usr/include/linux/netfilter/xt_TCPOPTSTRIP.h + HDRINST usr/include/linux/netfilter/xt_dccp.h + HDRINST usr/include/linux/netfilter/nfnetlink_osf.h + HDRINST usr/include/linux/netfilter/xt_string.h + HDRINST usr/include/linux/netfilter/xt_nfacct.h + HDRINST usr/include/linux/netfilter/nf_tables.h + HDRINST usr/include/linux/netfilter/nf_nat.h + HDRINST usr/include/linux/netfilter/xt_comment.h + HDRINST usr/include/linux/netfilter/nfnetlink_queue.h + HDRINST usr/include/linux/netfilter/xt_helper.h + HDRINST usr/include/linux/netfilter/xt_AUDIT.h + HDRINST usr/include/linux/netfilter/xt_CLASSIFY.h + HDRINST usr/include/linux/netfilter/xt_dscp.h + HDRINST usr/include/linux/netfilter/nfnetlink_compat.h + HDRINST usr/include/linux/netfilter/nf_synproxy.h + HDRINST usr/include/linux/netfilter/xt_hashlimit.h + HDRINST usr/include/linux/netfilter/xt_devgroup.h + HDRINST usr/include/linux/netfilter/xt_quota.h + HDRINST usr/include/linux/netfilter/nf_conntrack_ftp.h + HDRINST usr/include/linux/netfilter/xt_pkttype.h + HDRINST usr/include/linux/netfilter/xt_cpu.h + HDRINST usr/include/linux/netfilter/xt_connmark.h + HDRINST usr/include/linux/netfilter/xt_owner.h + HDRINST usr/include/linux/netfilter/xt_policy.h + HDRINST usr/include/linux/netfilter/xt_recent.h + HDRINST usr/include/linux/netfilter/xt_LED.h + HDRINST usr/include/linux/netfilter/xt_esp.h + HDRINST usr/include/linux/netfilter/xt_cgroup.h + HDRINST usr/include/linux/netfilter/xt_TPROXY.h + HDRINST usr/include/linux/netfilter/xt_bpf.h + HDRINST usr/include/linux/netfilter/xt_tcpudp.h + HDRINST usr/include/linux/netfilter/xt_mark.h + HDRINST usr/include/linux/netfilter/xt_conntrack.h + HDRINST usr/include/linux/netfilter/xt_iprange.h + HDRINST usr/include/linux/netfilter/nfnetlink_conntrack.h + HDRINST usr/include/linux/netfilter/xt_limit.h + HDRINST usr/include/linux/netfilter/xt_CONNMARK.h + HDRINST usr/include/linux/netfilter/xt_sctp.h + HDRINST usr/include/linux/netfilter/nfnetlink_cttimeout.h + HDRINST usr/include/linux/netfilter/xt_CHECKSUM.h + HDRINST usr/include/linux/netfilter/nf_conntrack_tuple_common.h + HDRINST usr/include/linux/netfilter/xt_DSCP.h + HDRINST usr/include/linux/netfilter/xt_cluster.h + HDRINST usr/include/linux/netfilter/xt_osf.h + HDRINST usr/include/linux/netfilter/nfnetlink_hook.h + HDRINST usr/include/linux/netfilter/xt_mac.h + HDRINST usr/include/linux/netfilter/xt_LOG.h + HDRINST usr/include/linux/netfilter/xt_u32.h + HDRINST usr/include/linux/netfilter/nf_conntrack_sctp.h + HDRINST usr/include/linux/netfilter/xt_rpfilter.h + HDRINST usr/include/linux/netfilter/ipset/ip_set_hash.h + HDRINST usr/include/linux/netfilter/ipset/ip_set.h + HDRINST usr/include/linux/netfilter/ipset/ip_set_bitmap.h + HDRINST usr/include/linux/netfilter/ipset/ip_set_list.h + HDRINST usr/include/linux/netfilter/xt_physdev.h + HDRINST usr/include/linux/netfilter/xt_socket.h + HDRINST usr/include/linux/netfilter/xt_MARK.h + HDRINST usr/include/linux/netfilter/xt_connlabel.h + HDRINST usr/include/linux/netfilter/xt_l2tp.h + HDRINST usr/include/linux/netfilter/xt_multiport.h + HDRINST usr/include/linux/netfilter/nfnetlink_log.h + HDRINST usr/include/linux/netfilter/xt_realm.h + HDRINST usr/include/linux/netfilter/xt_ipvs.h + HDRINST usr/include/linux/netfilter/xt_CONNSECMARK.h + HDRINST usr/include/linux/netfilter/xt_IDLETIMER.h + HDRINST usr/include/linux/netfilter/xt_NFQUEUE.h + HDRINST usr/include/linux/netfilter/xt_rateest.h + HDRINST usr/include/linux/netfilter/nfnetlink_acct.h + HDRINST usr/include/linux/netfilter/xt_tcpmss.h + HDRINST usr/include/linux/magic.h + HDRINST usr/include/linux/ethtool.h + HDRINST usr/include/linux/atmlec.h + HDRINST usr/include/linux/bits.h + HDRINST usr/include/linux/posix_acl.h + HDRINST usr/include/linux/papr_pdsm.h + HDRINST usr/include/linux/pfrut.h + HDRINST usr/include/linux/pr.h + HDRINST usr/include/linux/if.h + HDRINST usr/include/linux/reboot.h + HDRINST usr/include/linux/auto_fs4.h + HDRINST usr/include/linux/nbd.h + HDRINST usr/include/linux/icmpv6.h + HDRINST usr/include/linux/kfd_sysfs.h + HDRINST usr/include/linux/map_to_7segment.h + HDRINST usr/include/linux/virtio_types.h + HDRINST usr/include/linux/if_plip.h + HDRINST usr/include/linux/seg6_genl.h + HDRINST usr/include/linux/tipc.h + HDRINST usr/include/linux/atmsap.h + HDRINST usr/include/linux/firewire-cdev.h + HDRINST usr/include/linux/llc.h + HDRINST usr/include/linux/nfs3.h + HDRINST usr/include/linux/ppp-comp.h + HDRINST usr/include/linux/landlock.h + HDRINST usr/include/linux/raid/md_u.h + HDRINST usr/include/linux/raid/md_p.h + HDRINST usr/include/linux/ivtv.h + HDRINST usr/include/linux/ioprio.h + HDRINST usr/include/linux/veth.h + HDRINST usr/include/linux/kd.h + HDRINST usr/include/linux/ipmi_ssif_bmc.h + HDRINST usr/include/linux/netlink.h + HDRINST usr/include/linux/arcfb.h + HDRINST usr/include/linux/ioam6_iptunnel.h + HDRINST usr/include/linux/in.h + HDRINST usr/include/linux/errqueue.h + HDRINST usr/include/linux/smc_diag.h + HDRINST usr/include/linux/inet_diag.h + HDRINST usr/include/linux/nfs4_mount.h + HDRINST usr/include/linux/if_packet.h + HDRINST usr/include/linux/udp.h + HDRINST usr/include/linux/tcp_metrics.h + HDRINST usr/include/linux/pfkeyv2.h + HDRINST usr/include/linux/ioctl.h + HDRINST usr/include/linux/chio.h + HDRINST usr/include/linux/rpl.h + HDRINST usr/include/linux/wait.h + HDRINST usr/include/linux/minix_fs.h + HDRINST usr/include/linux/libc-compat.h + HDRINST usr/include/linux/virtio_pci.h + HDRINST usr/include/linux/dlm_device.h + HDRINST usr/include/linux/dm-log-userspace.h + HDRINST usr/include/linux/atm.h + HDRINST usr/include/linux/cifs/cifs_mount.h + HDRINST usr/include/linux/cifs/cifs_netlink.h + HDRINST usr/include/linux/npcm-video.h + HDRINST usr/include/linux/byteorder/big_endian.h + HDRINST usr/include/linux/byteorder/little_endian.h + HDRINST usr/include/linux/dns_resolver.h + HDRINST usr/include/linux/vfio.h + HDRINST usr/include/linux/auto_fs.h + HDRINST usr/include/linux/kernel-page-flags.h + HDRINST usr/include/linux/if_tunnel.h + HDRINST usr/include/linux/if_eql.h + HDRINST usr/include/linux/i2o-dev.h + HDRINST usr/include/linux/efs_fs_sb.h + HDRINST usr/include/linux/tty.h + HDRINST usr/include/linux/vtpm_proxy.h + HDRINST usr/include/linux/swab.h + HDRINST usr/include/linux/btrfs.h + HDRINST usr/include/linux/btrfs_tree.h + HDRINST usr/include/linux/ipv6_route.h + HDRINST usr/include/linux/netfilter_ipv6.h + HDRINST usr/include/linux/rpmsg.h + HDRINST usr/include/linux/matroxfb.h + HDRINST usr/include/linux/omapfb.h + HDRINST usr/include/linux/atmclip.h + HDRINST usr/include/linux/vhost.h + HDRINST usr/include/linux/ip.h + HDRINST usr/include/linux/xdp_diag.h + HDRINST usr/include/linux/adb.h + HDRINST usr/include/linux/if_fddi.h + HDRINST usr/include/linux/virtio_mmio.h + HDRINST usr/include/linux/stm.h + HDRINST usr/include/linux/userio.h + HDRINST usr/include/linux/vm_sockets.h + HDRINST usr/include/linux/memfd.h + HDRINST usr/include/linux/nfsacl.h + HDRINST usr/include/linux/gsmmux.h + HDRINST usr/include/linux/nsfs.h + HDRINST usr/include/linux/vesa.h + HDRINST usr/include/linux/omap3isp.h + HDRINST usr/include/linux/irqnr.h + HDRINST usr/include/linux/serial_core.h + HDRINST usr/include/linux/netrom.h + HDRINST usr/include/linux/atmarp.h + HDRINST usr/include/linux/cciss_defs.h + HDRINST usr/include/linux/msdos_fs.h + HDRINST usr/include/linux/un.h + HDRINST usr/include/linux/if_vlan.h + HDRINST usr/include/linux/if_bridge.h + HDRINST usr/include/linux/rtc.h + HDRINST usr/include/linux/xattr.h + HDRINST usr/include/linux/serio.h + HDRINST usr/include/linux/misc/bcm_vk.h + HDRINST usr/include/linux/netfilter_ipv4/ip_tables.h + HDRINST usr/include/linux/netfilter_ipv4/ipt_LOG.h + HDRINST usr/include/linux/netfilter_ipv4/ipt_REJECT.h + HDRINST usr/include/linux/netfilter_ipv4/ipt_CLUSTERIP.h + HDRINST usr/include/linux/netfilter_ipv4/ipt_ecn.h + HDRINST usr/include/linux/netfilter_ipv4/ipt_ah.h + HDRINST usr/include/linux/netfilter_ipv4/ipt_ECN.h + HDRINST usr/include/linux/netfilter_ipv4/ipt_ttl.h + HDRINST usr/include/linux/netfilter_ipv4/ipt_TTL.h + HDRINST usr/include/linux/capability.h + HDRINST usr/include/linux/seg6_hmac.h + HDRINST usr/include/linux/max2175.h + HDRINST usr/include/linux/i2c-dev.h + HDRINST usr/include/linux/elf-em.h + HDRINST usr/include/linux/fsmap.h + HDRINST usr/include/linux/loop.h + HDRINST usr/include/linux/ppp_defs.h + HDRINST usr/include/linux/atm_he.h + HDRINST usr/include/linux/ipc.h + HDRINST usr/include/linux/binfmts.h + HDRINST usr/include/linux/capi.h + HDRINST usr/include/linux/ptp_clock.h + HDRINST usr/include/linux/connector.h + HDRINST usr/include/linux/ultrasound.h + HDRINST usr/include/linux/cec.h + HDRINST usr/include/linux/atalk.h + HDRINST usr/include/linux/radeonfb.h + HDRINST usr/include/linux/ife.h + HDRINST usr/include/linux/mpls.h + HDRINST usr/include/linux/vbox_vmmdev_types.h + HDRINST usr/include/linux/ivtvfb.h + HDRINST usr/include/linux/v4l2-controls.h + HDRINST usr/include/linux/qnxtypes.h + HDRINST usr/include/linux/const.h + HDRINST usr/include/linux/genwqe/genwqe_card.h + HDRINST usr/include/linux/thp7312.h + HDRINST usr/include/linux/mtio.h + HDRINST usr/include/linux/coresight-stm.h + HDRINST usr/include/linux/tc_ematch/tc_em_text.h + HDRINST usr/include/linux/tc_ematch/tc_em_meta.h + HDRINST usr/include/linux/tc_ematch/tc_em_nbyte.h + HDRINST usr/include/linux/tc_ematch/tc_em_ipt.h + HDRINST usr/include/linux/tc_ematch/tc_em_cmp.h + HDRINST usr/include/linux/ioam6_genl.h + HDRINST usr/include/linux/mman.h + HDRINST usr/include/linux/igmp.h + HDRINST usr/include/linux/close_range.h + HDRINST usr/include/linux/pkt_sched.h + HDRINST usr/include/linux/resource.h + HDRINST usr/include/linux/rfkill.h + HDRINST usr/include/linux/kcov.h + HDRINST usr/include/linux/handshake.h + HDRINST usr/include/linux/limits.h + HDRINST usr/include/linux/if_fc.h + HDRINST usr/include/linux/hdlcdrv.h + HDRINST usr/include/linux/pwm.h + HDRINST usr/include/linux/sockios.h + HDRINST usr/include/linux/nbd-netlink.h + HDRINST usr/include/linux/bt-bmc.h + HDRINST usr/include/linux/cciss_ioctl.h + HDRINST usr/include/linux/virtio_spi.h + HDRINST usr/include/linux/lwtunnel.h + HDRINST usr/include/linux/atmmpc.h + HDRINST usr/include/linux/caif/if_caif.h + HDRINST usr/include/linux/caif/caif_socket.h + HDRINST usr/include/linux/gen_stats.h + HDRINST usr/include/linux/vdpa.h + HDRINST usr/include/linux/pci_regs.h + HDRINST usr/include/linux/serial_reg.h + HDRINST usr/include/linux/phonet.h + HDRINST usr/include/linux/hpet.h + HDRINST usr/include/linux/times.h + HDRINST usr/include/linux/media.h + HDRINST usr/include/linux/cec-funcs.h + HDRINST usr/include/linux/if_bonding.h + HDRINST usr/include/linux/ipv6.h + HDRINST usr/include/linux/fcntl.h + HDRINST usr/include/linux/hdlc.h + HDRINST usr/include/linux/virtio_rtc.h + HDRINST usr/include/linux/fsl_mc.h + HDRINST usr/include/linux/ppp-ioctl.h + HDRINST usr/include/linux/mmtimer.h + HDRINST usr/include/linux/agpgart.h + HDRINST usr/include/linux/soundcard.h + HDRINST usr/include/linux/sock_diag.h + HDRINST usr/include/linux/fd.h + HDRINST usr/include/linux/uinput.h + HDRINST usr/include/linux/cuda.h + HDRINST usr/include/linux/net_namespace.h + HDRINST usr/include/linux/tdx-guest.h + HDRINST usr/include/linux/kernelcapi.h + HDRINST usr/include/linux/ovpn.h + HDRINST usr/include/linux/mii.h + HDRINST usr/include/linux/hsr_netlink.h + HDRINST usr/include/linux/if_pppox.h + HDRINST usr/include/linux/cramfs_fs.h + HDRINST usr/include/linux/switchtec_ioctl.h + HDRINST usr/include/linux/firewire-constants.h + HDRINST usr/include/linux/dvb/net.h + HDRINST usr/include/linux/dvb/video.h + HDRINST usr/include/linux/dvb/dmx.h + HDRINST usr/include/linux/dvb/osd.h + HDRINST usr/include/linux/dvb/ca.h + HDRINST usr/include/linux/dvb/version.h + HDRINST usr/include/linux/dvb/frontend.h + HDRINST usr/include/linux/dvb/audio.h + HDRINST usr/include/linux/jffs2.h + HDRINST usr/include/linux/if_ether.h + HDRINST usr/include/linux/dlm_plock.h + HDRINST usr/include/linux/tipc_netlink.h + HDRINST usr/include/linux/psp-sfs.h + HDRINST usr/include/linux/socket.h + HDRINST usr/include/linux/mempolicy.h + HDRINST usr/include/linux/if_arp.h + HDRINST usr/include/linux/idxd.h + HDRINST usr/include/linux/hdlc/ioctl.h + HDRINST usr/include/linux/fb.h + HDRINST usr/include/linux/loadpin.h + HDRINST usr/include/linux/v4l2-mediabus.h + HDRINST usr/include/linux/utsname.h + HDRINST usr/include/linux/virtio_iommu.h + HDRINST usr/include/linux/scc.h + HDRINST usr/include/linux/rpl_iptunnel.h + HDRINST usr/include/linux/taskstats.h + HDRINST usr/include/linux/virtio_fs.h + HDRINST usr/include/linux/rds.h + HDRINST usr/include/linux/atmdev.h + HDRINST usr/include/linux/time.h + HDRINST usr/include/linux/fiemap.h + HDRINST usr/include/linux/falloc.h + HDRINST usr/include/linux/virtio_snd.h + HDRINST usr/include/linux/virtio_blk.h + HDRINST usr/include/linux/fou.h + HDRINST usr/include/linux/hiddev.h + HDRINST usr/include/linux/nl80211.h + HDRINST usr/include/linux/scif_ioctl.h + HDRINST usr/include/linux/apm_bios.h + HDRINST usr/include/linux/netfilter_arp/arpt_mangle.h + HDRINST usr/include/linux/netfilter_arp/arp_tables.h + HDRINST usr/include/linux/phantom.h + HDRINST usr/include/linux/can.h + HDRINST usr/include/linux/dma-buf.h + HDRINST usr/include/linux/kdev_t.h + HDRINST usr/include/linux/hsi/hsi_char.h + HDRINST usr/include/linux/hsi/cs-protocol.h + HDRINST usr/include/linux/nubus.h + HDRINST usr/include/linux/if_ppp.h + HDRINST usr/include/linux/types.h + HDRINST usr/include/linux/virtio_ring.h + HDRINST usr/include/linux/cn_proc.h + HDRINST usr/include/linux/ethtool_netlink.h + HDRINST usr/include/linux/wmi.h + HDRINST usr/include/linux/ip6_tunnel.h + HDRINST usr/include/linux/psp-sev.h + HDRINST usr/include/linux/bpf.h + HDRINST usr/include/linux/psci.h + HDRINST usr/include/linux/gpio.h + HDRINST usr/include/linux/snmp.h + HDRINST usr/include/linux/bpf_perf_event.h + HDRINST usr/include/linux/hid.h + HDRINST usr/include/linux/fib_rules.h + HDRINST usr/include/linux/cryptouser.h + HDRINST usr/include/linux/cgroupstats.h + HDRINST usr/include/linux/pps.h + HDRINST usr/include/linux/target_core_user.h + HDRINST usr/include/linux/time_types.h + HDRINST usr/include/linux/selinux_netlink.h + HDRINST usr/include/linux/seg6_local.h + HDRINST usr/include/linux/nfs4.h + HDRINST usr/include/linux/ip_vs.h + HDRINST usr/include/linux/aspeed-p2a-ctrl.h + HDRINST usr/include/linux/nl80211-vnd-intel.h + HDRINST usr/include/linux/user_events.h + HDRINST usr/include/linux/seccomp.h + HDRINST usr/include/linux/atm_eni.h + HDRINST usr/include/linux/virtio_i2c.h + HDRINST usr/include/linux/dpll.h + HDRINST usr/include/linux/v4l2-common.h + HDRINST usr/include/linux/blk-crypto.h + HDRINST usr/include/linux/virtio_gpu.h + HDRINST usr/include/linux/f2fs.h + HDRINST usr/include/linux/virtio_console.h + HDRINST usr/include/linux/filter.h + HDRINST usr/include/linux/nfs.h + HDRINST usr/include/linux/mdio.h + HDRINST usr/include/linux/sonet.h + HDRINST usr/include/linux/nfs_idmap.h + HDRINST usr/include/linux/ublk_cmd.h + HDRINST usr/include/linux/pktcdvd.h + HDRINST usr/include/linux/suspend_ioctls.h + HDRINST usr/include/linux/quota.h + HDRINST usr/include/linux/sunrpc/debug.h + HDRINST usr/include/linux/io_uring.h + HDRINST usr/include/linux/userfaultfd.h + HDRINST usr/include/linux/rose.h + HDRINST usr/include/linux/comedi.h + HDRINST usr/include/linux/if_pppol2tp.h + HDRINST usr/include/linux/nfc.h + HDRINST usr/include/linux/msg.h + HDRINST usr/include/linux/smc.h + HDRINST usr/include/linux/tipc_config.h + HDRINST usr/include/linux/if_xdp.h + HDRINST usr/include/linux/poll.h + HDRINST usr/include/linux/blktrace_api.h + HDRINST usr/include/linux/input-event-codes.h + HDRINST usr/include/linux/virtio_input.h + HDRINST usr/include/linux/dma-heap.h + HDRINST usr/include/linux/romfs_fs.h + HDRINST usr/include/linux/sysinfo.h + HDRINST usr/include/linux/eventfd.h + HDRINST usr/include/linux/acct.h + HDRINST usr/include/linux/parport.h + HDRINST usr/include/linux/tc_act/tc_defact.h + HDRINST usr/include/linux/tc_act/tc_bpf.h + HDRINST usr/include/linux/tc_act/tc_csum.h + HDRINST usr/include/linux/tc_act/tc_skbmod.h + HDRINST usr/include/linux/tc_act/tc_connmark.h + HDRINST usr/include/linux/tc_act/tc_ctinfo.h + HDRINST usr/include/linux/tc_act/tc_skbedit.h + HDRINST usr/include/linux/tc_act/tc_nat.h + HDRINST usr/include/linux/tc_act/tc_vlan.h + HDRINST usr/include/linux/tc_act/tc_pedit.h + HDRINST usr/include/linux/tc_act/tc_ife.h + HDRINST usr/include/linux/tc_act/tc_gate.h + HDRINST usr/include/linux/tc_act/tc_ct.h + HDRINST usr/include/linux/tc_act/tc_mirred.h + HDRINST usr/include/linux/tc_act/tc_gact.h + HDRINST usr/include/linux/tc_act/tc_sample.h + HDRINST usr/include/linux/tc_act/tc_tunnel_key.h + HDRINST usr/include/linux/tc_act/tc_mpls.h + HDRINST usr/include/linux/aspeed-video.h + HDRINST usr/include/linux/atm_tcp.h + HDRINST usr/include/linux/wireguard.h + HDRINST usr/include/linux/dw100.h + HDRINST usr/include/linux/dqblk_xfs.h + HDRINST usr/include/linux/aspeed-lpc-ctrl.h + HDRINST usr/include/linux/can/j1939.h + HDRINST usr/include/linux/can/bcm.h + HDRINST usr/include/linux/can/netlink.h + HDRINST usr/include/linux/can/gw.h + HDRINST usr/include/linux/can/raw.h + HDRINST usr/include/linux/can/vxcan.h + HDRINST usr/include/linux/can/isotp.h + HDRINST usr/include/linux/can/error.h + HDRINST usr/include/linux/sed-opal.h + HDRINST usr/include/linux/affs_hardblocks.h + HDRINST usr/include/linux/atmioc.h + HDRINST usr/include/linux/vfio_zdev.h + HDRINST usr/include/linux/rio_cm_cdev.h + HDRINST usr/include/linux/kexec.h + HDRINST usr/include/linux/timerfd.h + HDRINST usr/include/linux/random.h + HDRINST usr/include/linux/uleds.h + HDRINST usr/include/linux/vhost_types.h + HDRINST usr/include/linux/futex.h + HDRINST usr/include/linux/unix_diag.h + HDRINST usr/include/linux/ptrace.h + HDRINST usr/include/linux/psp.h + HDRINST usr/include/linux/virtio_ids.h + HDRINST usr/include/linux/virtio_vsock.h + HDRINST usr/include/linux/signal.h + HDRINST usr/include/linux/watchdog.h + HDRINST usr/include/linux/zorro_ids.h + HDRINST usr/include/linux/prctl.h + HDRINST usr/include/linux/ipmi_bmc.h + HDRINST usr/include/linux/if_ltalk.h + HDRINST usr/include/linux/tee.h + HDRINST usr/include/linux/icmp.h + HDRINST usr/include/linux/pkt_cls.h + HDRINST usr/include/linux/uio.h + HDRINST usr/include/linux/ethtool_netlink_generated.h + HDRINST usr/include/linux/l2tp.h + HDRINST usr/include/linux/dlmconstants.h + HDRINST usr/include/linux/atmbr2684.h + HDRINST usr/include/linux/fpga-dfl.h + HDRINST usr/include/linux/psp-dbc.h + HDRINST usr/include/linux/fsl_hypervisor.h + HDRINST usr/include/linux/if_addr.h + HDRINST usr/include/linux/nvram.h + HDRINST usr/include/linux/mroute.h + HDRINST usr/include/linux/kcm.h + HDRINST usr/include/linux/media/raspberrypi/pisp_fe_config.h + HDRINST usr/include/linux/media/raspberrypi/pisp_fe_statistics.h + HDRINST usr/include/linux/media/raspberrypi/pisp_common.h + HDRINST usr/include/linux/media/raspberrypi/pisp_be_config.h + HDRINST usr/include/linux/media/amlogic/c3-isp-config.h + HDRINST usr/include/linux/if_slip.h + HDRINST usr/include/linux/timex.h + HDRINST usr/include/linux/virtio_crypto.h + HDRINST usr/include/linux/xfrm.h + HDRINST usr/include/linux/rkisp1-config.h + HDRINST usr/include/linux/mqueue.h + HDRINST usr/include/linux/atm_idt77105.h + HDRINST usr/include/linux/posix_acl_xattr.h + HDRINST usr/include/linux/tls.h + HDRINST usr/include/linux/screen_info.h + HDRINST usr/include/linux/atmapi.h + HDRINST usr/include/linux/bpf_common.h + HDRINST usr/include/linux/ioam6.h + HDRINST usr/include/linux/virtio_balloon.h + HDRINST usr/include/linux/netfilter_ipv6/ip6t_srh.h + HDRINST usr/include/linux/netfilter_ipv6/ip6t_REJECT.h + HDRINST usr/include/linux/netfilter_ipv6/ip6t_frag.h + HDRINST usr/include/linux/netfilter_ipv6/ip6t_NPT.h + HDRINST usr/include/linux/netfilter_ipv6/ip6t_mh.h + HDRINST usr/include/linux/netfilter_ipv6/ip6t_rt.h + HDRINST usr/include/linux/netfilter_ipv6/ip6t_ipv6header.h + HDRINST usr/include/linux/netfilter_ipv6/ip6t_hl.h + HDRINST usr/include/linux/netfilter_ipv6/ip6t_LOG.h + HDRINST usr/include/linux/netfilter_ipv6/ip6_tables.h + HDRINST usr/include/linux/netfilter_ipv6/ip6t_opts.h + HDRINST usr/include/linux/netfilter_ipv6/ip6t_HL.h + HDRINST usr/include/linux/netfilter_ipv6/ip6t_ah.h + HDRINST usr/include/linux/seg6_iptunnel.h + HDRINST usr/include/linux/virtio_scsi.h + HDRINST usr/include/linux/fdreg.h + HDRINST usr/include/linux/dlm.h + HDRINST usr/include/linux/pps_gen.h + HDRINST usr/include/linux/mshv.h + HDRINST usr/include/linux/seg6.h + HDRINST usr/include/linux/tcp.h + HDRINST usr/include/linux/bpqether.h + HDRINST usr/include/linux/if_addrlabel.h + HDRINST usr/include/linux/sysctl.h + HDRINST usr/include/linux/stddef.h + HDRINST usr/include/linux/batadv_packet.h + HDRINST usr/include/linux/perf_event.h + HDRINST usr/include/linux/if_team.h + HDRINST usr/include/linux/tps6594_pfsm.h + HDRINST usr/include/linux/fadvise.h + HDRINST usr/include/linux/xilinx-v4l2-controls.h + HDRINST usr/include/linux/ccs.h + HDRINST usr/include/linux/netfilter_bridge.h + HDRINST usr/include/linux/pidfd.h + HDRINST usr/include/linux/virtio_scmi.h + HDRINST usr/include/linux/virtio_mem.h + HDRINST usr/include/linux/mei_uuid.h + HDRINST usr/include/linux/hidraw.h + HDRINST usr/include/linux/nfsd_netlink.h + HDRINST usr/include/linux/eventpoll.h + HDRINST usr/include/linux/fuse.h + HDRINST usr/include/linux/iommufd.h + HDRINST usr/include/linux/usbip.h + HDRINST usr/include/linux/ipmi.h + HDRINST usr/include/linux/route.h + HDRINST usr/include/linux/unistd.h + HDRINST usr/include/linux/virtio_gpio.h + HDRINST usr/include/linux/nfsd/debug.h + HDRINST usr/include/linux/nfsd/cld.h + HDRINST usr/include/linux/nfsd/export.h + HDRINST usr/include/linux/nfsd/stats.h + HDRINST usr/include/linux/mptcp_pm.h + HDRINST usr/include/linux/edd.h + HDRINST usr/include/linux/coda.h + HDRINST usr/include/linux/iio/events.h + HDRINST usr/include/linux/iio/types.h + HDRINST usr/include/linux/iio/buffer.h + HDRINST usr/include/linux/rtnetlink.h + HDRINST usr/include/linux/sonypi.h + HDRINST usr/include/linux/baycom.h + HDRINST usr/include/linux/ppdev.h + HDRINST usr/include/linux/nitro_enclaves.h + HDRINST usr/include/linux/virtio_rng.h + HDRINST usr/include/linux/gtp.h + HDRINST usr/include/linux/vmcore.h + HDRINST usr/include/linux/adfs_fs.h + HDRINST usr/include/linux/map_to_14segment.h + HDRINST usr/include/linux/gameport.h + HDRINST usr/include/linux/blkdev.h + HDRINST usr/include/linux/shm.h + HDRINST usr/include/linux/bcm933xx_hcs.h + HDRINST usr/include/linux/if_arcnet.h + HDRINST usr/include/linux/if_macsec.h + HDRINST usr/include/linux/spi/spidev.h + HDRINST usr/include/linux/spi/spi.h + HDRINST usr/include/linux/um_timetravel.h + HDRINST usr/include/linux/videodev2.h + HDRINST usr/include/linux/keyboard.h + HDRINST usr/include/linux/lsm.h + HDRINST usr/include/linux/qnx4_fs.h + HDRINST usr/include/linux/cdrom.h + HDRINST usr/include/linux/kcmp.h + HDRINST usr/include/linux/virtio_config.h + HDRINST usr/include/linux/packet_diag.h + HDRINST usr/include/linux/openat2.h + HDRINST usr/include/linux/media-bus-format.h + HDRINST usr/include/linux/uuid.h + HDRINST usr/include/linux/rxrpc.h + HDRINST usr/include/linux/rseq.h + HDRINST usr/include/linux/dccp.h + HDRINST usr/include/linux/usbdevice_fs.h + HDRINST usr/include/linux/toshiba.h + HDRINST usr/include/linux/coredump.h + HDRINST usr/include/linux/net_dropmon.h + HDRINST usr/include/linux/lirc.h + HDRINST usr/include/linux/cxl_mem.h + HDRINST usr/include/linux/sem.h + HDRINST usr/include/linux/isdn/capicmd.h + HDRINST usr/include/linux/ext4.h + HDRINST usr/include/linux/major.h + HDRINST usr/include/linux/exfat.h + HDRINST usr/include/linux/ila.h + HDRINST usr/include/linux/cyclades.h + HDRINST usr/include/linux/posix_types.h + HDRINST usr/include/linux/synclink.h + HDRINST usr/include/linux/vboxguest.h + HDRINST usr/include/linux/sev-guest.h + HDRINST usr/include/linux/virtio_9p.h + HDRINST usr/include/linux/cycx_cfm.h + HDRINST usr/include/linux/qrtr.h + HDRINST usr/include/linux/ntsync.h + HDRINST usr/include/linux/io_uring/query.h + HDRINST usr/include/linux/io_uring/mock_file.h + HDRINST usr/include/linux/serial.h + HDRINST usr/include/linux/if_infiniband.h + HDRINST usr/include/linux/mei.h + HDRINST usr/include/linux/mroute6.h + HDRINST usr/include/linux/fanotify.h + HDRINST usr/include/linux/sched/types.h + HDRINST usr/include/linux/nilfs2_api.h + HDRINST usr/include/linux/fsverity.h + HDRINST usr/include/linux/wwan.h + HDRINST usr/include/misc/amd-apml.h + HDRINST usr/include/misc/xilinx_sdfec.h + HDRINST usr/include/misc/pvpanic.h + HDRINST usr/include/misc/uacce/uacce.h + HDRINST usr/include/misc/uacce/hisi_qm.h + HDRINST usr/include/misc/ocxl.h + HDRINST usr/include/misc/fastrpc.h + HDRINST usr/include/misc/mrvl_cn10k_dpi.h + HDRINST usr/include/mtd/mtd-user.h + HDRINST usr/include/mtd/mtd-abi.h + HDRINST usr/include/mtd/inftl-user.h + HDRINST usr/include/mtd/nftl-user.h + HDRINST usr/include/mtd/ubi-user.h + HDRINST usr/include/rdma/rdma_user_rxe.h + HDRINST usr/include/rdma/ib_user_ioctl_verbs.h + HDRINST usr/include/rdma/irdma-abi.h + HDRINST usr/include/rdma/efa-abi.h + HDRINST usr/include/rdma/cxgb4-abi.h + HDRINST usr/include/rdma/ib_user_verbs.h + HDRINST usr/include/rdma/mlx4-abi.h + HDRINST usr/include/rdma/ib_user_sa.h + HDRINST usr/include/rdma/mana-abi.h + HDRINST usr/include/rdma/bnxt_re-abi.h + HDRINST usr/include/rdma/rdma_netlink.h + HDRINST usr/include/rdma/rdma_user_ioctl.h + HDRINST usr/include/rdma/rdma_user_cm.h + HDRINST usr/include/rdma/rvt-abi.h + HDRINST usr/include/rdma/ib_user_mad.h + HDRINST usr/include/rdma/hns-abi.h + HDRINST usr/include/rdma/hfi/hfi1_ioctl.h + HDRINST usr/include/rdma/hfi/hfi1_user.h + HDRINST usr/include/rdma/mlx5-abi.h + HDRINST usr/include/rdma/rdma_user_ioctl_cmds.h + HDRINST usr/include/rdma/mlx5_user_ioctl_cmds.h + HDRINST usr/include/rdma/mthca-abi.h + HDRINST usr/include/rdma/siw-abi.h + HDRINST usr/include/rdma/ib_user_ioctl_cmds.h + HDRINST usr/include/rdma/mlx5_user_ioctl_verbs.h + HDRINST usr/include/rdma/ionic-abi.h + HDRINST usr/include/rdma/qedr-abi.h + HDRINST usr/include/rdma/ocrdma-abi.h + HDRINST usr/include/rdma/erdma-abi.h + HDRINST usr/include/rdma/vmw_pvrdma-abi.h + HDRINST usr/include/regulator/regulator.h + HDRINST usr/include/scsi/scsi_bsg_fc.h + HDRINST usr/include/scsi/scsi_bsg_ufs.h + HDRINST usr/include/scsi/scsi_netlink_fc.h + HDRINST usr/include/scsi/fc/fc_ns.h + HDRINST usr/include/scsi/fc/fc_fs.h + HDRINST usr/include/scsi/fc/fc_gs.h + HDRINST usr/include/scsi/fc/fc_els.h + HDRINST usr/include/scsi/scsi_bsg_mpi3mr.h + HDRINST usr/include/scsi/scsi_netlink.h + HDRINST usr/include/sound/sof/header.h + HDRINST usr/include/sound/sof/tokens.h + HDRINST usr/include/sound/sof/abi.h + HDRINST usr/include/sound/sof/fw.h + HDRINST usr/include/sound/skl-tplg-interface.h + HDRINST usr/include/sound/firewire.h + HDRINST usr/include/sound/hdsp.h + HDRINST usr/include/sound/scarlett2.h + HDRINST usr/include/sound/hdspm.h + HDRINST usr/include/sound/sb16_csp.h + HDRINST usr/include/sound/sfnt_info.h + HDRINST usr/include/sound/tlv.h + HDRINST usr/include/sound/usb_stream.h + HDRINST usr/include/sound/intel/avs/tokens.h + HDRINST usr/include/sound/emu10k1.h + HDRINST usr/include/sound/compress_offload.h + HDRINST usr/include/sound/asound_fm.h + HDRINST usr/include/sound/fcp.h + HDRINST usr/include/sound/snd_sst_tokens.h + HDRINST usr/include/sound/compress_params.h + HDRINST usr/include/sound/snd_ar_tokens.h + HDRINST usr/include/sound/asequencer.h + HDRINST usr/include/sound/asoc.h + HDRINST usr/include/sound/asound.h + HDRINST usr/include/video/uvesafb.h + HDRINST usr/include/video/sisfb.h + HDRINST usr/include/video/edid.h + HDRINST usr/include/xen/gntdev.h + HDRINST usr/include/xen/gntalloc.h + HDRINST usr/include/xen/privcmd.h + HDRINST usr/include/xen/evtchn.h + HDRINST usr/include/linux/version.h + HDRINST usr/include/asm/perf_regs.h + HDRINST usr/include/asm/hwcap.h + HDRINST usr/include/asm/ioctls.h + HDRINST usr/include/asm/stat.h + HDRINST usr/include/asm/auxvec.h + HDRINST usr/include/asm/sigcontext.h + HDRINST usr/include/asm/statfs.h + HDRINST usr/include/asm/swab.h + HDRINST usr/include/asm/mman.h + HDRINST usr/include/asm/fcntl.h + HDRINST usr/include/asm/types.h + HDRINST usr/include/asm/byteorder.h + HDRINST usr/include/asm/ptrace.h + HDRINST usr/include/asm/signal.h + HDRINST usr/include/asm/setup.h + HDRINST usr/include/asm/unistd.h + HDRINST usr/include/asm/posix_types.h + HDRINST usr/include/asm/termios.h + HDRINST usr/include/asm/param.h + HDRINST usr/include/asm/termbits.h + HDRINST usr/include/asm/kvm_para.h + HDRINST usr/include/asm/errno.h + HDRINST usr/include/asm/unistd-oabi.h + HDRINST usr/include/asm/ioctl.h + HDRINST usr/include/asm/unistd-eabi.h + HDRINST usr/include/asm/msgbuf.h + HDRINST usr/include/asm/shmbuf.h + HDRINST usr/include/asm/sembuf.h + HDRINST usr/include/asm/resource.h + HDRINST usr/include/asm/sockios.h + HDRINST usr/include/asm/socket.h + HDRINST usr/include/asm/bpf_perf_event.h + HDRINST usr/include/asm/poll.h + HDRINST usr/include/asm/ipcbuf.h + HDRINST usr/include/asm/bitsperlong.h + HDRINST usr/include/asm/siginfo.h + INSTALL /tmp/nix-shell-1880-0/linux-raw-syss8PRv0/linux-headers/include + HDRINST usr/include/linux/kvm.h + HDRINST usr/include/asm/perf_regs.h + HDRINST usr/include/asm/param.h + HDRINST usr/include/asm/hwcap.h + HDRINST usr/include/asm/auxvec.h + HDRINST usr/include/asm/sigcontext.h + HDRINST usr/include/asm/statfs.h + HDRINST usr/include/asm/mman.h + HDRINST usr/include/asm/fcntl.h + HDRINST usr/include/asm/ucontext.h + HDRINST usr/include/asm/kvm.h + HDRINST usr/include/asm/byteorder.h + HDRINST usr/include/asm/bpf_perf_event.h + HDRINST usr/include/asm/sve_context.h + HDRINST usr/include/asm/ptrace.h + HDRINST usr/include/asm/signal.h + HDRINST usr/include/asm/bitsperlong.h + HDRINST usr/include/asm/setup.h + HDRINST usr/include/asm/unistd.h + HDRINST usr/include/asm/posix_types.h + HDRINST usr/include/asm/termios.h + HDRINST usr/include/asm/termbits.h + HDRINST usr/include/asm/ioctls.h + HDRINST usr/include/asm/stat.h + HDRINST usr/include/asm/kvm_para.h + HDRINST usr/include/asm/errno.h + HDRINST usr/include/asm/ioctl.h + HDRINST usr/include/asm/swab.h + HDRINST usr/include/asm/msgbuf.h + HDRINST usr/include/asm/shmbuf.h + HDRINST usr/include/asm/sembuf.h + HDRINST usr/include/asm/resource.h + HDRINST usr/include/asm/sockios.h + HDRINST usr/include/asm/unistd_64.h + HDRINST usr/include/asm/socket.h + HDRINST usr/include/asm/types.h + HDRINST usr/include/asm/poll.h + HDRINST usr/include/asm/ipcbuf.h + HDRINST usr/include/asm/siginfo.h + REMOVE usr/include/asm/unistd-oabi.h usr/include/asm/unistd-eabi.h + INSTALL /tmp/nix-shell-1880-0/linux-raw-syss8PRv0/linux-headers/include + REMOVE usr/include/linux/kvm_para.h usr/include/linux/kvm.h + HDRINST usr/include/asm/cachectl.h + HDRINST usr/include/asm/perf_regs.h + HDRINST usr/include/asm/sigcontext.h + HDRINST usr/include/asm/byteorder.h + HDRINST usr/include/asm/ptrace.h + HDRINST usr/include/asm/unistd.h + HDRINST usr/include/asm/termios.h + HDRINST usr/include/asm/param.h + HDRINST usr/include/asm/termbits.h + HDRINST usr/include/asm/ioctls.h + HDRINST usr/include/asm/stat.h + HDRINST usr/include/asm/errno.h + HDRINST usr/include/asm/auxvec.h + HDRINST usr/include/asm/unistd_32.h + HDRINST usr/include/asm/ioctl.h + HDRINST usr/include/asm/statfs.h + HDRINST usr/include/asm/swab.h + HDRINST usr/include/asm/msgbuf.h + HDRINST usr/include/asm/shmbuf.h + HDRINST usr/include/asm/sembuf.h + HDRINST usr/include/asm/mman.h + HDRINST usr/include/asm/resource.h + HDRINST usr/include/asm/sockios.h + HDRINST usr/include/asm/fcntl.h + HDRINST usr/include/asm/ucontext.h + HDRINST usr/include/asm/socket.h + HDRINST usr/include/asm/types.h + HDRINST usr/include/asm/bpf_perf_event.h + HDRINST usr/include/asm/poll.h + HDRINST usr/include/asm/signal.h + HDRINST usr/include/asm/ipcbuf.h + HDRINST usr/include/asm/bitsperlong.h + HDRINST usr/include/asm/setup.h + HDRINST usr/include/asm/siginfo.h + HDRINST usr/include/asm/posix_types.h + REMOVE usr/include/asm/hwcap.h usr/include/asm/kvm_para.h usr/include/asm/unistd_64.h usr/include/asm/kvm.h usr/include/asm/sve_context.h + INSTALL /tmp/nix-shell-1880-0/linux-raw-syss8PRv0/linux-headers/include + HDRINST usr/include/asm/param.h + HDRINST usr/include/asm/sigcontext.h + HDRINST usr/include/asm/swab.h + HDRINST usr/include/asm/user.h + HDRINST usr/include/asm/byteorder.h + HDRINST usr/include/asm/registers.h + HDRINST usr/include/asm/ptrace.h + HDRINST usr/include/asm/signal.h + HDRINST usr/include/asm/setup.h + HDRINST usr/include/asm/unistd.h + HDRINST usr/include/asm/termios.h + HDRINST usr/include/asm/termbits.h + HDRINST usr/include/asm/ioctls.h + HDRINST usr/include/asm/stat.h + HDRINST usr/include/asm/errno.h + HDRINST usr/include/asm/auxvec.h + HDRINST usr/include/asm/unistd_32.h + HDRINST usr/include/asm/ioctl.h + HDRINST usr/include/asm/statfs.h + HDRINST usr/include/asm/msgbuf.h + HDRINST usr/include/asm/shmbuf.h + HDRINST usr/include/asm/sembuf.h + HDRINST usr/include/asm/mman.h + HDRINST usr/include/asm/resource.h + HDRINST usr/include/asm/sockios.h + HDRINST usr/include/asm/fcntl.h + HDRINST usr/include/asm/ucontext.h + HDRINST usr/include/asm/socket.h + HDRINST usr/include/asm/types.h + HDRINST usr/include/asm/bpf_perf_event.h + HDRINST usr/include/asm/poll.h + HDRINST usr/include/asm/ipcbuf.h + HDRINST usr/include/asm/bitsperlong.h + HDRINST usr/include/asm/siginfo.h + HDRINST usr/include/asm/posix_types.h + REMOVE usr/include/asm/cachectl.h usr/include/asm/perf_regs.h + INSTALL /tmp/nix-shell-1880-0/linux-raw-syss8PRv0/linux-headers/include + HDRINST usr/include/linux/kvm_para.h + HDRINST usr/include/linux/kvm.h + HDRINST usr/include/asm/perf_regs.h + HDRINST usr/include/asm/reg.h + HDRINST usr/include/asm/hwcap.h + HDRINST usr/include/asm/kvm_para.h + HDRINST usr/include/asm/auxvec.h + HDRINST usr/include/asm/sigcontext.h + HDRINST usr/include/asm/ucontext.h + HDRINST usr/include/asm/kvm.h + HDRINST usr/include/asm/byteorder.h + HDRINST usr/include/asm/bpf_perf_event.h + HDRINST usr/include/asm/ptrace.h + HDRINST usr/include/asm/signal.h + HDRINST usr/include/asm/setup.h + HDRINST usr/include/asm/unistd.h + HDRINST usr/include/asm/break.h + HDRINST usr/include/asm/termios.h + HDRINST usr/include/asm/param.h + HDRINST usr/include/asm/termbits.h + HDRINST usr/include/asm/ioctls.h + HDRINST usr/include/asm/stat.h + HDRINST usr/include/asm/errno.h + HDRINST usr/include/asm/ioctl.h + HDRINST usr/include/asm/statfs.h + HDRINST usr/include/asm/swab.h + HDRINST usr/include/asm/msgbuf.h + HDRINST usr/include/asm/shmbuf.h + HDRINST usr/include/asm/sembuf.h + HDRINST usr/include/asm/mman.h + HDRINST usr/include/asm/resource.h + HDRINST usr/include/asm/sockios.h + HDRINST usr/include/asm/unistd_64.h + HDRINST usr/include/asm/fcntl.h + HDRINST usr/include/asm/socket.h + HDRINST usr/include/asm/types.h + HDRINST usr/include/asm/poll.h + HDRINST usr/include/asm/ipcbuf.h + HDRINST usr/include/asm/bitsperlong.h + HDRINST usr/include/asm/siginfo.h + HDRINST usr/include/asm/posix_types.h + REMOVE usr/include/asm/unistd_32.h usr/include/asm/user.h usr/include/asm/registers.h + INSTALL /tmp/nix-shell-1880-0/linux-raw-syss8PRv0/linux-headers/include + HDRINST usr/include/asm/cachectl.h + HDRINST usr/include/asm/termios.h + HDRINST usr/include/asm/perf_regs.h + HDRINST usr/include/asm/param.h + HDRINST usr/include/asm/reg.h + HDRINST usr/include/asm/termbits.h + HDRINST usr/include/asm/hwcap.h + HDRINST usr/include/asm/ioctls.h + HDRINST usr/include/asm/stat.h + HDRINST usr/include/asm/errno.h + HDRINST usr/include/asm/auxvec.h + HDRINST usr/include/asm/sgidefs.h + HDRINST usr/include/asm/ioctl.h + HDRINST usr/include/asm/sigcontext.h + HDRINST usr/include/asm/statfs.h + HDRINST usr/include/asm/swab.h + HDRINST usr/include/asm/msgbuf.h + HDRINST usr/include/asm/shmbuf.h + HDRINST usr/include/asm/sembuf.h + HDRINST usr/include/asm/mman.h + HDRINST usr/include/asm/resource.h + HDRINST usr/include/asm/sockios.h + HDRINST usr/include/asm/fcntl.h + HDRINST usr/include/asm/ucontext.h + HDRINST usr/include/asm/kvm.h + HDRINST usr/include/asm/sysmips.h + HDRINST usr/include/asm/socket.h + HDRINST usr/include/asm/types.h + HDRINST usr/include/asm/byteorder.h + HDRINST usr/include/asm/poll.h + HDRINST usr/include/asm/ptrace.h + HDRINST usr/include/asm/signal.h + HDRINST usr/include/asm/inst.h + HDRINST usr/include/asm/bitfield.h + HDRINST usr/include/asm/bitsperlong.h + HDRINST usr/include/asm/setup.h + HDRINST usr/include/asm/unistd.h + HDRINST usr/include/asm/siginfo.h + HDRINST usr/include/asm/break.h + HDRINST usr/include/asm/posix_types.h + HDRINST usr/include/asm/unistd_n64.h + HDRINST usr/include/asm/kvm_para.h + HDRINST usr/include/asm/unistd_o32.h + HDRINST usr/include/asm/bpf_perf_event.h + HDRINST usr/include/asm/unistd_n32.h + HDRINST usr/include/asm/ipcbuf.h + REMOVE usr/include/asm/unistd_64.h + INSTALL /tmp/nix-shell-1880-0/linux-raw-syss8PRv0/linux-headers/include + HDRINST usr/include/asm/termios.h + HDRINST usr/include/asm/perf_regs.h + HDRINST usr/include/asm/papr-vpd.h + HDRINST usr/include/asm/bootx.h + HDRINST usr/include/asm/termbits.h + HDRINST usr/include/asm/eeh.h + HDRINST usr/include/asm/ioctls.h + HDRINST usr/include/asm/stat.h + HDRINST usr/include/asm/kvm_para.h + HDRINST usr/include/asm/errno.h + HDRINST usr/include/asm/elf.h + HDRINST usr/include/asm/papr-hvpipe.h + HDRINST usr/include/asm/vas-api.h + HDRINST usr/include/asm/auxvec.h + HDRINST usr/include/asm/tm.h + HDRINST usr/include/asm/ioctl.h + HDRINST usr/include/asm/sigcontext.h + HDRINST usr/include/asm/swab.h + HDRINST usr/include/asm/papr-miscdev.h + HDRINST usr/include/asm/msgbuf.h + HDRINST usr/include/asm/shmbuf.h + HDRINST usr/include/asm/sembuf.h + HDRINST usr/include/asm/spu_info.h + HDRINST usr/include/asm/mman.h + HDRINST usr/include/asm/fcntl.h + HDRINST usr/include/asm/ucontext.h + HDRINST usr/include/asm/kvm.h + HDRINST usr/include/asm/socket.h + HDRINST usr/include/asm/papr-platform-dump.h + HDRINST usr/include/asm/types.h + HDRINST usr/include/asm/byteorder.h + HDRINST usr/include/asm/epapr_hcalls.h + HDRINST usr/include/asm/papr-sysparm.h + HDRINST usr/include/asm/ptrace.h + HDRINST usr/include/asm/signal.h + HDRINST usr/include/asm/ps3fb.h + HDRINST usr/include/asm/opal-prd.h + HDRINST usr/include/asm/nvram.h + HDRINST usr/include/asm/ipcbuf.h + HDRINST usr/include/asm/bitsperlong.h + HDRINST usr/include/asm/papr-physical-attestation.h + HDRINST usr/include/asm/perf_event.h + HDRINST usr/include/asm/setup.h + HDRINST usr/include/asm/cputable.h + HDRINST usr/include/asm/unistd.h + HDRINST usr/include/asm/papr-indices.h + HDRINST usr/include/asm/posix_types.h + HDRINST usr/include/asm/param.h + HDRINST usr/include/asm/unistd_32.h + HDRINST usr/include/asm/statfs.h + HDRINST usr/include/asm/resource.h + HDRINST usr/include/asm/sockios.h + HDRINST usr/include/asm/unistd_64.h + HDRINST usr/include/asm/bpf_perf_event.h + HDRINST usr/include/asm/poll.h + HDRINST usr/include/asm/siginfo.h + REMOVE usr/include/asm/cachectl.h usr/include/asm/reg.h usr/include/asm/unistd_n64.h usr/include/asm/hwcap.h usr/include/asm/sgidefs.h usr/include/asm/unistd_o32.h usr/include/asm/sysmips.h usr/include/asm/unistd_n32.h usr/include/asm/inst.h usr/include/asm/bitfield.h usr/include/asm/break.h + INSTALL /tmp/nix-shell-1880-0/linux-raw-syss8PRv0/linux-headers/include + REMOVE usr/include/linux/kvm_para.h + HDRINST usr/include/asm/vendor/thead.h + HDRINST usr/include/asm/vendor/mips.h + HDRINST usr/include/asm/vendor/sifive.h + HDRINST usr/include/asm/perf_regs.h + HDRINST usr/include/asm/hwcap.h + HDRINST usr/include/asm/elf.h + HDRINST usr/include/asm/auxvec.h + HDRINST usr/include/asm/sigcontext.h + HDRINST usr/include/asm/ucontext.h + HDRINST usr/include/asm/kvm.h + HDRINST usr/include/asm/byteorder.h + HDRINST usr/include/asm/bpf_perf_event.h + HDRINST usr/include/asm/ptrace.h + HDRINST usr/include/asm/bitsperlong.h + HDRINST usr/include/asm/hwprobe.h + HDRINST usr/include/asm/setup.h + HDRINST usr/include/asm/unistd.h + HDRINST usr/include/asm/termios.h + HDRINST usr/include/asm/param.h + HDRINST usr/include/asm/termbits.h + HDRINST usr/include/asm/ioctls.h + HDRINST usr/include/asm/stat.h + HDRINST usr/include/asm/errno.h + HDRINST usr/include/asm/unistd_32.h + HDRINST usr/include/asm/ioctl.h + HDRINST usr/include/asm/statfs.h + HDRINST usr/include/asm/swab.h + HDRINST usr/include/asm/msgbuf.h + HDRINST usr/include/asm/shmbuf.h + HDRINST usr/include/asm/sembuf.h + HDRINST usr/include/asm/mman.h + HDRINST usr/include/asm/resource.h + HDRINST usr/include/asm/sockios.h + HDRINST usr/include/asm/unistd_64.h + HDRINST usr/include/asm/fcntl.h + HDRINST usr/include/asm/socket.h + HDRINST usr/include/asm/types.h + HDRINST usr/include/asm/poll.h + HDRINST usr/include/asm/signal.h + HDRINST usr/include/asm/ipcbuf.h + HDRINST usr/include/asm/siginfo.h + HDRINST usr/include/asm/posix_types.h + REMOVE usr/include/asm/papr-vpd.h usr/include/asm/bootx.h usr/include/asm/eeh.h usr/include/asm/kvm_para.h usr/include/asm/papr-hvpipe.h usr/include/asm/vas-api.h usr/include/asm/tm.h usr/include/asm/papr-miscdev.h usr/include/asm/spu_info.h usr/include/asm/papr-platform-dump.h usr/include/asm/epapr_hcalls.h usr/include/asm/papr-sysparm.h usr/include/asm/ps3fb.h usr/include/asm/opal-prd.h usr/include/asm/nvram.h usr/include/asm/papr-physical-attestation.h usr/include/asm/perf_event.h usr/include/asm/cputable.h usr/include/asm/papr-indices.h + INSTALL /tmp/nix-shell-1880-0/linux-raw-syss8PRv0/linux-headers/include + HDRINST usr/include/linux/kvm_para.h + HDRINST usr/include/asm/qeth.h + HDRINST usr/include/asm/perf_regs.h + HDRINST usr/include/asm/hwctrset.h + HDRINST usr/include/asm/ioctls.h + HDRINST usr/include/asm/stat.h + HDRINST usr/include/asm/vmcp.h + HDRINST usr/include/asm/kvm_para.h + HDRINST usr/include/asm/sie.h + HDRINST usr/include/asm/kvm_perf.h + HDRINST usr/include/asm/auxvec.h + HDRINST usr/include/asm/schid.h + HDRINST usr/include/asm/sigcontext.h + HDRINST usr/include/asm/statfs.h + HDRINST usr/include/asm/guarded_storage.h + HDRINST usr/include/asm/chpid.h + HDRINST usr/include/asm/sthyi.h + HDRINST usr/include/asm/virtio-ccw.h + HDRINST usr/include/asm/uvdevice.h + HDRINST usr/include/asm/pkey.h + HDRINST usr/include/asm/ucontext.h + HDRINST usr/include/asm/kvm.h + HDRINST usr/include/asm/sclp_ctl.h + HDRINST usr/include/asm/types.h + HDRINST usr/include/asm/byteorder.h + HDRINST usr/include/asm/monwriter.h + HDRINST usr/include/asm/bpf_perf_event.h + HDRINST usr/include/asm/zcrypt.h + HDRINST usr/include/asm/clp.h + HDRINST usr/include/asm/chsc.h + HDRINST usr/include/asm/ptrace.h + HDRINST usr/include/asm/runtime_instr.h + HDRINST usr/include/asm/signal.h + HDRINST usr/include/asm/diag.h + HDRINST usr/include/asm/tape390.h + HDRINST usr/include/asm/ipcbuf.h + HDRINST usr/include/asm/hypfs.h + HDRINST usr/include/asm/bitsperlong.h + HDRINST usr/include/asm/cmb.h + HDRINST usr/include/asm/setup.h + HDRINST usr/include/asm/fs3270.h + HDRINST usr/include/asm/unistd.h + HDRINST usr/include/asm/raw3270.h + HDRINST usr/include/asm/ipl.h + HDRINST usr/include/asm/dasd.h + HDRINST usr/include/asm/posix_types.h + HDRINST usr/include/asm/vtoc.h + HDRINST usr/include/asm/termios.h + HDRINST usr/include/asm/param.h + HDRINST usr/include/asm/termbits.h + HDRINST usr/include/asm/errno.h + HDRINST usr/include/asm/unistd_32.h + HDRINST usr/include/asm/ioctl.h + HDRINST usr/include/asm/swab.h + HDRINST usr/include/asm/msgbuf.h + HDRINST usr/include/asm/shmbuf.h + HDRINST usr/include/asm/sembuf.h + HDRINST usr/include/asm/mman.h + HDRINST usr/include/asm/resource.h + HDRINST usr/include/asm/sockios.h + HDRINST usr/include/asm/unistd_64.h + HDRINST usr/include/asm/fcntl.h + HDRINST usr/include/asm/socket.h + HDRINST usr/include/asm/poll.h + HDRINST usr/include/asm/siginfo.h + REMOVE usr/include/asm/vendor/thead.h usr/include/asm/vendor/mips.h usr/include/asm/vendor/sifive.h usr/include/asm/hwcap.h usr/include/asm/elf.h usr/include/asm/hwprobe.h + INSTALL /tmp/nix-shell-1880-0/linux-raw-syss8PRv0/linux-headers/include + REMOVE usr/include/linux/kvm_para.h usr/include/linux/kvm.h + HDRINST usr/include/asm/perfctr.h + HDRINST usr/include/asm/termios.h + HDRINST usr/include/asm/param.h + HDRINST usr/include/asm/display7seg.h + HDRINST usr/include/asm/termbits.h + HDRINST usr/include/asm/ioctls.h + HDRINST usr/include/asm/stat.h + HDRINST usr/include/asm/oradax.h + HDRINST usr/include/asm/errno.h + HDRINST usr/include/asm/auxvec.h + HDRINST usr/include/asm/pstate.h + HDRINST usr/include/asm/envctrl.h + HDRINST usr/include/asm/asi.h + HDRINST usr/include/asm/ioctl.h + HDRINST usr/include/asm/sigcontext.h + HDRINST usr/include/asm/swab.h + HDRINST usr/include/asm/fbio.h + HDRINST usr/include/asm/psrcompat.h + HDRINST usr/include/asm/msgbuf.h + HDRINST usr/include/asm/shmbuf.h + HDRINST usr/include/asm/sembuf.h + HDRINST usr/include/asm/mman.h + HDRINST usr/include/asm/resource.h + HDRINST usr/include/asm/fcntl.h + HDRINST usr/include/asm/apc.h + HDRINST usr/include/asm/socket.h + HDRINST usr/include/asm/openpromio.h + HDRINST usr/include/asm/traps.h + HDRINST usr/include/asm/byteorder.h + HDRINST usr/include/asm/poll.h + HDRINST usr/include/asm/ptrace.h + HDRINST usr/include/asm/signal.h + HDRINST usr/include/asm/watchdog.h + HDRINST usr/include/asm/utrap.h + HDRINST usr/include/asm/ipcbuf.h + HDRINST usr/include/asm/uctx.h + HDRINST usr/include/asm/bitsperlong.h + HDRINST usr/include/asm/setup.h + HDRINST usr/include/asm/unistd.h + HDRINST usr/include/asm/siginfo.h + HDRINST usr/include/asm/posix_types.h + HDRINST usr/include/asm/psr.h + HDRINST usr/include/asm/unistd_32.h + HDRINST usr/include/asm/statfs.h + HDRINST usr/include/asm/sockios.h + HDRINST usr/include/asm/unistd_64.h + HDRINST usr/include/asm/types.h + HDRINST usr/include/asm/bpf_perf_event.h + REMOVE usr/include/asm/qeth.h usr/include/asm/perf_regs.h usr/include/asm/hwctrset.h usr/include/asm/vmcp.h usr/include/asm/kvm_para.h usr/include/asm/sie.h usr/include/asm/kvm_perf.h usr/include/asm/schid.h usr/include/asm/guarded_storage.h usr/include/asm/chpid.h usr/include/asm/sthyi.h usr/include/asm/virtio-ccw.h usr/include/asm/uvdevice.h usr/include/asm/pkey.h usr/include/asm/ucontext.h usr/include/asm/kvm.h usr/include/asm/sclp_ctl.h usr/include/asm/monwriter.h usr/include/asm/zcrypt.h usr/include/asm/clp.h usr/include/asm/chsc.h usr/include/asm/runtime_instr.h usr/include/asm/diag.h usr/include/asm/tape390.h usr/include/asm/hypfs.h usr/include/asm/cmb.h usr/include/asm/fs3270.h usr/include/asm/raw3270.h usr/include/asm/ipl.h usr/include/asm/dasd.h usr/include/asm/vtoc.h + INSTALL /tmp/nix-shell-1880-0/linux-raw-syss8PRv0/linux-headers/include + HDRINST usr/include/linux/kvm_para.h + HDRINST usr/include/linux/a.out.h + HDRINST usr/include/linux/kvm.h + HDRINST usr/include/asm/sgx.h + HDRINST usr/include/asm/perf_regs.h + HDRINST usr/include/asm/processor-flags.h + HDRINST usr/include/asm/ldt.h + HDRINST usr/include/asm/setup_data.h + HDRINST usr/include/asm/vsyscall.h + HDRINST usr/include/asm/debugreg.h + HDRINST usr/include/asm/stat.h + HDRINST usr/include/asm/kvm_para.h + HDRINST usr/include/asm/elf.h + HDRINST usr/include/asm/kvm_perf.h + HDRINST usr/include/asm/hw_breakpoint.h + HDRINST usr/include/asm/auxvec.h + HDRINST usr/include/asm/amd_hsmp.h + HDRINST usr/include/asm/sigcontext.h + HDRINST usr/include/asm/statfs.h + HDRINST usr/include/asm/swab.h + HDRINST usr/include/asm/posix_types_64.h + HDRINST usr/include/asm/a.out.h + HDRINST usr/include/asm/ist.h + HDRINST usr/include/asm/msgbuf.h + HDRINST usr/include/asm/shmbuf.h + HDRINST usr/include/asm/sembuf.h + HDRINST usr/include/asm/msr.h + HDRINST usr/include/asm/boot.h + HDRINST usr/include/asm/e820.h + HDRINST usr/include/asm/mman.h + HDRINST usr/include/asm/ucontext.h + HDRINST usr/include/asm/kvm.h + HDRINST usr/include/asm/vm86.h + HDRINST usr/include/asm/byteorder.h + HDRINST usr/include/asm/sigcontext32.h + HDRINST usr/include/asm/hwcap2.h + HDRINST usr/include/asm/ptrace.h + HDRINST usr/include/asm/signal.h + HDRINST usr/include/asm/prctl.h + HDRINST usr/include/asm/bootparam.h + HDRINST usr/include/asm/posix_types_x32.h + HDRINST usr/include/asm/posix_types_32.h + HDRINST usr/include/asm/bitsperlong.h + HDRINST usr/include/asm/vmx.h + HDRINST usr/include/asm/mtrr.h + HDRINST usr/include/asm/setup.h + HDRINST usr/include/asm/unistd.h + HDRINST usr/include/asm/mce.h + HDRINST usr/include/asm/ptrace-abi.h + HDRINST usr/include/asm/svm.h + HDRINST usr/include/asm/siginfo.h + HDRINST usr/include/asm/posix_types.h + HDRINST usr/include/asm/termios.h + HDRINST usr/include/asm/param.h + HDRINST usr/include/asm/termbits.h + HDRINST usr/include/asm/ioctls.h + HDRINST usr/include/asm/errno.h + HDRINST usr/include/asm/unistd_32.h + HDRINST usr/include/asm/ioctl.h + HDRINST usr/include/asm/unistd_x32.h + HDRINST usr/include/asm/resource.h + HDRINST usr/include/asm/sockios.h + HDRINST usr/include/asm/unistd_64.h + HDRINST usr/include/asm/fcntl.h + HDRINST usr/include/asm/socket.h + HDRINST usr/include/asm/types.h + HDRINST usr/include/asm/bpf_perf_event.h + HDRINST usr/include/asm/poll.h + HDRINST usr/include/asm/ipcbuf.h + REMOVE usr/include/asm/perfctr.h usr/include/asm/display7seg.h usr/include/asm/oradax.h usr/include/asm/pstate.h usr/include/asm/envctrl.h usr/include/asm/asi.h usr/include/asm/fbio.h usr/include/asm/psrcompat.h usr/include/asm/apc.h usr/include/asm/openpromio.h usr/include/asm/traps.h usr/include/asm/watchdog.h usr/include/asm/utrap.h usr/include/asm/uctx.h usr/include/asm/psr.h + INSTALL /tmp/nix-shell-1880-0/linux-raw-syss8PRv0/linux-headers/include diff --git a/gen/src/main.rs b/gen/src/main.rs index fc021ce5..1397e311 100644 --- a/gen/src/main.rs +++ b/gen/src/main.rs @@ -10,7 +10,7 @@ use std::process::Command; use std::{env, fs}; #[allow(unused_doc_comments)] -const LINUX_VERSION: &str = "v6.17"; +const LINUX_VERSION: &str = "v6.18"; /// Some commonly used features. const DEFAULT_FEATURES: &str = "\"general\", \"errno\""; diff --git a/src/aarch64/btrfs.rs b/src/aarch64/btrfs.rs index 89ec9126..5c28aefa 100644 --- a/src/aarch64/btrfs.rs +++ b/src/aarch64/btrfs.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -741,7 +741,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/aarch64/general.rs b/src/aarch64/general.rs index a9513534..7eb01e78 100644 --- a/src/aarch64/general.rs +++ b/src/aarch64/general.rs @@ -290,7 +290,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1059,9 +1059,9 @@ pub sa_flags: crate::ctypes::c_ulong, pub sa_restorer: __sigrestore_t, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1232,6 +1232,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/aarch64/if_arp.rs b/src/aarch64/if_arp.rs index dec271a6..8efdb85b 100644 --- a/src/aarch64/if_arp.rs +++ b/src/aarch64/if_arp.rs @@ -1117,6 +1117,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1452,6 +1454,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1812,7 +1815,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2392,7 +2397,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/aarch64/io_uring.rs b/src/aarch64/io_uring.rs index db5da523..719b1ce1 100644 --- a/src/aarch64/io_uring.rs +++ b/src/aarch64/io_uring.rs @@ -178,7 +178,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1006,8 +1006,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1047,11 +1049,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1258,7 +1263,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/aarch64/net.rs b/src/aarch64/net.rs index 8a28727e..de29b80f 100644 --- a/src/aarch64/net.rs +++ b/src/aarch64/net.rs @@ -450,6 +450,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/aarch64/netlink.rs b/src/aarch64/netlink.rs index e7282fbb..4b4c03f2 100644 --- a/src/aarch64/netlink.rs +++ b/src/aarch64/netlink.rs @@ -139,6 +139,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -719,6 +724,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -943,6 +949,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1278,6 +1286,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1880,7 +1889,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2227,7 +2238,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2310,6 +2326,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2571,7 +2597,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -2968,7 +2997,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3344,7 +3376,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3547,6 +3580,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3868,6 +3929,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3937,7 +4011,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4517,7 +4593,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5253,13 +5330,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5295,7 +5372,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5337,7 +5414,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5379,7 +5456,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5402,6 +5479,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5465,6 +5548,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/aarch64/prctl.rs b/src/aarch64/prctl.rs index 7cbb05e2..f1976037 100644 --- a/src/aarch64/prctl.rs +++ b/src/aarch64/prctl.rs @@ -150,6 +150,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/aarch64/ptrace.rs b/src/aarch64/ptrace.rs index 6192cdff..a633319d 100644 --- a/src/aarch64/ptrace.rs +++ b/src/aarch64/ptrace.rs @@ -432,6 +432,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; @@ -883,6 +885,7 @@ pub const HWCAP2_SME_SF8DP2: u64 = 4611686018427387904; pub const HWCAP2_POE: i64 = -9223372036854775808; pub const HWCAP3_MTE_FAR: u32 = 1; pub const HWCAP3_MTE_STORE_ONLY: u32 = 2; +pub const HWCAP3_LSFE: u32 = 4; pub const __SVE_VQ_BYTES: u32 = 16; pub const __SVE_VQ_MIN: u32 = 1; pub const __SVE_VQ_MAX: u32 = 512; diff --git a/src/arm/btrfs.rs b/src/arm/btrfs.rs index f394082c..738e2dd4 100644 --- a/src/arm/btrfs.rs +++ b/src/arm/btrfs.rs @@ -174,7 +174,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -739,7 +739,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/arm/general.rs b/src/arm/general.rs index 3688945f..0eed8563 100644 --- a/src/arm/general.rs +++ b/src/arm/general.rs @@ -288,7 +288,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1088,9 +1088,9 @@ pub sa_flags: crate::ctypes::c_ulong, pub sa_restorer: __sigrestore_t, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1264,6 +1264,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/arm/if_arp.rs b/src/arm/if_arp.rs index d310822a..d6bb40e0 100644 --- a/src/arm/if_arp.rs +++ b/src/arm/if_arp.rs @@ -1115,6 +1115,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1450,6 +1452,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1810,7 +1813,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2390,7 +2395,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/arm/io_uring.rs b/src/arm/io_uring.rs index 9fe580ef..40991405 100644 --- a/src/arm/io_uring.rs +++ b/src/arm/io_uring.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1004,8 +1004,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1045,11 +1047,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1256,7 +1261,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/arm/net.rs b/src/arm/net.rs index dd925ce3..745ffdd5 100644 --- a/src/arm/net.rs +++ b/src/arm/net.rs @@ -448,6 +448,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/arm/netlink.rs b/src/arm/netlink.rs index ce6930de..c6d503b3 100644 --- a/src/arm/netlink.rs +++ b/src/arm/netlink.rs @@ -137,6 +137,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -717,6 +722,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -941,6 +947,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1276,6 +1284,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1878,7 +1887,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2225,7 +2236,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2308,6 +2324,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2569,7 +2595,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -2966,7 +2995,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3342,7 +3374,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3545,6 +3578,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3866,6 +3927,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3935,7 +4009,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4515,7 +4591,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5251,13 +5328,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5293,7 +5370,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5335,7 +5412,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5377,7 +5454,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5400,6 +5477,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5463,6 +5546,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/arm/prctl.rs b/src/arm/prctl.rs index 88cdc034..92dffdff 100644 --- a/src/arm/prctl.rs +++ b/src/arm/prctl.rs @@ -148,6 +148,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/arm/ptrace.rs b/src/arm/ptrace.rs index 1c1c0330..4f1d760e 100644 --- a/src/arm/ptrace.rs +++ b/src/arm/ptrace.rs @@ -355,6 +355,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; diff --git a/src/csky/btrfs.rs b/src/csky/btrfs.rs index bf523af3..3badd718 100644 --- a/src/csky/btrfs.rs +++ b/src/csky/btrfs.rs @@ -174,7 +174,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -739,7 +739,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/csky/general.rs b/src/csky/general.rs index 12691f99..fb730a6f 100644 --- a/src/csky/general.rs +++ b/src/csky/general.rs @@ -288,7 +288,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1081,9 +1081,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1257,6 +1257,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/csky/if_arp.rs b/src/csky/if_arp.rs index e33ba391..1ea921cb 100644 --- a/src/csky/if_arp.rs +++ b/src/csky/if_arp.rs @@ -1117,6 +1117,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1452,6 +1454,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1812,7 +1815,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2392,7 +2397,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/csky/io_uring.rs b/src/csky/io_uring.rs index ebcce305..74cd0450 100644 --- a/src/csky/io_uring.rs +++ b/src/csky/io_uring.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1008,8 +1008,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1049,11 +1051,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1260,7 +1265,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/csky/net.rs b/src/csky/net.rs index 75a1fbff..f7e90a72 100644 --- a/src/csky/net.rs +++ b/src/csky/net.rs @@ -448,6 +448,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/csky/netlink.rs b/src/csky/netlink.rs index 5f2372f5..45992aeb 100644 --- a/src/csky/netlink.rs +++ b/src/csky/netlink.rs @@ -137,6 +137,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -717,6 +722,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -941,6 +947,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1276,6 +1284,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1878,7 +1887,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2225,7 +2236,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2308,6 +2324,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2569,7 +2595,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -2966,7 +2995,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3342,7 +3374,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3545,6 +3578,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3866,6 +3927,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3935,7 +4009,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4515,7 +4591,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5251,13 +5328,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5293,7 +5370,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5335,7 +5412,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5377,7 +5454,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5400,6 +5477,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5463,6 +5546,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/csky/prctl.rs b/src/csky/prctl.rs index ff251ffa..2a8e6f03 100644 --- a/src/csky/prctl.rs +++ b/src/csky/prctl.rs @@ -148,6 +148,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/csky/ptrace.rs b/src/csky/ptrace.rs index 11f5cbae..9870b485 100644 --- a/src/csky/ptrace.rs +++ b/src/csky/ptrace.rs @@ -374,6 +374,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; diff --git a/src/hexagon/btrfs.rs b/src/hexagon/btrfs.rs index 5864757e..30aee601 100644 --- a/src/hexagon/btrfs.rs +++ b/src/hexagon/btrfs.rs @@ -174,7 +174,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -739,7 +739,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/hexagon/general.rs b/src/hexagon/general.rs index b08f8125..95981aa0 100644 --- a/src/hexagon/general.rs +++ b/src/hexagon/general.rs @@ -293,7 +293,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1084,9 +1084,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1260,6 +1260,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/hexagon/if_arp.rs b/src/hexagon/if_arp.rs index c6df1361..98f7b056 100644 --- a/src/hexagon/if_arp.rs +++ b/src/hexagon/if_arp.rs @@ -1115,6 +1115,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1450,6 +1452,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1810,7 +1813,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u8)] #[non_exhaustive] @@ -2390,7 +2395,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u8)] #[non_exhaustive] diff --git a/src/hexagon/io_uring.rs b/src/hexagon/io_uring.rs index 4fc3f172..2e5a93d3 100644 --- a/src/hexagon/io_uring.rs +++ b/src/hexagon/io_uring.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1004,8 +1004,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1045,11 +1047,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1256,7 +1261,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u8)] diff --git a/src/hexagon/net.rs b/src/hexagon/net.rs index f4db6751..336ad60e 100644 --- a/src/hexagon/net.rs +++ b/src/hexagon/net.rs @@ -448,6 +448,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/hexagon/netlink.rs b/src/hexagon/netlink.rs index e81e7cc7..a8c435cf 100644 --- a/src/hexagon/netlink.rs +++ b/src/hexagon/netlink.rs @@ -137,6 +137,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -717,6 +722,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -941,6 +947,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1276,6 +1284,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1878,7 +1887,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u16)] #[non_exhaustive] @@ -2225,7 +2236,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u8)] #[non_exhaustive] @@ -2308,6 +2324,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u8)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u8)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2569,7 +2595,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u8)] #[non_exhaustive] @@ -2966,7 +2995,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u8)] #[non_exhaustive] @@ -3342,7 +3374,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u8)] #[non_exhaustive] @@ -3545,6 +3578,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u8)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u8)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u8)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3866,6 +3927,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u8)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u8)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3935,7 +4009,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u8)] #[non_exhaustive] @@ -4515,7 +4591,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u8)] #[non_exhaustive] @@ -5251,13 +5328,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5293,7 +5370,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5335,7 +5412,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5377,7 +5454,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5400,6 +5477,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5463,6 +5546,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/hexagon/prctl.rs b/src/hexagon/prctl.rs index ff251ffa..2a8e6f03 100644 --- a/src/hexagon/prctl.rs +++ b/src/hexagon/prctl.rs @@ -148,6 +148,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/hexagon/ptrace.rs b/src/hexagon/ptrace.rs index 332870f0..f5a73aa3 100644 --- a/src/hexagon/ptrace.rs +++ b/src/hexagon/ptrace.rs @@ -519,6 +519,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; diff --git a/src/loongarch64/btrfs.rs b/src/loongarch64/btrfs.rs index a64f6c3c..f653b555 100644 --- a/src/loongarch64/btrfs.rs +++ b/src/loongarch64/btrfs.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -741,7 +741,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/loongarch64/general.rs b/src/loongarch64/general.rs index 473d1f0f..6a898367 100644 --- a/src/loongarch64/general.rs +++ b/src/loongarch64/general.rs @@ -290,7 +290,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1057,9 +1057,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1230,6 +1230,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/loongarch64/if_arp.rs b/src/loongarch64/if_arp.rs index 0c2cbf49..9bb0679e 100644 --- a/src/loongarch64/if_arp.rs +++ b/src/loongarch64/if_arp.rs @@ -1117,6 +1117,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1452,6 +1454,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1812,7 +1815,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2392,7 +2397,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/loongarch64/io_uring.rs b/src/loongarch64/io_uring.rs index 0fefed60..4cf32d2b 100644 --- a/src/loongarch64/io_uring.rs +++ b/src/loongarch64/io_uring.rs @@ -178,7 +178,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1006,8 +1006,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1047,11 +1049,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1258,7 +1263,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/loongarch64/net.rs b/src/loongarch64/net.rs index 276f8de6..2ce431bc 100644 --- a/src/loongarch64/net.rs +++ b/src/loongarch64/net.rs @@ -450,6 +450,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/loongarch64/netlink.rs b/src/loongarch64/netlink.rs index cf02b410..feff0d72 100644 --- a/src/loongarch64/netlink.rs +++ b/src/loongarch64/netlink.rs @@ -139,6 +139,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -719,6 +724,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -943,6 +949,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1278,6 +1286,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1880,7 +1889,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2227,7 +2238,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2310,6 +2326,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2571,7 +2597,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -2968,7 +2997,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3344,7 +3376,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3547,6 +3580,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3868,6 +3929,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3937,7 +4011,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4517,7 +4593,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5253,13 +5330,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5295,7 +5372,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5337,7 +5414,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5379,7 +5456,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5402,6 +5479,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5465,6 +5548,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/loongarch64/prctl.rs b/src/loongarch64/prctl.rs index bc9d4fcc..718a062f 100644 --- a/src/loongarch64/prctl.rs +++ b/src/loongarch64/prctl.rs @@ -150,6 +150,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/loongarch64/ptrace.rs b/src/loongarch64/ptrace.rs index 3f05a6b5..4cf6ad31 100644 --- a/src/loongarch64/ptrace.rs +++ b/src/loongarch64/ptrace.rs @@ -182,54 +182,54 @@ pub reserved: [crate::ctypes::c_ulong; 10usize], #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct user_fp_state { -pub fpr: [u64; 32usize], -pub fcc: u64, -pub fcsr: u32, +pub fpr: [__u64; 32usize], +pub fcc: __u64, +pub fcsr: __u32, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct user_lsx_state { -pub vregs: [u64; 64usize], +pub vregs: [__u64; 64usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct user_lasx_state { -pub vregs: [u64; 128usize], +pub vregs: [__u64; 128usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct user_lbt_state { -pub scr: [u64; 4usize], -pub eflags: u32, -pub ftop: u32, +pub scr: [__u64; 4usize], +pub eflags: __u32, +pub ftop: __u32, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct user_watch_state { -pub dbg_info: u64, +pub dbg_info: __u64, pub dbg_regs: [user_watch_state__bindgen_ty_1; 8usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct user_watch_state__bindgen_ty_1 { -pub addr: u64, -pub mask: u64, -pub ctrl: u32, -pub pad: u32, +pub addr: __u64, +pub mask: __u64, +pub ctrl: __u32, +pub pad: __u32, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct user_watch_state_v2 { -pub dbg_info: u64, +pub dbg_info: __u64, pub dbg_regs: [user_watch_state_v2__bindgen_ty_1; 14usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct user_watch_state_v2__bindgen_ty_1 { -pub addr: u64, -pub mask: u64, -pub ctrl: u32, -pub pad: u32, +pub addr: __u64, +pub mask: __u64, +pub ctrl: __u32, +pub pad: __u32, } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -413,6 +413,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; diff --git a/src/mips/btrfs.rs b/src/mips/btrfs.rs index d1de05a4..24e9335d 100644 --- a/src/mips/btrfs.rs +++ b/src/mips/btrfs.rs @@ -174,7 +174,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -739,7 +739,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/mips/general.rs b/src/mips/general.rs index 4a395fa9..593c70db 100644 --- a/src/mips/general.rs +++ b/src/mips/general.rs @@ -291,7 +291,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1095,9 +1095,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1281,6 +1281,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/mips/if_arp.rs b/src/mips/if_arp.rs index 19614159..f8184687 100644 --- a/src/mips/if_arp.rs +++ b/src/mips/if_arp.rs @@ -1125,6 +1125,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1460,6 +1462,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1820,7 +1823,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2400,7 +2405,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/mips/io_uring.rs b/src/mips/io_uring.rs index d832f9af..e5e54d16 100644 --- a/src/mips/io_uring.rs +++ b/src/mips/io_uring.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1014,8 +1014,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1055,11 +1057,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1266,7 +1271,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/mips/net.rs b/src/mips/net.rs index 83790658..600a52ac 100644 --- a/src/mips/net.rs +++ b/src/mips/net.rs @@ -448,6 +448,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/mips/netlink.rs b/src/mips/netlink.rs index 9756b583..084b0baf 100644 --- a/src/mips/netlink.rs +++ b/src/mips/netlink.rs @@ -137,6 +137,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -727,6 +732,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -951,6 +957,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1286,6 +1294,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1888,7 +1897,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2235,7 +2246,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2318,6 +2334,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2579,7 +2605,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -2976,7 +3005,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3352,7 +3384,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3555,6 +3588,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3876,6 +3937,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3945,7 +4019,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4525,7 +4601,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5261,13 +5338,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5303,7 +5380,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5345,7 +5422,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5387,7 +5464,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5410,6 +5487,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5473,6 +5556,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/mips/prctl.rs b/src/mips/prctl.rs index 327adb01..e7599ff0 100644 --- a/src/mips/prctl.rs +++ b/src/mips/prctl.rs @@ -158,6 +158,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/mips/ptrace.rs b/src/mips/ptrace.rs index 9b785f7d..45055055 100644 --- a/src/mips/ptrace.rs +++ b/src/mips/ptrace.rs @@ -394,6 +394,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; diff --git a/src/mips32r6/btrfs.rs b/src/mips32r6/btrfs.rs index d1de05a4..24e9335d 100644 --- a/src/mips32r6/btrfs.rs +++ b/src/mips32r6/btrfs.rs @@ -174,7 +174,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -739,7 +739,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/mips32r6/general.rs b/src/mips32r6/general.rs index 4a395fa9..593c70db 100644 --- a/src/mips32r6/general.rs +++ b/src/mips32r6/general.rs @@ -291,7 +291,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1095,9 +1095,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1281,6 +1281,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/mips32r6/if_arp.rs b/src/mips32r6/if_arp.rs index 19614159..f8184687 100644 --- a/src/mips32r6/if_arp.rs +++ b/src/mips32r6/if_arp.rs @@ -1125,6 +1125,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1460,6 +1462,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1820,7 +1823,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2400,7 +2405,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/mips32r6/io_uring.rs b/src/mips32r6/io_uring.rs index d832f9af..e5e54d16 100644 --- a/src/mips32r6/io_uring.rs +++ b/src/mips32r6/io_uring.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1014,8 +1014,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1055,11 +1057,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1266,7 +1271,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/mips32r6/net.rs b/src/mips32r6/net.rs index 83790658..600a52ac 100644 --- a/src/mips32r6/net.rs +++ b/src/mips32r6/net.rs @@ -448,6 +448,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/mips32r6/netlink.rs b/src/mips32r6/netlink.rs index 9756b583..084b0baf 100644 --- a/src/mips32r6/netlink.rs +++ b/src/mips32r6/netlink.rs @@ -137,6 +137,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -727,6 +732,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -951,6 +957,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1286,6 +1294,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1888,7 +1897,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2235,7 +2246,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2318,6 +2334,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2579,7 +2605,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -2976,7 +3005,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3352,7 +3384,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3555,6 +3588,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3876,6 +3937,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3945,7 +4019,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4525,7 +4601,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5261,13 +5338,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5303,7 +5380,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5345,7 +5422,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5387,7 +5464,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5410,6 +5487,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5473,6 +5556,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/mips32r6/prctl.rs b/src/mips32r6/prctl.rs index 327adb01..e7599ff0 100644 --- a/src/mips32r6/prctl.rs +++ b/src/mips32r6/prctl.rs @@ -158,6 +158,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/mips32r6/ptrace.rs b/src/mips32r6/ptrace.rs index 9b785f7d..45055055 100644 --- a/src/mips32r6/ptrace.rs +++ b/src/mips32r6/ptrace.rs @@ -394,6 +394,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; diff --git a/src/mips64/btrfs.rs b/src/mips64/btrfs.rs index f322b77b..44aae94e 100644 --- a/src/mips64/btrfs.rs +++ b/src/mips64/btrfs.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -741,7 +741,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/mips64/general.rs b/src/mips64/general.rs index aade8ffb..be57d121 100644 --- a/src/mips64/general.rs +++ b/src/mips64/general.rs @@ -291,7 +291,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1087,9 +1087,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1270,6 +1270,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/mips64/if_arp.rs b/src/mips64/if_arp.rs index 7a19f43b..10ca687b 100644 --- a/src/mips64/if_arp.rs +++ b/src/mips64/if_arp.rs @@ -1127,6 +1127,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1462,6 +1464,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1822,7 +1825,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2402,7 +2407,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/mips64/io_uring.rs b/src/mips64/io_uring.rs index 465e9197..1218f56a 100644 --- a/src/mips64/io_uring.rs +++ b/src/mips64/io_uring.rs @@ -178,7 +178,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1016,8 +1016,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1057,11 +1059,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1268,7 +1273,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/mips64/net.rs b/src/mips64/net.rs index e11ef238..efcdd395 100644 --- a/src/mips64/net.rs +++ b/src/mips64/net.rs @@ -450,6 +450,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/mips64/netlink.rs b/src/mips64/netlink.rs index 51434db9..dd81e2f6 100644 --- a/src/mips64/netlink.rs +++ b/src/mips64/netlink.rs @@ -139,6 +139,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -729,6 +734,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -953,6 +959,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1288,6 +1296,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1890,7 +1899,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2237,7 +2248,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2320,6 +2336,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2581,7 +2607,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -2978,7 +3007,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3354,7 +3386,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3557,6 +3590,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3878,6 +3939,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3947,7 +4021,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4527,7 +4603,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5263,13 +5340,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5305,7 +5382,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5347,7 +5424,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5389,7 +5466,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5412,6 +5489,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5475,6 +5558,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/mips64/prctl.rs b/src/mips64/prctl.rs index f221615a..fb9c1171 100644 --- a/src/mips64/prctl.rs +++ b/src/mips64/prctl.rs @@ -160,6 +160,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/mips64/ptrace.rs b/src/mips64/ptrace.rs index fdca98f2..2bdba07b 100644 --- a/src/mips64/ptrace.rs +++ b/src/mips64/ptrace.rs @@ -396,6 +396,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; diff --git a/src/mips64r6/btrfs.rs b/src/mips64r6/btrfs.rs index f322b77b..44aae94e 100644 --- a/src/mips64r6/btrfs.rs +++ b/src/mips64r6/btrfs.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -741,7 +741,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/mips64r6/general.rs b/src/mips64r6/general.rs index aade8ffb..be57d121 100644 --- a/src/mips64r6/general.rs +++ b/src/mips64r6/general.rs @@ -291,7 +291,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1087,9 +1087,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1270,6 +1270,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/mips64r6/if_arp.rs b/src/mips64r6/if_arp.rs index 7a19f43b..10ca687b 100644 --- a/src/mips64r6/if_arp.rs +++ b/src/mips64r6/if_arp.rs @@ -1127,6 +1127,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1462,6 +1464,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1822,7 +1825,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2402,7 +2407,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/mips64r6/io_uring.rs b/src/mips64r6/io_uring.rs index 465e9197..1218f56a 100644 --- a/src/mips64r6/io_uring.rs +++ b/src/mips64r6/io_uring.rs @@ -178,7 +178,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1016,8 +1016,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1057,11 +1059,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1268,7 +1273,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/mips64r6/net.rs b/src/mips64r6/net.rs index e11ef238..efcdd395 100644 --- a/src/mips64r6/net.rs +++ b/src/mips64r6/net.rs @@ -450,6 +450,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/mips64r6/netlink.rs b/src/mips64r6/netlink.rs index 51434db9..dd81e2f6 100644 --- a/src/mips64r6/netlink.rs +++ b/src/mips64r6/netlink.rs @@ -139,6 +139,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -729,6 +734,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -953,6 +959,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1288,6 +1296,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1890,7 +1899,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2237,7 +2248,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2320,6 +2336,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2581,7 +2607,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -2978,7 +3007,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3354,7 +3386,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3557,6 +3590,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3878,6 +3939,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3947,7 +4021,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4527,7 +4603,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5263,13 +5340,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5305,7 +5382,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5347,7 +5424,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5389,7 +5466,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5412,6 +5489,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5475,6 +5558,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/mips64r6/prctl.rs b/src/mips64r6/prctl.rs index f221615a..fb9c1171 100644 --- a/src/mips64r6/prctl.rs +++ b/src/mips64r6/prctl.rs @@ -160,6 +160,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/mips64r6/ptrace.rs b/src/mips64r6/ptrace.rs index fdca98f2..2bdba07b 100644 --- a/src/mips64r6/ptrace.rs +++ b/src/mips64r6/ptrace.rs @@ -396,6 +396,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; diff --git a/src/powerpc/btrfs.rs b/src/powerpc/btrfs.rs index 97f3b11d..33aec925 100644 --- a/src/powerpc/btrfs.rs +++ b/src/powerpc/btrfs.rs @@ -180,7 +180,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -745,7 +745,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/powerpc/general.rs b/src/powerpc/general.rs index 8ad1a7a5..753eb72a 100644 --- a/src/powerpc/general.rs +++ b/src/powerpc/general.rs @@ -295,7 +295,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1133,9 +1133,9 @@ pub sa_flags: crate::ctypes::c_ulong, pub sa_restorer: __sigrestore_t, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1309,6 +1309,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/powerpc/if_arp.rs b/src/powerpc/if_arp.rs index 89efcb0c..a6aec3d5 100644 --- a/src/powerpc/if_arp.rs +++ b/src/powerpc/if_arp.rs @@ -1121,6 +1121,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1456,6 +1458,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1816,7 +1819,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2396,7 +2401,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/powerpc/io_uring.rs b/src/powerpc/io_uring.rs index 8be31991..9a9b4c55 100644 --- a/src/powerpc/io_uring.rs +++ b/src/powerpc/io_uring.rs @@ -182,7 +182,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1010,8 +1010,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1051,11 +1053,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1262,7 +1267,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/powerpc/net.rs b/src/powerpc/net.rs index 23cf256f..9e0e58f8 100644 --- a/src/powerpc/net.rs +++ b/src/powerpc/net.rs @@ -454,6 +454,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/powerpc/netlink.rs b/src/powerpc/netlink.rs index f4e51f61..8a1a26aa 100644 --- a/src/powerpc/netlink.rs +++ b/src/powerpc/netlink.rs @@ -143,6 +143,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -723,6 +728,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -947,6 +953,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1282,6 +1290,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1884,7 +1893,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2231,7 +2242,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2314,6 +2330,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2575,7 +2601,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -2972,7 +3001,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3348,7 +3380,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3551,6 +3584,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3872,6 +3933,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3941,7 +4015,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4521,7 +4597,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5257,13 +5334,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5299,7 +5376,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5341,7 +5418,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5383,7 +5460,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5406,6 +5483,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5469,6 +5552,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/powerpc/prctl.rs b/src/powerpc/prctl.rs index dc8f22ba..40c22022 100644 --- a/src/powerpc/prctl.rs +++ b/src/powerpc/prctl.rs @@ -154,6 +154,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/powerpc/ptrace.rs b/src/powerpc/ptrace.rs index fbf1a680..6b24bfb7 100644 --- a/src/powerpc/ptrace.rs +++ b/src/powerpc/ptrace.rs @@ -395,6 +395,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; diff --git a/src/powerpc64/btrfs.rs b/src/powerpc64/btrfs.rs index 3b8cd333..cb4d3c96 100644 --- a/src/powerpc64/btrfs.rs +++ b/src/powerpc64/btrfs.rs @@ -182,7 +182,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -747,7 +747,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/powerpc64/general.rs b/src/powerpc64/general.rs index 5cf4d958..eef8abab 100644 --- a/src/powerpc64/general.rs +++ b/src/powerpc64/general.rs @@ -297,7 +297,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1115,9 +1115,9 @@ pub sa_flags: crate::ctypes::c_ulong, pub sa_restorer: __sigrestore_t, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1288,6 +1288,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/powerpc64/if_arp.rs b/src/powerpc64/if_arp.rs index f9174def..3997072c 100644 --- a/src/powerpc64/if_arp.rs +++ b/src/powerpc64/if_arp.rs @@ -1123,6 +1123,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1458,6 +1460,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1818,7 +1821,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2398,7 +2403,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/powerpc64/io_uring.rs b/src/powerpc64/io_uring.rs index 87893ffe..598ab3ee 100644 --- a/src/powerpc64/io_uring.rs +++ b/src/powerpc64/io_uring.rs @@ -184,7 +184,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1012,8 +1012,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1053,11 +1055,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1264,7 +1269,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/powerpc64/net.rs b/src/powerpc64/net.rs index 261208a4..136b6d4f 100644 --- a/src/powerpc64/net.rs +++ b/src/powerpc64/net.rs @@ -456,6 +456,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/powerpc64/netlink.rs b/src/powerpc64/netlink.rs index 094693e4..91c807af 100644 --- a/src/powerpc64/netlink.rs +++ b/src/powerpc64/netlink.rs @@ -145,6 +145,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -725,6 +730,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -949,6 +955,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1284,6 +1292,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1886,7 +1895,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2233,7 +2244,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2316,6 +2332,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2577,7 +2603,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -2974,7 +3003,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3350,7 +3382,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3553,6 +3586,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3874,6 +3935,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3943,7 +4017,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4523,7 +4599,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5259,13 +5336,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5301,7 +5378,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5343,7 +5420,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5385,7 +5462,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5408,6 +5485,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5471,6 +5554,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/powerpc64/prctl.rs b/src/powerpc64/prctl.rs index 71247ba8..60e0294a 100644 --- a/src/powerpc64/prctl.rs +++ b/src/powerpc64/prctl.rs @@ -156,6 +156,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/powerpc64/ptrace.rs b/src/powerpc64/ptrace.rs index 9e4fc021..124b2ebc 100644 --- a/src/powerpc64/ptrace.rs +++ b/src/powerpc64/ptrace.rs @@ -397,6 +397,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; diff --git a/src/riscv32/btrfs.rs b/src/riscv32/btrfs.rs index bf523af3..3badd718 100644 --- a/src/riscv32/btrfs.rs +++ b/src/riscv32/btrfs.rs @@ -174,7 +174,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -739,7 +739,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/riscv32/general.rs b/src/riscv32/general.rs index 9ccb390b..92aa96fa 100644 --- a/src/riscv32/general.rs +++ b/src/riscv32/general.rs @@ -288,7 +288,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1079,9 +1079,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1255,6 +1255,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/riscv32/if_arp.rs b/src/riscv32/if_arp.rs index c49c80ce..6cb779e3 100644 --- a/src/riscv32/if_arp.rs +++ b/src/riscv32/if_arp.rs @@ -1115,6 +1115,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1450,6 +1452,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1810,7 +1813,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2390,7 +2395,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/riscv32/io_uring.rs b/src/riscv32/io_uring.rs index b7ed64c3..35495182 100644 --- a/src/riscv32/io_uring.rs +++ b/src/riscv32/io_uring.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1004,8 +1004,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1045,11 +1047,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1256,7 +1261,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/riscv32/net.rs b/src/riscv32/net.rs index 5b47bb5c..587279f1 100644 --- a/src/riscv32/net.rs +++ b/src/riscv32/net.rs @@ -448,6 +448,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/riscv32/netlink.rs b/src/riscv32/netlink.rs index 5f2372f5..45992aeb 100644 --- a/src/riscv32/netlink.rs +++ b/src/riscv32/netlink.rs @@ -137,6 +137,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -717,6 +722,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -941,6 +947,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1276,6 +1284,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1878,7 +1887,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2225,7 +2236,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2308,6 +2324,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2569,7 +2595,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -2966,7 +2995,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3342,7 +3374,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3545,6 +3578,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3866,6 +3927,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3935,7 +4009,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4515,7 +4591,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5251,13 +5328,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5293,7 +5370,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5335,7 +5412,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5377,7 +5454,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5400,6 +5477,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5463,6 +5546,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/riscv32/prctl.rs b/src/riscv32/prctl.rs index ff251ffa..2a8e6f03 100644 --- a/src/riscv32/prctl.rs +++ b/src/riscv32/prctl.rs @@ -148,6 +148,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/riscv32/ptrace.rs b/src/riscv32/ptrace.rs index 7af62579..3ae63ffb 100644 --- a/src/riscv32/ptrace.rs +++ b/src/riscv32/ptrace.rs @@ -440,6 +440,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; diff --git a/src/riscv64/btrfs.rs b/src/riscv64/btrfs.rs index a64f6c3c..f653b555 100644 --- a/src/riscv64/btrfs.rs +++ b/src/riscv64/btrfs.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -741,7 +741,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/riscv64/general.rs b/src/riscv64/general.rs index 59632f6a..0294c9e7 100644 --- a/src/riscv64/general.rs +++ b/src/riscv64/general.rs @@ -290,7 +290,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1057,9 +1057,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1230,6 +1230,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/riscv64/if_arp.rs b/src/riscv64/if_arp.rs index 0c2cbf49..9bb0679e 100644 --- a/src/riscv64/if_arp.rs +++ b/src/riscv64/if_arp.rs @@ -1117,6 +1117,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1452,6 +1454,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1812,7 +1815,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2392,7 +2397,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/riscv64/io_uring.rs b/src/riscv64/io_uring.rs index 0fefed60..4cf32d2b 100644 --- a/src/riscv64/io_uring.rs +++ b/src/riscv64/io_uring.rs @@ -178,7 +178,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1006,8 +1006,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1047,11 +1049,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1258,7 +1263,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/riscv64/net.rs b/src/riscv64/net.rs index 276f8de6..2ce431bc 100644 --- a/src/riscv64/net.rs +++ b/src/riscv64/net.rs @@ -450,6 +450,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/riscv64/netlink.rs b/src/riscv64/netlink.rs index cf02b410..feff0d72 100644 --- a/src/riscv64/netlink.rs +++ b/src/riscv64/netlink.rs @@ -139,6 +139,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -719,6 +724,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -943,6 +949,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1278,6 +1286,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1880,7 +1889,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2227,7 +2238,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2310,6 +2326,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2571,7 +2597,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -2968,7 +2997,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3344,7 +3376,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3547,6 +3580,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3868,6 +3929,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3937,7 +4011,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4517,7 +4593,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5253,13 +5330,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5295,7 +5372,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5337,7 +5414,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5379,7 +5456,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5402,6 +5479,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5465,6 +5548,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/riscv64/prctl.rs b/src/riscv64/prctl.rs index bc9d4fcc..718a062f 100644 --- a/src/riscv64/prctl.rs +++ b/src/riscv64/prctl.rs @@ -150,6 +150,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/riscv64/ptrace.rs b/src/riscv64/ptrace.rs index fd719a12..42ea3316 100644 --- a/src/riscv64/ptrace.rs +++ b/src/riscv64/ptrace.rs @@ -442,6 +442,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; diff --git a/src/s390x/btrfs.rs b/src/s390x/btrfs.rs index b37fa305..43532d0f 100644 --- a/src/s390x/btrfs.rs +++ b/src/s390x/btrfs.rs @@ -190,7 +190,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -755,7 +755,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/s390x/general.rs b/src/s390x/general.rs index 196d4a58..5b86f138 100644 --- a/src/s390x/general.rs +++ b/src/s390x/general.rs @@ -305,7 +305,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1056,9 +1056,9 @@ pub sa_flags: crate::ctypes::c_ulong, pub sa_restorer: __sigrestore_t, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1229,6 +1229,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/s390x/if_arp.rs b/src/s390x/if_arp.rs index 7e3208f5..12a87f20 100644 --- a/src/s390x/if_arp.rs +++ b/src/s390x/if_arp.rs @@ -1131,6 +1131,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1466,6 +1468,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1826,7 +1829,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2406,7 +2411,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/s390x/io_uring.rs b/src/s390x/io_uring.rs index 9ff9df5b..4a72cf5e 100644 --- a/src/s390x/io_uring.rs +++ b/src/s390x/io_uring.rs @@ -192,7 +192,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1020,8 +1020,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1061,11 +1063,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1272,7 +1277,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/s390x/net.rs b/src/s390x/net.rs index 52fbdbf4..4753e369 100644 --- a/src/s390x/net.rs +++ b/src/s390x/net.rs @@ -464,6 +464,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/s390x/netlink.rs b/src/s390x/netlink.rs index df630a15..7bdd44e0 100644 --- a/src/s390x/netlink.rs +++ b/src/s390x/netlink.rs @@ -153,6 +153,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -733,6 +738,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -957,6 +963,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1292,6 +1300,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1894,7 +1903,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2241,7 +2252,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2324,6 +2340,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2585,7 +2611,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -2982,7 +3011,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3358,7 +3390,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3561,6 +3594,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3882,6 +3943,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3951,7 +4025,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4531,7 +4607,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5273,13 +5350,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5315,7 +5392,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5357,7 +5434,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5399,7 +5476,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5422,6 +5499,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5485,6 +5568,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/s390x/prctl.rs b/src/s390x/prctl.rs index 34759a6d..6a634a15 100644 --- a/src/s390x/prctl.rs +++ b/src/s390x/prctl.rs @@ -164,6 +164,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/s390x/ptrace.rs b/src/s390x/ptrace.rs index 6194649f..97feac38 100644 --- a/src/s390x/ptrace.rs +++ b/src/s390x/ptrace.rs @@ -470,6 +470,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; diff --git a/src/sparc/btrfs.rs b/src/sparc/btrfs.rs index c4ef80a1..617fa1e0 100644 --- a/src/sparc/btrfs.rs +++ b/src/sparc/btrfs.rs @@ -174,7 +174,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -739,7 +739,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/sparc/general.rs b/src/sparc/general.rs index e4379f18..3dd55280 100644 --- a/src/sparc/general.rs +++ b/src/sparc/general.rs @@ -290,7 +290,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1093,9 +1093,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1269,6 +1269,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/sparc/if_arp.rs b/src/sparc/if_arp.rs index ca22d664..aa9119bf 100644 --- a/src/sparc/if_arp.rs +++ b/src/sparc/if_arp.rs @@ -1331,6 +1331,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1666,6 +1668,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -2026,7 +2029,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2606,7 +2611,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/sparc/io_uring.rs b/src/sparc/io_uring.rs index aa69507c..769f1ae2 100644 --- a/src/sparc/io_uring.rs +++ b/src/sparc/io_uring.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1005,8 +1005,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1046,11 +1048,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1257,7 +1262,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/sparc/net.rs b/src/sparc/net.rs index 3f90f50a..230dc8a7 100644 --- a/src/sparc/net.rs +++ b/src/sparc/net.rs @@ -448,6 +448,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/sparc/netlink.rs b/src/sparc/netlink.rs index 261cda07..45161666 100644 --- a/src/sparc/netlink.rs +++ b/src/sparc/netlink.rs @@ -137,6 +137,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -717,6 +722,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -941,6 +947,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1276,6 +1284,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1878,7 +1887,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2225,7 +2236,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2308,6 +2324,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2569,7 +2595,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -2966,7 +2995,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3342,7 +3374,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3545,6 +3578,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3866,6 +3927,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3935,7 +4009,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4515,7 +4591,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5251,13 +5328,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5293,7 +5370,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5335,7 +5412,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5377,7 +5454,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5400,6 +5477,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5463,6 +5546,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/sparc/prctl.rs b/src/sparc/prctl.rs index b63839ec..8137ddba 100644 --- a/src/sparc/prctl.rs +++ b/src/sparc/prctl.rs @@ -148,6 +148,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/sparc/ptrace.rs b/src/sparc/ptrace.rs index cd6bd935..dbdc94c2 100644 --- a/src/sparc/ptrace.rs +++ b/src/sparc/ptrace.rs @@ -376,6 +376,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; diff --git a/src/sparc64/btrfs.rs b/src/sparc64/btrfs.rs index 2a879189..cf314d05 100644 --- a/src/sparc64/btrfs.rs +++ b/src/sparc64/btrfs.rs @@ -182,7 +182,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -747,7 +747,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/sparc64/general.rs b/src/sparc64/general.rs index cc877b07..adf0f010 100644 --- a/src/sparc64/general.rs +++ b/src/sparc64/general.rs @@ -298,7 +298,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1090,9 +1090,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1263,6 +1263,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/sparc64/if_arp.rs b/src/sparc64/if_arp.rs index d14a84cd..1b2e24df 100644 --- a/src/sparc64/if_arp.rs +++ b/src/sparc64/if_arp.rs @@ -1339,6 +1339,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1674,6 +1676,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -2034,7 +2037,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2614,7 +2619,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/sparc64/io_uring.rs b/src/sparc64/io_uring.rs index eb3eebe8..80c609d5 100644 --- a/src/sparc64/io_uring.rs +++ b/src/sparc64/io_uring.rs @@ -184,7 +184,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1007,8 +1007,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1048,11 +1050,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1259,7 +1264,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/sparc64/net.rs b/src/sparc64/net.rs index c691d4fb..83037f8c 100644 --- a/src/sparc64/net.rs +++ b/src/sparc64/net.rs @@ -456,6 +456,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/sparc64/netlink.rs b/src/sparc64/netlink.rs index cef9a68d..71725463 100644 --- a/src/sparc64/netlink.rs +++ b/src/sparc64/netlink.rs @@ -145,6 +145,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -725,6 +730,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -949,6 +955,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1284,6 +1292,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1886,7 +1895,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2233,7 +2244,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2316,6 +2332,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2577,7 +2603,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -2974,7 +3003,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3350,7 +3382,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3553,6 +3586,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3874,6 +3935,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3943,7 +4017,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4523,7 +4599,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5259,13 +5336,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5301,7 +5378,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5343,7 +5420,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5385,7 +5462,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5408,6 +5485,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5471,6 +5554,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/sparc64/prctl.rs b/src/sparc64/prctl.rs index b972403f..840e427d 100644 --- a/src/sparc64/prctl.rs +++ b/src/sparc64/prctl.rs @@ -156,6 +156,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/sparc64/ptrace.rs b/src/sparc64/ptrace.rs index ce3bf692..261d136c 100644 --- a/src/sparc64/ptrace.rs +++ b/src/sparc64/ptrace.rs @@ -419,6 +419,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; diff --git a/src/x32/btrfs.rs b/src/x32/btrfs.rs index fcd13dfb..878c7c06 100644 --- a/src/x32/btrfs.rs +++ b/src/x32/btrfs.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -741,7 +741,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/x32/general.rs b/src/x32/general.rs index 993970fb..127e1622 100644 --- a/src/x32/general.rs +++ b/src/x32/general.rs @@ -291,7 +291,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1069,9 +1069,9 @@ pub sa_flags: crate::ctypes::c_ulong, pub sa_restorer: __sigrestore_t, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1245,6 +1245,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; @@ -2610,6 +2611,7 @@ pub const __NR_statx: u32 = 1073742156; pub const __NR_io_pgetevents: u32 = 1073742157; pub const __NR_rseq: u32 = 1073742158; pub const __NR_uretprobe: u32 = 1073742159; +pub const __NR_uprobe: u32 = 1073742160; pub const __NR_pidfd_send_signal: u32 = 1073742248; pub const __NR_io_uring_setup: u32 = 1073742249; pub const __NR_io_uring_enter: u32 = 1073742250; diff --git a/src/x32/if_arp.rs b/src/x32/if_arp.rs index 70e204ba..d073bb33 100644 --- a/src/x32/if_arp.rs +++ b/src/x32/if_arp.rs @@ -1117,6 +1117,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1452,6 +1454,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1812,7 +1815,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2392,7 +2397,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/x32/io_uring.rs b/src/x32/io_uring.rs index 21429fc7..928b77cf 100644 --- a/src/x32/io_uring.rs +++ b/src/x32/io_uring.rs @@ -178,7 +178,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1006,8 +1006,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1047,11 +1049,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1258,7 +1263,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/x32/net.rs b/src/x32/net.rs index 0f8da94c..f3ed9858 100644 --- a/src/x32/net.rs +++ b/src/x32/net.rs @@ -450,6 +450,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/x32/netlink.rs b/src/x32/netlink.rs index 4c9b1e4e..a8441072 100644 --- a/src/x32/netlink.rs +++ b/src/x32/netlink.rs @@ -139,6 +139,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -719,6 +724,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -943,6 +949,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1278,6 +1286,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1880,7 +1889,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2227,7 +2238,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2310,6 +2326,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2571,7 +2597,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -2968,7 +2997,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3344,7 +3376,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3547,6 +3580,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3868,6 +3929,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3937,7 +4011,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4517,7 +4593,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5253,13 +5330,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5295,7 +5372,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5337,7 +5414,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5379,7 +5456,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5402,6 +5479,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5465,6 +5548,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/x32/prctl.rs b/src/x32/prctl.rs index 3344cd11..43e3fe7d 100644 --- a/src/x32/prctl.rs +++ b/src/x32/prctl.rs @@ -150,6 +150,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/x32/ptrace.rs b/src/x32/ptrace.rs index c8174cea..b2c3face 100644 --- a/src/x32/ptrace.rs +++ b/src/x32/ptrace.rs @@ -377,6 +377,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; diff --git a/src/x86/btrfs.rs b/src/x86/btrfs.rs index f394082c..738e2dd4 100644 --- a/src/x86/btrfs.rs +++ b/src/x86/btrfs.rs @@ -174,7 +174,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -739,7 +739,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/x86/general.rs b/src/x86/general.rs index df5e3685..8340e443 100644 --- a/src/x86/general.rs +++ b/src/x86/general.rs @@ -288,7 +288,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1090,9 +1090,9 @@ pub sa_flags: crate::ctypes::c_ulong, pub sa_restorer: __sigrestore_t, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1266,6 +1266,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/x86/if_arp.rs b/src/x86/if_arp.rs index 258b3344..493d9eed 100644 --- a/src/x86/if_arp.rs +++ b/src/x86/if_arp.rs @@ -1117,6 +1117,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1452,6 +1454,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1812,7 +1815,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2392,7 +2397,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/x86/io_uring.rs b/src/x86/io_uring.rs index 25b871ca..daa4d5f0 100644 --- a/src/x86/io_uring.rs +++ b/src/x86/io_uring.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1008,8 +1008,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1049,11 +1051,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1260,7 +1265,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/x86/net.rs b/src/x86/net.rs index f3093ac8..dd8508dc 100644 --- a/src/x86/net.rs +++ b/src/x86/net.rs @@ -448,6 +448,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/x86/netlink.rs b/src/x86/netlink.rs index ce6930de..c6d503b3 100644 --- a/src/x86/netlink.rs +++ b/src/x86/netlink.rs @@ -137,6 +137,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -717,6 +722,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -941,6 +947,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1276,6 +1284,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1878,7 +1887,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2225,7 +2236,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2308,6 +2324,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2569,7 +2595,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -2966,7 +2995,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3342,7 +3374,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3545,6 +3578,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3866,6 +3927,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3935,7 +4009,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4515,7 +4591,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5251,13 +5328,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5293,7 +5370,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5335,7 +5412,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5377,7 +5454,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5400,6 +5477,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5463,6 +5546,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/x86/prctl.rs b/src/x86/prctl.rs index 88cdc034..92dffdff 100644 --- a/src/x86/prctl.rs +++ b/src/x86/prctl.rs @@ -148,6 +148,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/x86/ptrace.rs b/src/x86/ptrace.rs index cabcf029..b253c4aa 100644 --- a/src/x86/ptrace.rs +++ b/src/x86/ptrace.rs @@ -371,6 +371,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; diff --git a/src/x86_64/btrfs.rs b/src/x86_64/btrfs.rs index c7cf4e1d..3bd5fa3a 100644 --- a/src/x86_64/btrfs.rs +++ b/src/x86_64/btrfs.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -741,7 +741,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/x86_64/general.rs b/src/x86_64/general.rs index 2c052e7f..fa7abe68 100644 --- a/src/x86_64/general.rs +++ b/src/x86_64/general.rs @@ -290,7 +290,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1067,9 +1067,9 @@ pub sa_flags: crate::ctypes::c_ulong, pub sa_restorer: __sigrestore_t, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1240,6 +1240,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; @@ -2652,6 +2653,7 @@ pub const __NR_statx: u32 = 332; pub const __NR_io_pgetevents: u32 = 333; pub const __NR_rseq: u32 = 334; pub const __NR_uretprobe: u32 = 335; +pub const __NR_uprobe: u32 = 336; pub const __NR_pidfd_send_signal: u32 = 424; pub const __NR_io_uring_setup: u32 = 425; pub const __NR_io_uring_enter: u32 = 426; diff --git a/src/x86_64/if_arp.rs b/src/x86_64/if_arp.rs index b049cfec..b72fa7bd 100644 --- a/src/x86_64/if_arp.rs +++ b/src/x86_64/if_arp.rs @@ -1117,6 +1117,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1452,6 +1454,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1812,7 +1815,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2392,7 +2397,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/x86_64/io_uring.rs b/src/x86_64/io_uring.rs index 465f7d6b..678ae8fe 100644 --- a/src/x86_64/io_uring.rs +++ b/src/x86_64/io_uring.rs @@ -178,7 +178,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1006,8 +1006,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1047,11 +1049,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1258,7 +1263,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/x86_64/net.rs b/src/x86_64/net.rs index 21cf8c2a..7a95c67c 100644 --- a/src/x86_64/net.rs +++ b/src/x86_64/net.rs @@ -450,6 +450,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/x86_64/netlink.rs b/src/x86_64/netlink.rs index df490e01..0f222716 100644 --- a/src/x86_64/netlink.rs +++ b/src/x86_64/netlink.rs @@ -139,6 +139,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -719,6 +724,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -943,6 +949,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1278,6 +1286,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1880,7 +1889,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2227,7 +2238,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2310,6 +2326,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2571,7 +2597,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -2968,7 +2997,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3344,7 +3376,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3547,6 +3580,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3868,6 +3929,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -3937,7 +4011,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4517,7 +4593,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5253,13 +5330,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5295,7 +5372,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5337,7 +5414,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5379,7 +5456,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5402,6 +5479,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5465,6 +5548,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/x86_64/prctl.rs b/src/x86_64/prctl.rs index c4980142..e98e0a80 100644 --- a/src/x86_64/prctl.rs +++ b/src/x86_64/prctl.rs @@ -150,6 +150,7 @@ pub const PR_SET_NO_NEW_PRIVS: u32 = 38; pub const PR_GET_NO_NEW_PRIVS: u32 = 39; pub const PR_GET_TID_ADDRESS: u32 = 40; pub const PR_SET_THP_DISABLE: u32 = 41; +pub const PR_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/x86_64/ptrace.rs b/src/x86_64/ptrace.rs index ebe66614..67629c6e 100644 --- a/src/x86_64/ptrace.rs +++ b/src/x86_64/ptrace.rs @@ -377,6 +377,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700;