Need an IPPROTO_UDP
This commit is contained in:
parent
f6f6cec7f4
commit
f67ccc7333
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ typedef uint8_t sa_family_t;
|
||||||
/* Protocols */
|
/* Protocols */
|
||||||
#define IPPROTO_IP 0 /* Dummy protocol */
|
#define IPPROTO_IP 0 /* Dummy protocol */
|
||||||
#define IPPROTO_TCP 6 /* TCP */
|
#define IPPROTO_TCP 6 /* TCP */
|
||||||
|
#define IPPROTO_UDP 17 /* UDP */
|
||||||
|
|
||||||
/* setsockopt options at IP level */
|
/* setsockopt options at IP level */
|
||||||
#define IP_ADD_MEMBERSHIP 12
|
#define IP_ADD_MEMBERSHIP 12
|
||||||
|
|
Loading…
Reference in a new issue