diff options
author | Mehak Mahajan <mmahajan@nicira.com> | 2012-03-10 15:58:10 -0800 |
---|---|---|
committer | Mehak Mahajan <mmahajan@nicira.com> | 2012-03-23 18:13:08 -0700 |
commit | f125905cdd3dc0339ad968c0a70128807884b400 (patch) | |
tree | ab389d41b625f2d9e5c820bdac80ec2df825ff8a /include/sparse | |
parent | 11460e2316b88f0bd0ea0005d94338d800ea16bd (diff) | |
download | openvswitch-f125905cdd3dc0339ad968c0a70128807884b400.tar.gz |
Allow configuring DSCP on controller and manager connections.
The changes allow the user to specify a separate dscp value for the
controller connection and the manager connection. The value will take
effect on resetting the connections. If no value is specified a default
value of 192 is chosen for each of the connections.
Feature #10074
Requested-by: Rajiv Ramanathan <rramanathan@nicira.com>
Signed-off-by: Mehak Mahajan <mmahajan@nicira.com>
Diffstat (limited to 'include/sparse')
-rw-r--r-- | include/sparse/netinet/in.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/sparse/netinet/in.h b/include/sparse/netinet/in.h index d86431ada..ed31463ad 100644 --- a/include/sparse/netinet/in.h +++ b/include/sparse/netinet/in.h @@ -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 |