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