sparse: add defintions to include/sparse/netinet/in.h
authorAndy Zhou <azhou@nicira.com>
Thu, 27 Feb 2014 02:51:54 +0000 (18:51 -0800)
committerAndy Zhou <azhou@nicira.com>
Sat, 1 Mar 2014 00:29:38 +0000 (16:29 -0800)
Fixed sparse undefined symbol warnings.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
include/sparse/netinet/in.h

index a220428..d51722e 100644 (file)
@@ -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;