Merge remote-tracking branch 'origin/master'
[unleashed/lotheac.git] / usr / src / cmd / ipf / lib / common / flags.c
blob49f28e6bef1a714aa257b28eeb1fab87a5a7dcd9
1 /*
2 * Copyright (C) 1993-2001 by Darren Reed.
4 * See the IPFILTER.LICENCE file for details on licencing.
6 * $Id: flags.c,v 1.4 2002/11/02 07:16:36 darrenr Exp $
7 */
9 #include "ipf.h"
12 * ECN is a new addition to TCP - RFC 2481
14 #ifndef TH_ECN
15 # define TH_ECN 0x40
16 #endif
17 #ifndef TH_CWR
18 # define TH_CWR 0x80
19 #endif
21 char flagset[] = "FSRPAUEC";
22 u_char flags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH, TH_ACK, TH_URG,
23 TH_ECN, TH_CWR };