diff options
author | Szabolcs Nagy <nsz@port70.net> | 2016-03-19 13:36:42 +0100 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-03-19 11:31:13 -0400 |
commit | c1aabc6cacc15feef8e5db4cbfee14ee8be2ff26 (patch) | |
tree | 39fd748d3a0eb046a5fc9300c1a813da91e7d5e1 /include/sys | |
parent | 8ffa0375f2008818f443b4fdc7d481715cd6a5a0 (diff) | |
download | musl-c1aabc6cacc15feef8e5db4cbfee14ee8be2ff26.tar.gz musl-c1aabc6cacc15feef8e5db4cbfee14ee8be2ff26.tar.bz2 musl-c1aabc6cacc15feef8e5db4cbfee14ee8be2ff26.tar.xz musl-c1aabc6cacc15feef8e5db4cbfee14ee8be2ff26.zip |
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
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/socket.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h index a4db9402..fd653490 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 |