]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/ipfilter/lib/flags.c
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / ipfilter / lib / flags.c
1 /*      $FreeBSD$       */
2
3 /*
4  * Copyright (C) 2001-2002 by Darren Reed.
5  *
6  * See the IPFILTER.LICENCE file for details on licencing.
7  *
8  * $Id: flags.c,v 1.4.4.1 2006/06/16 17:20:58 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
23 char    flagset[] = "FSRPAUEC";
24 u_char  flags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH, TH_ACK, TH_URG,
25                     TH_ECN, TH_CWR };