sparse: Add ip6_rthdr struct to the ip6.h
[openvswitch] / include / sparse / netinet / ip6.h
index c6608a1447d31e7b2da831897cb17003335411f5..d2a54de169d894e67f9fb203d2faac40bca74c4b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011 Nicira Networks.
+ * Copyright (c) 2011 Nicira, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -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;