X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fsparse%2Fnetinet%2Fin.h;h=b3924c3a1ec34ed3a8f0d21b4a9b3f198b8cdd4f;hb=1e3f34c7693bcabae8e443ac1b246680ef9b60e2;hp=d86431ada496852c156c017402f76db9855fc4c0;hpb=6506f45c0818618e96deb858bbabdf2cc90eb2df;p=sliver-openvswitch.git diff --git a/include/sparse/netinet/in.h b/include/sparse/netinet/in.h index d86431ada..b3924c3a1 100644 --- a/include/sparse/netinet/in.h +++ b/include/sparse/netinet/in.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 Nicira Networks. + * Copyright (c) 2011 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -60,6 +60,27 @@ extern const struct in6_addr in6addr_any; #define IPPROTO_NONE 59 #define IPPROTO_DSTOPTS 60 +/* All the IP options documented in Linux ip(7). */ +#define IP_ADD_MEMBERSHIP 0 +#define IP_DROP_MEMBERSHIP 1 +#define IP_HDRINCL 2 +#define IP_MTU 3 +#define IP_MTU_DISCOVER 4 +#define IP_MULTICAST_IF 5 +#define IP_MULTICAST_LOOP 6 +#define IP_MULTICAST_TTL 7 +#define IP_NODEFRAG 8 +#define IP_OPTIONS 9 +#define IP_PKTINFO 10 +#define IP_RECVERR 11 +#define IP_RECVOPTS 12 +#define IP_RECVTOS 13 +#define IP_RECVTTL 14 +#define IP_RETOPTS 15 +#define IP_ROUTER_ALERT 16 +#define IP_TOS 17 +#define IP_TTL 18 + #define INADDR_ANY 0x00000000 #define INADDR_BROADCAST 0xffffffff #define INADDR_NONE 0xffffffff