git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
45cd2b9
)
sparse: add defintions to include/sparse/netinet/in.h
author
Andy Zhou
<azhou@nicira.com>
Thu, 27 Feb 2014 02:51:54 +0000
(18:51 -0800)
committer
Andy 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
patch
|
blob
|
history
diff --git
a/include/sparse/netinet/in.h
b/include/sparse/netinet/in.h
index
a220428
..
d51722e
100644
(file)
--- 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;