xref: /freebsd/sbin/ipf/libipf/tcpoptnames.c (revision 61e21613)
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 
10 #include "ipf.h"
11 
12 
13 struct	ipopt_names	tcpoptnames[] ={
14 	{ TCPOPT_NOP,			0x000001,	1,	"nop" },
15 	{ TCPOPT_MAXSEG,		0x000002,	4,	"maxseg" },
16 	{ TCPOPT_WINDOW,		0x000004,	3,	"wscale" },
17 	{ TCPOPT_SACK_PERMITTED,	0x000008,	2,	"sackok" },
18 	{ TCPOPT_SACK,			0x000010,	3,	"sack" },
19 	{ TCPOPT_TIMESTAMP,		0x000020,	10,	"tstamp" },
20 	{ 0, 		0,	0,	(char *)NULL }     /* must be last */
21 };
22