diff options
author | Christoph Müllner <christoph.muellner@vrull.eu> | 2025-08-01 13:55:33 +0200 |
---|---|---|
committer | Christoph Müllner <christophm30@gmail.com> | 2025-08-01 20:40:25 +0200 |
commit | 5d061c0ee23b1052d796e4e8e421aa6e16166fed (patch) | |
tree | 0ec5b8dceabfae236de0759c048b2a8fefad047f /linux-headers/include/linux/vm_sockets.h | |
parent | 686d7e6564509f1b25127df47e2f27a66958d0a0 (diff) | |
download | riscv-gnu-toolchain-master.zip riscv-gnu-toolchain-master.tar.gz riscv-gnu-toolchain-master.tar.bz2 |
This patch imports the Linux kernel headers v6.16.
This brings tons of new supported extensions for hwprobe.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Diffstat (limited to 'linux-headers/include/linux/vm_sockets.h')
-rw-r--r-- | linux-headers/include/linux/vm_sockets.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/linux-headers/include/linux/vm_sockets.h b/linux-headers/include/linux/vm_sockets.h index 3692d43..e401160 100644 --- a/linux-headers/include/linux/vm_sockets.h +++ b/linux-headers/include/linux/vm_sockets.h @@ -17,6 +17,8 @@ #ifndef _VM_SOCKETS_H #define _VM_SOCKETS_H +#include <sys/socket.h> /* for struct sockaddr and sa_family_t */ + #include <linux/socket.h> #include <linux/types.h> @@ -189,4 +191,21 @@ struct sockaddr_vm { #define IOCTL_VM_SOCKETS_GET_LOCAL_CID _IO(7, 0xb9) +/* MSG_ZEROCOPY notifications are encoded in the standard error format, + * sock_extended_err. See Documentation/networking/msg_zerocopy.rst in + * kernel source tree for more details. + */ + +/* 'cmsg_level' field value of 'struct cmsghdr' for notification parsing + * when MSG_ZEROCOPY flag is used on transmissions. + */ + +#define SOL_VSOCK 287 + +/* 'cmsg_type' field value of 'struct cmsghdr' for notification parsing + * when MSG_ZEROCOPY flag is used on transmissions. + */ + +#define VSOCK_RECVERR 1 + #endif /* _VM_SOCKETS_H */ |