xref: /illumos-gate/usr/src/cmd/ipf/lib/common/v6ionames.c (revision 7663b816)
1*7663b816Sml /*
2*7663b816Sml  * Copyright (C) 1993-2001 by Darren Reed.
3*7663b816Sml  *
4*7663b816Sml  * See the IPFILTER.LICENCE file for details on licencing.
5*7663b816Sml  *
6*7663b816Sml  * $Id: v6ionames.c,v 1.1 2003/04/26 04:55:58 darrenr Exp $
7*7663b816Sml  */
8*7663b816Sml 
9*7663b816Sml 
10*7663b816Sml #include "ipf.h"
11*7663b816Sml 
12*7663b816Sml 
13*7663b816Sml #ifdef	USE_INET6
14*7663b816Sml 
15*7663b816Sml struct	ipopt_names	v6ionames[] ={
16*7663b816Sml 	{ IPPROTO_HOPOPTS,	0x000001,	0,	"hopopts" },
17*7663b816Sml 	{ IPPROTO_IPV6,		0x000002,	0,	"ipv6" },
18*7663b816Sml 	{ IPPROTO_ROUTING,	0x000004,	0,	"routing" },
19*7663b816Sml 	{ IPPROTO_FRAGMENT,	0x000008,	0,	"frag" },
20*7663b816Sml 	{ IPPROTO_ESP,		0x000010,	0,	"esp" },
21*7663b816Sml 	{ IPPROTO_AH,		0x000020,	0,	"ah" },
22*7663b816Sml 	{ IPPROTO_NONE,		0x000040,	0,	"none" },
23*7663b816Sml 	{ IPPROTO_DSTOPTS,	0x000080,	0,	"dstopts" },
24*7663b816Sml 	{ 0, 			0,		0,	(char *)NULL }
25*7663b816Sml };
26*7663b816Sml 
27*7663b816Sml #endif
28