Need an IPPROTO_UDP

This commit is contained in:
Ben Gras 2005-09-01 15:24:05 +00:00
parent f6f6cec7f4
commit f67ccc7333

View 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