xref: /freebsd/sbin/ipf/libipf/tcpoptnames.c (revision 1323ec57)
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 
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