From f67ccc7333c5527933ca3427d2fc205d40ddc7e9 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 1 Sep 2005 15:24:05 +0000 Subject: [PATCH] Need an IPPROTO_UDP --- include/netinet/in.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.44.0