2 * Copyright (C) 1993-2001 by Darren Reed.
4 * See the IPFILTER.LICENCE file for details on licencing.
6 * $Id: tcpflags.c,v 1.3 2002/11/02 07:18:01 darrenr Exp $
13 * ECN is a new addition to TCP - RFC 2481
22 extern char flagset
[];
23 extern u_char flags
[];
32 for (s
= flgs
; *s
; s
++) {
36 if (!(t
= strchr(flagset
, *s
))) {
39 tcpf
|= flags
[t
- flagset
];