xref: /illumos-gate/usr/src/cmd/ipf/lib/common/v6ionames.c (revision 7663b816)
1 /*
2  * Copyright (C) 1993-2001 by Darren Reed.
3  *
4  * See the IPFILTER.LICENCE file for details on licencing.
5  *
6  * $Id: v6ionames.c,v 1.1 2003/04/26 04:55:58 darrenr Exp $
7  */
8 
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 	{ 0, 			0,		0,	(char *)NULL }
25 };
26 
27 #endif
28