Netdev List
 help / color / mirror / Atom feed
* [PATCH] RDS: Add AF and PF defines for RDS sockets
@ 2008-08-26  4:02 Andy Grover
  2008-08-26  4:16 ` Marcel Holtmann
  0 siblings, 1 reply; 7+ messages in thread
From: Andy Grover @ 2008-08-26  4:02 UTC (permalink / raw)
  To: netdev

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>
---
 include/linux/socket.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/linux/socket.h b/include/linux/socket.h
index dc5086f..e1f7764 100644
--- a/include/linux/socket.h
+++ b/include/linux/socket.h
@@ -190,7 +190,8 @@ struct ucred {
 #define AF_IUCV		32	/* IUCV sockets			*/
 #define AF_RXRPC	33	/* RxRPC sockets 		*/
 #define AF_ISDN		34	/* mISDN sockets 		*/
-#define AF_MAX		35	/* For now.. */
+#define AF_RDS		35	/* RDS sockets 			*/
+#define AF_MAX		36	/* For now.. */
 
 /* Protocol families, same as address families. */
 #define PF_UNSPEC	AF_UNSPEC
@@ -227,6 +228,7 @@ struct ucred {
 #define PF_IUCV		AF_IUCV
 #define PF_RXRPC	AF_RXRPC
 #define PF_ISDN		AF_ISDN
+#define PF_RDS		AF_RDS
 #define PF_MAX		AF_MAX
 
 /* Maximum queue length specifiable by listen.  */
-- 
1.5.4.rc3




^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-09-11 21:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-26  4:02 [PATCH] RDS: Add AF and PF defines for RDS sockets Andy Grover
2008-08-26  4:16 ` Marcel Holtmann
2008-08-26  4:29   ` David Miller
2008-08-28  7:06     ` David Woodhouse
2008-08-28  7:24       ` David Miller
2008-09-11 18:44         ` Andrew Grover
2008-09-11 21:54           ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox