|
Message-ID: <23c07406c627bcea7577bba17203658beb9209b5.1458390390.git.nsz@port70.net> Date: Sat, 19 Mar 2016 13:36:42 +0100 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: [PATCH 4/6] add SO_ATTACH_REUSEPORT_[CE]BPF socket options from linux v4.5 new socket options for setting classic or extended BPF program for sockets in a SO_REUSEPORT group. added in linux commit 538950a1b7527a0a52ccd9337e3fcd304f027f13 --- include/sys/socket.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/sys/socket.h b/include/sys/socket.h index a4db940..fd65349 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -220,7 +220,8 @@ struct linger #define SO_INCOMING_CPU 49 #define SO_ATTACH_BPF 50 #define SO_DETACH_BPF SO_DETACH_FILTER - +#define SO_ATTACH_REUSEPORT_CBPF 51 +#define SO_ATTACH_REUSEPORT_EBPF 52 #ifndef SOL_SOCKET #define SOL_SOCKET 1 -- 2.7.2
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.