flags.c revision 145519
142434Sdfr/* $FreeBSD: head/contrib/ipfilter/lib/flags.c 145519 2005-04-25 18:20:15Z darrenr $ */ 2136910Sru 342434Sdfr/* 442434Sdfr * Copyright (C) 1993-2001 by Darren Reed. 5136910Sru * 642434Sdfr * See the IPFILTER.LICENCE file for details on licencing. 742434Sdfr * 8 * Id: flags.c,v 1.4 2002/11/02 07:16:36 darrenr Exp 9 */ 10 11#include "ipf.h" 12 13/* 14 * ECN is a new addition to TCP - RFC 2481 15 */ 16#ifndef TH_ECN 17# define TH_ECN 0x40 18#endif 19#ifndef TH_CWR 20# define TH_CWR 0x80 21#endif 22 23char flagset[] = "FSRPAUEC"; 24u_char flags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH, TH_ACK, TH_URG, 25 TH_ECN, TH_CWR }; 26