]> granicus.if.org Git - musl/commitdiff
add SO_CNX_ADVICE to sys/socket.h, new in linux v4.6
authorSzabolcs Nagy <nsz@port70.net>
Thu, 26 May 2016 20:05:25 +0000 (22:05 +0200)
committerRich Felker <dalias@aerifal.cx>
Thu, 9 Jun 2016 17:40:07 +0000 (13:40 -0400)
new socket option so application can give advice about routing
path quality of connected udp sockets, added in linux commit
a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314

include/sys/socket.h

index 678837501dd592dec80fd8a9134b74c1ec77a6f7..2f400acbdc9c4184c1b584dd497ea6ea0ba0e03c 100644 (file)
@@ -222,6 +222,7 @@ struct linger
 #define SO_DETACH_BPF           SO_DETACH_FILTER
 #define SO_ATTACH_REUSEPORT_CBPF 51
 #define SO_ATTACH_REUSEPORT_EBPF 52
+#define SO_CNX_ADVICE           53
 
 #ifndef SOL_SOCKET
 #define SOL_SOCKET      1