提交 3d4583c3 编写于 作者: S Szabolcs Nagy

add protocol families PF_IB and PF_VSOCK to socket.h

linux commit 8d36eb01da5d371feffa280e501377b5c450f5a5 (2013-05-29)
added PF_IB for InfiniBand

linux commit d021c344051af91f42c5ba9fdedc176740cbd238 (2013-02-06)
added PF_VSOCK for VMware sockets
上级 b54f169b
...@@ -82,6 +82,7 @@ struct linger ...@@ -82,6 +82,7 @@ struct linger
#define PF_PPPOX 24 #define PF_PPPOX 24
#define PF_WANPIPE 25 #define PF_WANPIPE 25
#define PF_LLC 26 #define PF_LLC 26
#define PF_IB 27
#define PF_CAN 29 #define PF_CAN 29
#define PF_TIPC 30 #define PF_TIPC 30
#define PF_BLUETOOTH 31 #define PF_BLUETOOTH 31
...@@ -93,7 +94,8 @@ struct linger ...@@ -93,7 +94,8 @@ struct linger
#define PF_CAIF 37 #define PF_CAIF 37
#define PF_ALG 38 #define PF_ALG 38
#define PF_NFC 39 #define PF_NFC 39
#define PF_MAX 40 #define PF_VSOCK 40
#define PF_MAX 41
#define AF_UNSPEC PF_UNSPEC #define AF_UNSPEC PF_UNSPEC
#define AF_LOCAL PF_LOCAL #define AF_LOCAL PF_LOCAL
...@@ -125,6 +127,7 @@ struct linger ...@@ -125,6 +127,7 @@ struct linger
#define AF_PPPOX PF_PPPOX #define AF_PPPOX PF_PPPOX
#define AF_WANPIPE PF_WANPIPE #define AF_WANPIPE PF_WANPIPE
#define AF_LLC PF_LLC #define AF_LLC PF_LLC
#define AF_IB PF_IB
#define AF_CAN PF_CAN #define AF_CAN PF_CAN
#define AF_TIPC PF_TIPC #define AF_TIPC PF_TIPC
#define AF_BLUETOOTH PF_BLUETOOTH #define AF_BLUETOOTH PF_BLUETOOTH
...@@ -136,6 +139,7 @@ struct linger ...@@ -136,6 +139,7 @@ struct linger
#define AF_CAIF PF_CAIF #define AF_CAIF PF_CAIF
#define AF_ALG PF_ALG #define AF_ALG PF_ALG
#define AF_NFC PF_NFC #define AF_NFC PF_NFC
#define AF_VSOCK PF_VSOCK
#define AF_MAX PF_MAX #define AF_MAX PF_MAX
#ifndef SO_DEBUG #ifndef SO_DEBUG
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册