From: Ben Gras Date: Thu, 1 Sep 2005 15:24:05 +0000 (+0000) Subject: Need an IPPROTO_UDP X-Git-Tag: v3.1.0~207 X-Git-Url: http://zhaoyanbai.com/repos/man.host.html?a=commitdiff_plain;h=f67ccc7333c5527933ca3427d2fc205d40ddc7e9;p=minix.git Need an IPPROTO_UDP --- diff --git a/include/netinet/in.h b/include/netinet/in.h index 8f9377010..278f406ac 100644 --- a/include/netinet/in.h +++ b/include/netinet/in.h @@ -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