Browse Source

add PF_QIPCRTR, AF_QIPCRTR from linux v4.7 to sys/socket.h

macros for qualcom ip router protocol, new in linux commit
bdabad3e363d825ddf9679dd431cca0b2c30f881
Szabolcs Nagy 8 years ago
parent
commit
0f8ad40be0
1 changed files with 3 additions and 1 deletions
  1. 3 1
      include/sys/socket.h

+ 3 - 1
include/sys/socket.h

@@ -107,7 +107,8 @@ struct linger {
 #define PF_NFC          39
 #define PF_VSOCK        40
 #define PF_KCM          41
-#define PF_MAX          42
+#define PF_QIPCRTR      42
+#define PF_MAX          43
 
 #define AF_UNSPEC       PF_UNSPEC
 #define AF_LOCAL        PF_LOCAL
@@ -154,6 +155,7 @@ struct linger {
 #define AF_NFC          PF_NFC
 #define AF_VSOCK        PF_VSOCK
 #define AF_KCM          PF_KCM
+#define AF_QIPCRTR      PF_QIPCRTR
 #define AF_MAX          PF_MAX
 
 #ifndef SO_DEBUG