about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2018-08-22 16:28:31 +0000
committerRich Felker <dalias@aerifal.cx>2018-12-09 22:24:12 -0500
commit0a9a5c20c7ebaba9f60f75a6c40a9506d721dff5 (patch)
treed963badc38b9bd7976258ffc92a20e22a8794a1e
parent4b9b8c8ee66a0b789c9be74e068828f2b74ef6ed (diff)
downloadmusl-0a9a5c20c7ebaba9f60f75a6c40a9506d721dff5.tar.gz
musl-0a9a5c20c7ebaba9f60f75a6c40a9506d721dff5.tar.xz
musl-0a9a5c20c7ebaba9f60f75a6c40a9506d721dff5.zip
add AF_XDP to sys/socket.h from linux v4.18
new address family and related macros were added in linux commit
68e8b849b221b37a78a110a0307717d45e3593a0
-rw-r--r--include/sys/socket.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h
index 14be6e99..1dec4b00 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -109,7 +109,8 @@ struct linger {
 #define PF_KCM          41
 #define PF_QIPCRTR      42
 #define PF_SMC          43
-#define PF_MAX          44
+#define PF_XDP          44
+#define PF_MAX          45
 
 #define AF_UNSPEC       PF_UNSPEC
 #define AF_LOCAL        PF_LOCAL
@@ -158,6 +159,7 @@ struct linger {
 #define AF_KCM          PF_KCM
 #define AF_QIPCRTR      PF_QIPCRTR
 #define AF_SMC          PF_SMC
+#define AF_XDP          PF_XDP
 #define AF_MAX          PF_MAX
 
 #ifndef SO_DEBUG
@@ -265,6 +267,7 @@ struct linger {
 #define SOL_NFC         280
 #define SOL_KCM         281
 #define SOL_TLS         282
+#define SOL_XDP         283
 
 #define SOMAXCONN       128