mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: [PATCH 4/6] add SO_ATTACH_REUSEPORT_[CE]BPF socket options from linux v4.5
Date: Sat, 19 Mar 2016 13:36:42 +0100	[thread overview]
Message-ID: <23c07406c627bcea7577bba17203658beb9209b5.1458390390.git.nsz@port70.net> (raw)
In-Reply-To: <cover.1458390390.git.nsz@port70.net>

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



  parent reply	other threads:[~2016-03-19 12:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-19 12:34 [PATCH 0/6] linux v4.5 updates Szabolcs Nagy
2016-03-19 12:35 ` [PATCH 1/6] mips64: add recent linux syscall numbers Szabolcs Nagy
2016-03-19 12:35 ` [PATCH 2/6] add copy_file_range syscall numbers from linux v4.5 Szabolcs Nagy
2016-03-19 12:36 ` [PATCH 3/6] add IPV6_HDRINCL socket option " Szabolcs Nagy
2016-03-19 12:36 ` Szabolcs Nagy [this message]
2016-03-19 12:37 ` [PATCH 5/6] add EPOLLEXCLUSIVE epoll flag " Szabolcs Nagy
2016-03-19 12:37 ` [PATCH 6/6] add MADV_FREE madvise command " Szabolcs Nagy
2016-03-19 15:33 ` [PATCH 0/6] linux v4.5 updates Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=23c07406c627bcea7577bba17203658beb9209b5.1458390390.git.nsz@port70.net \
    --to=nsz@port70.net \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).