aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/compat/linuxkpi/common/include/net/ipv6.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/net/ipv6.h b/sys/compat/linuxkpi/common/include/net/ipv6.h
index 37c30ed6e793..dfe77ef1c6ed 100644
--- a/sys/compat/linuxkpi/common/include/net/ipv6.h
+++ b/sys/compat/linuxkpi/common/include/net/ipv6.h
@@ -38,6 +38,11 @@
#define IPV6_DEFAULT_HOPLIMIT 64
+#define NEXTHDR_HOP IPPROTO_HOPOPTS
+#define NEXTHDR_ROUTING IPPROTO_ROUTING
+#define NEXTHDR_NONE IPPROTO_NONE
+#define NEXTHDR_DEST IPPROTO_DSTOPTS
+
#define ipv6_addr_loopback(addr) IN6_IS_ADDR_LOOPBACK(addr)
#define ipv6_addr_any(addr) IN6_IS_ADDR_UNSPECIFIED(addr)