sparse: Add ip6_rthdr struct to the ip6.h
authorAnsis Atteka <aatteka@nicira.com>
Wed, 7 Nov 2012 17:14:34 +0000 (19:14 +0200)
committerAnsis Atteka <aatteka@nicira.com>
Tue, 13 Nov 2012 11:48:31 +0000 (13:48 +0200)
Acked-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Ansis Atteka <aatteka@nicira.com>
include/sparse/netinet/ip6.h

index ca80c970c65f21657a174830714cef8818413b88..d2a54de169d894e67f9fb203d2faac40bca74c4b 100644 (file)
@@ -44,6 +44,13 @@ struct ip6_hdr {
 #define ip6_hlim  ip6_ctlun.ip6_un1.ip6_un1_hlim
 #define ip6_hops  ip6_ctlun.ip6_un1.ip6_un1_hlim
 
+struct ip6_rthdr {
+    uint8_t ip6r_nxt;
+    uint8_t ip6r_len;
+    uint8_t ip6r_type;
+    uint8_t ip6r_segleft;
+};
+
 struct ip6_ext {
     uint8_t ip6e_nxt;
     uint8_t ip6e_len;