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