sys/socket.h: add SO_BINDTOIFINDEX from linux v5.1
authorSzabolcs Nagy <nsz@port70.net>
Sat, 29 Jun 2019 21:13:18 +0000 (21:13 +0000)
committerRich Felker <dalias@aerifal.cx>
Mon, 1 Jul 2019 18:12:36 +0000 (14:12 -0400)
commit5b2b682ddc67552dcd16ed6a095b7f67f47c16c3
tree267fd14b0ba384e9af3c7c1131d7b060f398b731
parent4523505114f6a7d0f2e416b0546e5bc1bb564698
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
include/sys/socket.h