mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Add MSG_SOCK_DEVMEM from Linux 6.12 to bits/socket.h
Linux 6.12 adds a constant MSG_SOCK_DEVMEM (recall that various constants such as this one are defined in the non-uapi linux/socket.h but still form part of the kernel/userspace interface, so that non-uapi header is one that needs checking each release for new such constants). Add it to glibc's bits/socket.h. Tested for x86_64.
This commit is contained in:
@ -246,6 +246,8 @@ enum
|
||||
#define MSG_WAITFORONE MSG_WAITFORONE
|
||||
MSG_BATCH = 0x40000, /* sendmmsg: more messages coming. */
|
||||
#define MSG_BATCH MSG_BATCH
|
||||
MSG_SOCK_DEVMEM = 0x2000000, /* Receive devmem skbs as cmsg. */
|
||||
#define MSG_SOCK_DEVMEM MSG_SOCK_DEVMEM
|
||||
MSG_ZEROCOPY = 0x4000000, /* Use user data in kernel path. */
|
||||
#define MSG_ZEROCOPY MSG_ZEROCOPY
|
||||
MSG_FASTOPEN = 0x20000000, /* Send data in TCP SYN. */
|
||||
|
Reference in New Issue
Block a user