aboutsummaryrefslogtreecommitdiff
path: root/contrib/ipfilter/lib/tcpoptnames.c
diff options
context:
space:
mode:
authorDarren Reed <darrenr@FreeBSD.org>2005-04-25 17:31:50 +0000
committerDarren Reed <darrenr@FreeBSD.org>2005-04-25 17:31:50 +0000
commit3c911a00da902fbd3cbac2da74f2f6de991dd90f (patch)
tree230d1d527f6b251fd46e2108f5e341c63e59cb39 /contrib/ipfilter/lib/tcpoptnames.c
parente7b13da6f59bf5171f7820300e1c44ec97418d5b (diff)
parent144279dcb8a3b2717370088ac878f23066aee9e9 (diff)
Notes
Diffstat (limited to 'contrib/ipfilter/lib/tcpoptnames.c')
-rw-r--r--contrib/ipfilter/lib/tcpoptnames.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/ipfilter/lib/tcpoptnames.c b/contrib/ipfilter/lib/tcpoptnames.c
new file mode 100644
index 000000000000..b5e0cc77d67f
--- /dev/null
+++ b/contrib/ipfilter/lib/tcpoptnames.c
@@ -0,0 +1,22 @@
+/* $NetBSD$ */
+
+/*
+ * Copyright (C) 1993-2001 by Darren Reed.
+ *
+ * See the IPFILTER.LICENCE file for details on licencing.
+ *
+ * Id: tcpoptnames.c,v 1.5 2002/01/28 06:50:48 darrenr Exp
+ */
+
+#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 */
+};