mirror of git://git.musl-libc.org/musl
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
This commit is contained in:
parent
8ffa0375f2
commit
c1aabc6cac
|
@ -220,7 +220,8 @@ struct linger
|
||||||
#define SO_INCOMING_CPU 49
|
#define SO_INCOMING_CPU 49
|
||||||
#define SO_ATTACH_BPF 50
|
#define SO_ATTACH_BPF 50
|
||||||
#define SO_DETACH_BPF SO_DETACH_FILTER
|
#define SO_DETACH_BPF SO_DETACH_FILTER
|
||||||
|
#define SO_ATTACH_REUSEPORT_CBPF 51
|
||||||
|
#define SO_ATTACH_REUSEPORT_EBPF 52
|
||||||
|
|
||||||
#ifndef SOL_SOCKET
|
#ifndef SOL_SOCKET
|
||||||
#define SOL_SOCKET 1
|
#define SOL_SOCKET 1
|
||||||
|
|
Loading…
Reference in New Issue