Commit 8a7c4c77267b1c77296cd03e6704813cb70706d1
Committed by
David S. Miller
1 parent
0c5f9b8830
Exists in
master
and in
7 other branches
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: Andy Grover <andy.grover@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff
include/linux/socket.h
... | ... | @@ -179,6 +179,7 @@ |
179 | 179 | #define AF_ASH 18 /* Ash */ |
180 | 180 | #define AF_ECONET 19 /* Acorn Econet */ |
181 | 181 | #define AF_ATMSVC 20 /* ATM SVCs */ |
182 | +#define AF_RDS 21 /* RDS sockets */ | |
182 | 183 | #define AF_SNA 22 /* Linux SNA Project (nutters!) */ |
183 | 184 | #define AF_IRDA 23 /* IRDA sockets */ |
184 | 185 | #define AF_PPPOX 24 /* PPPoX sockets */ |
... | ... | @@ -217,6 +218,7 @@ |
217 | 218 | #define PF_ASH AF_ASH |
218 | 219 | #define PF_ECONET AF_ECONET |
219 | 220 | #define PF_ATMSVC AF_ATMSVC |
221 | +#define PF_RDS AF_RDS | |
220 | 222 | #define PF_SNA AF_SNA |
221 | 223 | #define PF_IRDA AF_IRDA |
222 | 224 | #define PF_PPPOX AF_PPPOX |
... | ... | @@ -298,6 +300,7 @@ |
298 | 300 | #define SOL_PPPOL2TP 273 |
299 | 301 | #define SOL_BLUETOOTH 274 |
300 | 302 | #define SOL_PNPIPE 275 |
303 | +#define SOL_RDS 276 | |
301 | 304 | |
302 | 305 | /* IPX options */ |
303 | 306 | #define IPX_TYPE 1 |