summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2021-03-07 21:19:36 +0000
committerRich Felker <dalias@aerifal.cx>2022-03-08 17:19:40 -0500
commitc5ecaca743e4d6c1be7e3fd91dee62e560acb7e2 (patch)
treeccd53181ed563aea2c79af06f1b5e4037f76c657 /include
parentf35b99b38721c0e76152069254b642dd345da784 (diff)
downloadmusl-c5ecaca743e4d6c1be7e3fd91dee62e560acb7e2.tar.gz
sys/socket.h: add new SO_ socket options from linux v5.11
see linux commit 7fd3253a7de6a317a0683f83739479fb880bffc8 net: Introduce preferred busy-polling linux commit 7c951cafc0cb2e575f1d58677b95ac387ac0a5bd net: Add SO_BUSY_POLL_BUDGET socket option
Diffstat (limited to 'include')
-rw-r--r--include/sys/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h
index 38f5bb17..6dc1e40a 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -289,6 +289,8 @@ struct linger {
#define SCM_TXTIME SO_TXTIME
#define SO_BINDTOIFINDEX 62
#define SO_DETACH_REUSEPORT_BPF 68
+#define SO_PREFER_BUSY_POLL 69
+#define SO_BUSY_POLL_BUDGET 70
#ifndef SOL_SOCKET
#define SOL_SOCKET 1