projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ffa037
)
add SO_ATTACH_REUSEPORT_[CE]BPF socket options from linux v4.5
author
Szabolcs Nagy
<nsz@port70.net>
Sat, 19 Mar 2016 12:36:42 +0000
(13:36 +0100)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 19 Mar 2016 15:31:13 +0000
(11:31 -0400)
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
patch
|
blob
|
history
diff --git
a/include/sys/socket.h
b/include/sys/socket.h
index a4db94026336fbd0c95b4ca4afc3cbad5b4ce9fe..fd6534909f1e2ded767da11b573611574d67f10f 100644
(file)
--- 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