]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/tcpoptnames.c
Import IP-Filter 5.1.2 into vendor branches using the existing license that
[FreeBSD/FreeBSD.git] / lib / tcpoptnames.c
1 /*
2  * Copyright (C) 2012 by Darren Reed.
3  *
4  * See the IPFILTER.LICENCE file for details on licencing.
5  *
6  * $Id$
7  */
8
9 #include "ipf.h"
10
11
12 struct  ipopt_names     tcpoptnames[] ={
13         { TCPOPT_NOP,                   0x000001,       1,      "nop" },
14         { TCPOPT_MAXSEG,                0x000002,       4,      "maxseg" },
15         { TCPOPT_WINDOW,                0x000004,       3,      "wscale" },
16         { TCPOPT_SACK_PERMITTED,        0x000008,       2,      "sackok" },
17         { TCPOPT_SACK,                  0x000010,       3,      "sack" },
18         { TCPOPT_TIMESTAMP,             0x000020,       10,     "tstamp" },
19         { 0,            0,      0,      (char *)NULL }     /* must be last */
20 };