[netfilter-cvslog] r3428 - trunk/nfsim/tools
rusty at netfilter.org
rusty at netfilter.org
Fri Dec 17 07:36:31 CET 2004
Author: rusty at netfilter.org
Date: 2004-12-17 07:36:31 +0100 (Fri, 17 Dec 2004)
New Revision: 3428
Modified:
trunk/nfsim/tools/gen_ip.c
Log:
More TCP options (for testing LOG)
Modified: trunk/nfsim/tools/gen_ip.c
===================================================================
--- trunk/nfsim/tools/gen_ip.c 2004-12-17 06:16:35 UTC (rev 3427)
+++ trunk/nfsim/tools/gen_ip.c 2004-12-17 06:36:31 UTC (rev 3428)
@@ -341,6 +341,12 @@
tcph->fin = 1;
else if (strcmp(string, "FIN/ACK") == 0)
tcph->fin = tcph->ack = 1;
+ else if (strcmp(string, "CWR") == 0)
+ tcph->cwr = 1;
+ else if (strcmp(string, "ECE") == 0)
+ tcph->ece = 1;
+ else if (strcmp(string, "URG") == 0)
+ tcph->urg = 1;
else if (strcmp(string, "NONE") == 0)
;
else {
More information about the netfilter-cvslog
mailing list