diff options
author | Andy Zhou <azhou@nicira.com> | 2014-02-26 18:51:54 -0800 |
---|---|---|
committer | Andy Zhou <azhou@nicira.com> | 2014-02-28 16:29:38 -0800 |
commit | 9159b85862a86fab20e308601602a5b2ab08c933 (patch) | |
tree | efafe93f2d9279782a2ffa05ab996d7889d547e7 /include/sparse/netinet | |
parent | 45cd2b9376dc4c3aba2e5036318196061473304e (diff) | |
download | openvswitch-9159b85862a86fab20e308601602a5b2ab08c933.tar.gz |
sparse: add defintions to include/sparse/netinet/in.h
Fixed sparse undefined symbol warnings.
Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'include/sparse/netinet')
-rw-r--r-- | include/sparse/netinet/in.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sparse/netinet/in.h b/include/sparse/netinet/in.h index a2204282d..d51722e95 100644 --- a/include/sparse/netinet/in.h +++ b/include/sparse/netinet/in.h @@ -58,6 +58,7 @@ struct sockaddr_in6 { }; #define IPPROTO_IP 0 +#define IPPROTO_IPV6 41 #define IPPROTO_HOPOPTS 0 #define IPPROTO_ICMP 1 #define IPPROTO_TCP 6 @@ -98,6 +99,8 @@ struct sockaddr_in6 { #define INET6_ADDRSTRLEN 46 +#define IPV6_TCLASS 67 + static inline ovs_be32 htonl(uint32_t x) { return (OVS_FORCE ovs_be32) x; |