xref: /netbsd-src/external/bsd/ipf/dist/lib/tcpoptnames.c (revision 13885a665959c62f13a82b3caedf986eaa17aa31)
1 /*	$NetBSD: tcpoptnames.c,v 1.2 2012/07/22 14:27:37 darrenr Exp $	*/
2 
3 /*
4  * Copyright (C) 2012 by Darren Reed.
5  *
6  * See the IPFILTER.LICENCE file for details on licencing.
7  *
8  * Id: tcpoptnames.c,v 1.1.1.2 2012/07/22 13:44:43 darrenr Exp $
9  */
10 
11 #include "ipf.h"
12 
13 
14 struct	ipopt_names	tcpoptnames[] ={
15 	{ TCPOPT_NOP,			0x000001,	1,	"nop" },
16 	{ TCPOPT_MAXSEG,		0x000002,	4,	"maxseg" },
17 	{ TCPOPT_WINDOW,		0x000004,	3,	"wscale" },
18 	{ TCPOPT_SACK_PERMITTED,	0x000008,	2,	"sackok" },
19 	{ TCPOPT_SACK,			0x000010,	3,	"sack" },
20 	{ TCPOPT_TIMESTAMP,		0x000020,	10,	"tstamp" },
21 	{ 0, 		0,	0,	(char *)NULL }     /* must be last */
22 };
23