2005-04-25 18:20:15 +00:00
|
|
|
/* $FreeBSD$ */
|
2005-04-25 17:31:50 +00:00
|
|
|
|
|
|
|
/*
|
2013-08-11 14:28:45 +00:00
|
|
|
* Copyright (C) 2012 by Darren Reed.
|
2005-04-25 17:31:50 +00:00
|
|
|
*
|
|
|
|
* See the IPFILTER.LICENCE file for details on licencing.
|
|
|
|
*
|
2013-08-11 14:28:45 +00:00
|
|
|
* $Id$
|
2005-04-25 17:31:50 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "ipf.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* ECN is a new addition to TCP - RFC 2481
|
|
|
|
*/
|
|
|
|
#ifndef TH_ECN
|
|
|
|
# define TH_ECN 0x40
|
|
|
|
#endif
|
|
|
|
#ifndef TH_CWR
|
|
|
|
# define TH_CWR 0x80
|
|
|
|
#endif
|
|
|
|
|
|
|
|
char flagset[] = "FSRPAUEC";
|
|
|
|
u_char flags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH, TH_ACK, TH_URG,
|
|
|
|
TH_ECN, TH_CWR };
|