NetBSD/dist/ipf/lib/tcpoptnames.c

23 lines
629 B
C
Raw Normal View History

2007-04-15 00:17:19 +04:00
/* $NetBSD: tcpoptnames.c,v 1.1.1.2 2007/04/14 20:17:31 martin Exp $ */
2004-03-28 12:55:20 +04:00
/*
2007-04-15 00:17:19 +04:00
* Copyright (C) 2000-2002 by Darren Reed.
2004-03-28 12:55:20 +04:00
*
* See the IPFILTER.LICENCE file for details on licencing.
*
2007-04-15 00:17:19 +04:00
* Id: tcpoptnames.c,v 1.5.4.1 2006/06/16 17:21:17 darrenr Exp
2004-03-28 12:55:20 +04:00
*/
#include "ipf.h"
struct ipopt_names tcpoptnames[] ={
{ TCPOPT_NOP, 0x000001, 1, "nop" },
{ TCPOPT_MAXSEG, 0x000002, 4, "maxseg" },
{ TCPOPT_WINDOW, 0x000004, 3, "wscale" },
{ TCPOPT_SACK_PERMITTED, 0x000008, 2, "sackok" },
{ TCPOPT_SACK, 0x000010, 3, "sack" },
{ TCPOPT_TIMESTAMP, 0x000020, 10, "tstamp" },
{ 0, 0, 0, (char *)NULL } /* must be last */
};