mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01: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:
parent
9a6533429e
commit
fbdd8b3fa8
1 changed files with 2 additions and 0 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue