diff options
author | Szabolcs Nagy <nsz@port70.net> | 2019-06-29 21:13:18 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-07-01 14:12:36 -0400 |
commit | 5b2b682ddc67552dcd16ed6a095b7f67f47c16c3 (patch) | |
tree | 267fd14b0ba384e9af3c7c1131d7b060f398b731 /include | |
parent | 4523505114f6a7d0f2e416b0546e5bc1bb564698 (diff) | |
download | musl-5b2b682ddc67552dcd16ed6a095b7f67f47c16c3.tar.gz musl-5b2b682ddc67552dcd16ed6a095b7f67f47c16c3.tar.bz2 musl-5b2b682ddc67552dcd16ed6a095b7f67f47c16c3.tar.xz musl-5b2b682ddc67552dcd16ed6a095b7f67f47c16c3.zip |
sys/socket.h: add SO_BINDTOIFINDEX from linux v5.1
SO_BINDTOIFINDEX behaves similar to SO_BINDTODEVICE, but takes a
network interface index as argument, rather than the network
interface name. see
linux commit f5dd3d0c9638a9d9a02b5964c4ad636f06cf7e2c
net: introduce SO_BINDTOIFINDEX sockopt
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h index cd38a4c8..8692efa7 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -237,6 +237,7 @@ struct linger { #define SO_ZEROCOPY 60 #define SO_TXTIME 61 #define SCM_TXTIME SO_TXTIME +#define SO_BINDTOIFINDEX 62 #ifndef SOL_SOCKET #define SOL_SOCKET 1 |