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