add SO_BPF_EXTENSIONS socket option
authorSzabolcs Nagy <nsz@port70.net>
Fri, 30 May 2014 12:07:59 +0000 (14:07 +0200)
committerRich Felker <dalias@aerifal.cx>
Fri, 30 May 2014 17:06:51 +0000 (13:06 -0400)
this was introduced to query BPF extension support with getsockopt
in linux 3.14, commit ea02f9411d9faa3553ed09ce0ec9f00ceae9885e

include/sys/socket.h

index 8e8c9e9..d752791 100644 (file)
@@ -203,6 +203,7 @@ struct linger
 #define SO_SELECT_ERR_QUEUE     45
 #define SO_BUSY_POLL            46
 #define SO_MAX_PACING_RATE      47
+#define SO_BPF_EXTENSIONS       48
 
 #ifndef SOL_SOCKET
 #define SOL_SOCKET      1