>From ea4834ccf44ab8ea5c7a2200a5af6b3790e8f396 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Sat, 29 Jun 2019 21:13:18 +0000
Subject: [PATCH 06/12] 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 | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.21.0