Fixed sparse undefined symbol warnings.
Signed-off-by: Andy Zhou <[email protected]>
---
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 a220428..d51722e 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;
--
1.7.9.5
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev