提交 8a7c4c77 编写于 作者: A Andy Grover 提交者: David S. Miller

RDS: Add AF and PF #defines for RDS sockets

RDS is a reliable datagram protocol used for IPC on Oracle
database clusters. This adds address and protocol family numbers
for it.
Signed-off-by: NAndy Grover <andy.grover@oracle.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 0c5f9b88
...@@ -179,6 +179,7 @@ struct ucred { ...@@ -179,6 +179,7 @@ struct ucred {
#define AF_ASH 18 /* Ash */ #define AF_ASH 18 /* Ash */
#define AF_ECONET 19 /* Acorn Econet */ #define AF_ECONET 19 /* Acorn Econet */
#define AF_ATMSVC 20 /* ATM SVCs */ #define AF_ATMSVC 20 /* ATM SVCs */
#define AF_RDS 21 /* RDS sockets */
#define AF_SNA 22 /* Linux SNA Project (nutters!) */ #define AF_SNA 22 /* Linux SNA Project (nutters!) */
#define AF_IRDA 23 /* IRDA sockets */ #define AF_IRDA 23 /* IRDA sockets */
#define AF_PPPOX 24 /* PPPoX sockets */ #define AF_PPPOX 24 /* PPPoX sockets */
...@@ -217,6 +218,7 @@ struct ucred { ...@@ -217,6 +218,7 @@ struct ucred {
#define PF_ASH AF_ASH #define PF_ASH AF_ASH
#define PF_ECONET AF_ECONET #define PF_ECONET AF_ECONET
#define PF_ATMSVC AF_ATMSVC #define PF_ATMSVC AF_ATMSVC
#define PF_RDS AF_RDS
#define PF_SNA AF_SNA #define PF_SNA AF_SNA
#define PF_IRDA AF_IRDA #define PF_IRDA AF_IRDA
#define PF_PPPOX AF_PPPOX #define PF_PPPOX AF_PPPOX
...@@ -298,6 +300,7 @@ struct ucred { ...@@ -298,6 +300,7 @@ struct ucred {
#define SOL_PPPOL2TP 273 #define SOL_PPPOL2TP 273
#define SOL_BLUETOOTH 274 #define SOL_BLUETOOTH 274
#define SOL_PNPIPE 275 #define SOL_PNPIPE 275
#define SOL_RDS 276
/* IPX options */ /* IPX options */
#define IPX_TYPE 1 #define IPX_TYPE 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册