xref: /freebsd/sbin/ipf/libipf/v6ionames.c (revision 02e9120893770924227138ba49df1edb3896112a)
1 
2 /*
3  * Copyright (C) 2012 by Darren Reed.
4  *
5  * See the IPFILTER.LICENCE file for details on licencing.
6  *
7  * $Id$
8  */
9 #include "ipf.h"
10 
11 
12 #ifdef	USE_INET6
13 
14 struct	ipopt_names	v6ionames[] ={
15 	{ IPPROTO_HOPOPTS,	0x000001,	0,	"hopopts" },
16 	{ IPPROTO_IPV6,		0x000002,	0,	"ipv6" },
17 	{ IPPROTO_ROUTING,	0x000004,	0,	"routing" },
18 	{ IPPROTO_FRAGMENT,	0x000008,	0,	"frag" },
19 	{ IPPROTO_ESP,		0x000010,	0,	"esp" },
20 	{ IPPROTO_AH,		0x000020,	0,	"ah" },
21 	{ IPPROTO_NONE,		0x000040,	0,	"none" },
22 	{ IPPROTO_DSTOPTS,	0x000080,	0,	"dstopts" },
23 	{ IPPROTO_MOBILITY,	0x000100,	0,	"mobility" },
24 	{ 0, 			0,		0,	(char *)NULL }
25 };
26 
27 #endif
28