xref: /illumos-gate/usr/src/cmd/ipf/lib/common/ionames.c (revision 7c478bd9)
1*7c478bd9Sstevel@tonic-gate /*
2*7c478bd9Sstevel@tonic-gate  * Copyright (C) 1993-2001 by Darren Reed.
3*7c478bd9Sstevel@tonic-gate  *
4*7c478bd9Sstevel@tonic-gate  * See the IPFILTER.LICENCE file for details on licencing.
5*7c478bd9Sstevel@tonic-gate  *
6*7c478bd9Sstevel@tonic-gate  * $Id: ionames.c,v 1.7 2002/01/28 06:50:46 darrenr Exp $
7*7c478bd9Sstevel@tonic-gate  */
8*7c478bd9Sstevel@tonic-gate #include "ipf.h"
9*7c478bd9Sstevel@tonic-gate 
10*7c478bd9Sstevel@tonic-gate 
11*7c478bd9Sstevel@tonic-gate struct	ipopt_names	ionames[] ={
12*7c478bd9Sstevel@tonic-gate 	{ IPOPT_NOP,	0x000001,	1,	"nop" },	/* RFC791 */
13*7c478bd9Sstevel@tonic-gate 	{ IPOPT_RR,	0x000002,	7,	"rr" },		/* 1 route */
14*7c478bd9Sstevel@tonic-gate 	{ IPOPT_ZSU,	0x000004,	3,	"zsu" },	/* size ?? */
15*7c478bd9Sstevel@tonic-gate 	{ IPOPT_MTUP,	0x000008,	3,	"mtup" },	/* RFC1191 */
16*7c478bd9Sstevel@tonic-gate 	{ IPOPT_MTUR,	0x000010,	3,	"mtur" },	/* RFC1191 */
17*7c478bd9Sstevel@tonic-gate 	{ IPOPT_ENCODE,	0x000020,	3,	"encode" },	/* size ?? */
18*7c478bd9Sstevel@tonic-gate 	{ IPOPT_TS,	0x000040,	8,	"ts" },		/* 1 TS */
19*7c478bd9Sstevel@tonic-gate 	{ IPOPT_TR,	0x000080,	3,	"tr" },		/* RFC1393 */
20*7c478bd9Sstevel@tonic-gate 	{ IPOPT_SECURITY,0x000100,	11,	"sec" },	/* RFC1108 */
21*7c478bd9Sstevel@tonic-gate 	{ IPOPT_SECURITY,0x000100,	11,	"sec-class" },	/* RFC1108 */
22*7c478bd9Sstevel@tonic-gate 	{ IPOPT_LSRR,	0x000200,	7,	"lsrr" },	/* 1 route */
23*7c478bd9Sstevel@tonic-gate 	{ IPOPT_E_SEC,	0x000400,	3,	"e-sec" },	/* RFC1108 */
24*7c478bd9Sstevel@tonic-gate 	{ IPOPT_CIPSO,	0x000800,	3,	"cipso" },	/* size ?? */
25*7c478bd9Sstevel@tonic-gate 	{ IPOPT_SATID,	0x001000,	4,	"satid" },	/* RFC791 */
26*7c478bd9Sstevel@tonic-gate 	{ IPOPT_SSRR,	0x002000,	7,	"ssrr" },	/* 1 route */
27*7c478bd9Sstevel@tonic-gate 	{ IPOPT_ADDEXT,	0x004000,	3,	"addext" },	/* IPv7 ?? */
28*7c478bd9Sstevel@tonic-gate 	{ IPOPT_VISA,	0x008000,	3,	"visa" },	/* size ?? */
29*7c478bd9Sstevel@tonic-gate 	{ IPOPT_IMITD,	0x010000,	3,	"imitd" },	/* size ?? */
30*7c478bd9Sstevel@tonic-gate 	{ IPOPT_EIP,	0x020000,	3,	"eip" },	/* RFC1385 */
31*7c478bd9Sstevel@tonic-gate 	{ IPOPT_FINN,	0x040000,	3,	"finn" },	/* size ?? */
32*7c478bd9Sstevel@tonic-gate 	{ IPOPT_DPS,	0x080000,	3,	"dps" },	/* size ?? */
33*7c478bd9Sstevel@tonic-gate 	{ IPOPT_SDB,	0x100000,	3,	"sdb" },	/* size ?? */
34*7c478bd9Sstevel@tonic-gate 	{ IPOPT_NSAPA,	0x200000,	3,	"nsapa" },	/* size ?? */
35*7c478bd9Sstevel@tonic-gate 	{ IPOPT_RTRALRT,0x400000,	3,	"rtralrt" },	/* RFC2113 */
36*7c478bd9Sstevel@tonic-gate 	{ IPOPT_UMP,	0x800000,	3,	"ump" },	/* size ?? */
37*7c478bd9Sstevel@tonic-gate 	{ 0, 		0,	0,	(char *)NULL }     /* must be last */
38*7c478bd9Sstevel@tonic-gate };
39