From 74dfbc0c492c3dc687d7d4a45833fb4ba5fda342 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 8 Apr 2010 15:05:00 +0200 Subject: [PATCH] Move flow flags to flow.h --- src/flow-private.h | 27 --------------------------- src/flow.h | 27 +++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/src/flow-private.h b/src/flow-private.h index 4aaafa303f..12e913eda9 100644 --- a/src/flow-private.h +++ b/src/flow-private.h @@ -6,33 +6,6 @@ #include "flow-hash.h" #include "flow-queue.h" -/* per flow flags */ - -/** At least on packet from the source address was seen */ -#define FLOW_TO_SRC_SEEN 0x0001 -/** At least on packet from the destination address was seen */ -#define FLOW_TO_DST_SEEN 0x0002 - -/** Flow lives in the flow-state-NEW list */ -#define FLOW_NEW_LIST 0x0004 -/** Flow lives in the flow-state-EST (established) list */ -#define FLOW_EST_LIST 0x0008 -/** Flow lives in the flow-state-CLOSED list */ -#define FLOW_CLOSED_LIST 0x0010 - -/** Flow was inspected against IP-Only sigs in the toserver direction */ -#define FLOW_TOSERVER_IPONLY_SET 0x0020 -/** Flow was inspected against IP-Only sigs in the toclient direction */ -#define FLOW_TOCLIENT_IPONLY_SET 0x0040 - -/** Packet belonging to this flow should not be inspected at all */ -#define FLOW_NOPACKET_INSPECTION 0x0080 -/** Packet payloads belonging to this flow should not be inspected */ -#define FLOW_NOPAYLOAD_INSPECTION 0x0100 - -/** All packets in this flow should be dropped */ -#define FLOW_ACTION_DROP 0x0200 - /* global flow flags */ diff --git a/src/flow.h b/src/flow.h index a420fbbcb2..a4a9bec8f2 100644 --- a/src/flow.h +++ b/src/flow.h @@ -9,6 +9,33 @@ #define FLOW_QUIET TRUE #define FLOW_VERBOSE FALSE +/* per flow flags */ + +/** At least on packet from the source address was seen */ +#define FLOW_TO_SRC_SEEN 0x0001 +/** At least on packet from the destination address was seen */ +#define FLOW_TO_DST_SEEN 0x0002 + +/** Flow lives in the flow-state-NEW list */ +#define FLOW_NEW_LIST 0x0004 +/** Flow lives in the flow-state-EST (established) list */ +#define FLOW_EST_LIST 0x0008 +/** Flow lives in the flow-state-CLOSED list */ +#define FLOW_CLOSED_LIST 0x0010 + +/** Flow was inspected against IP-Only sigs in the toserver direction */ +#define FLOW_TOSERVER_IPONLY_SET 0x0020 +/** Flow was inspected against IP-Only sigs in the toclient direction */ +#define FLOW_TOCLIENT_IPONLY_SET 0x0040 + +/** Packet belonging to this flow should not be inspected at all */ +#define FLOW_NOPACKET_INSPECTION 0x0080 +/** Packet payloads belonging to this flow should not be inspected */ +#define FLOW_NOPAYLOAD_INSPECTION 0x0100 + +/** All packets in this flow should be dropped */ +#define FLOW_ACTION_DROP 0x0200 + /* pkt flow flags */ #define FLOW_PKT_TOSERVER 0x01 #define FLOW_PKT_TOCLIENT 0x02