tcpoptnames.c revision 170268
1/*	$FreeBSD: head/contrib/ipfilter/lib/tcpoptnames.c 170268 2007-06-04 02:54:36Z darrenr $	*/
2
3/*
4 * Copyright (C) 2000-2002 by Darren Reed.
5 *
6 * See the IPFILTER.LICENCE file for details on licencing.
7 *
8 * $Id: tcpoptnames.c,v 1.5.4.1 2006/06/16 17:21:17 darrenr Exp $
9 */
10
11#include "ipf.h"
12
13
14struct	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