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