From 9159b85862a86fab20e308601602a5b2ab08c933 Mon Sep 17 00:00:00 2001 From: Andy Zhou Date: Wed, 26 Feb 2014 18:51:54 -0800 Subject: [PATCH] sparse: add defintions to include/sparse/netinet/in.h Fixed sparse undefined symbol warnings. Signed-off-by: Andy Zhou Acked-by: Ben Pfaff --- include/sparse/netinet/in.h | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.43.0