This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Add IPPROTO_SCTP


Here's a patch to add IPPROTO_SCTP to in.h.  SCTP, or Stream Control
Transmission Protocol, is an IETF defined IP protocol described in RFC
2960.   This patch defines the appropriate IANA assigned number for
SCTP.   

Thanks,
Jon Grimm
jgrimm at us dot ibm dot com


2003-03-24  Jon Grimm  <jgrimm at us dot ibm dot com>

	* inet/netinet/in.h: Add IPPROTO_SCTP.

--- glibc-2.3.2.bak/inet/netinet/in.h	Sat Jul  7 14:21:03 2001
+++ glibc-2.3.2/inet/netinet/in.h	Mon Mar 24 10:29:16 2003
@@ -79,6 +79,8 @@
 #define IPPROTO_PIM		IPPROTO_PIM
     IPPROTO_COMP = 108,	   /* Compression Header Protocol.  */
 #define IPPROTO_COMP		IPPROTO_COMP
+    IPPROTO_SCTP = 132,	   /* Stream Control Transmission Protocol.  */
+#define IPPROTO_SCTP		IPPROTO_SCTP
     IPPROTO_RAW = 255,	   /* Raw IP packets.  */
 #define IPPROTO_RAW		IPPROTO_RAW
     IPPROTO_MAX


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]