From: Andy Zhou Date: Thu, 27 Feb 2014 02:51:54 +0000 (-0800) Subject: sparse: add defintions to include/sparse/netinet/in.h X-Git-Tag: sliver-openvswitch-2.2.90-1~9^2~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=9159b85862a86fab20e308601602a5b2ab08c933;hp=45cd2b9376dc4c3aba2e5036318196061473304e;p=sliver-openvswitch.git sparse: add defintions to include/sparse/netinet/in.h Fixed sparse undefined symbol warnings. Signed-off-by: Andy Zhou Acked-by: Ben Pfaff --- 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;