4 * Copyright (C) 2001-2002 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
8 * Id: tcpflags.c,v 1.3.4.1 2006/06/16 17:21:17 darrenr Exp
15 * ECN is a new addition to TCP - RFC 2481
24 extern char flagset
[];
25 extern u_char flags
[];
34 for (s
= flgs
; *s
; s
++) {
38 if (!(t
= strchr(flagset
, *s
))) {
41 tcpf
|= flags
[t
- flagset
];