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