]> Zhao Yanbai Git Server - minix.git/commitdiff
Need an IPPROTO_UDP
authorBen Gras <ben@minix3.org>
Thu, 1 Sep 2005 15:24:05 +0000 (15:24 +0000)
committerBen Gras <ben@minix3.org>
Thu, 1 Sep 2005 15:24:05 +0000 (15:24 +0000)
include/netinet/in.h

index 8f9377010aef229b3d97a360c7a67020ff2b6041..278f406acfa2b5625a0a70ab24fece25ebdf97e2 100644 (file)
@@ -29,6 +29,7 @@ typedef uint8_t               sa_family_t;
 /* Protocols */
 #define IPPROTO_IP     0       /* Dummy protocol */
 #define IPPROTO_TCP    6       /* TCP */
+#define IPPROTO_UDP    17      /* UDP */
 
 /* setsockopt options at IP level */
 #define IP_ADD_MEMBERSHIP      12