aboutsummaryrefslogtreecommitdiff
path: root/sbin/ipf/libipf/v6ionames.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ipf/libipf/v6ionames.c')
-rw-r--r--sbin/ipf/libipf/v6ionames.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/sbin/ipf/libipf/v6ionames.c b/sbin/ipf/libipf/v6ionames.c
new file mode 100644
index 000000000000..485af14f7863
--- /dev/null
+++ b/sbin/ipf/libipf/v6ionames.c
@@ -0,0 +1,27 @@
+
+/*
+ * Copyright (C) 2012 by Darren Reed.
+ *
+ * See the IPFILTER.LICENCE file for details on licencing.
+ *
+ * $Id$
+ */
+#include "ipf.h"
+
+
+#ifdef USE_INET6
+
+struct ipopt_names v6ionames[] ={
+ { IPPROTO_HOPOPTS, 0x000001, 0, "hopopts" },
+ { IPPROTO_IPV6, 0x000002, 0, "ipv6" },
+ { IPPROTO_ROUTING, 0x000004, 0, "routing" },
+ { IPPROTO_FRAGMENT, 0x000008, 0, "frag" },
+ { IPPROTO_ESP, 0x000010, 0, "esp" },
+ { IPPROTO_AH, 0x000020, 0, "ah" },
+ { IPPROTO_NONE, 0x000040, 0, "none" },
+ { IPPROTO_DSTOPTS, 0x000080, 0, "dstopts" },
+ { IPPROTO_MOBILITY, 0x000100, 0, "mobility" },
+ { 0, 0, 0, (char *)NULL }
+};
+
+#endif