can I add IPPROTO_SCTP to in.h? only one port wants it at the
moment, but I think I've seen others in the past.

Index: netinet/in.h
===================================================================
RCS file: /cvs/src/sys/netinet/in.h,v
retrieving revision 1.139
diff -u -p -r1.139 in.h
--- netinet/in.h        7 Jan 2021 14:51:46 -0000       1.139
+++ netinet/in.h        18 Jan 2021 12:12:02 -0000
@@ -97,6 +97,7 @@ typedef __in_port_t   in_port_t;      /* IP por
 #define        IPPROTO_PIM             103             /* Protocol indep. 
multicast */
 #define        IPPROTO_IPCOMP          108             /* IP Payload Comp. 
Protocol */
 #define        IPPROTO_CARP            112             /* CARP */
+#define        IPPROTO_SCTP            132             /* SCTP, RFC 4960 */
 #define        IPPROTO_UDPLITE         136             /* UDP-Lite, RFC 3828 */
 #define        IPPROTO_MPLS            137             /* unicast MPLS packet 
*/
 #define        IPPROTO_PFSYNC          240             /* PFSYNC */

Reply via email to