~ubuntu-branches/ubuntu/utopic/suricata/utopic

« back to all changes in this revision

Viewing changes to src/flow-private.h

  • Committer: Package Import Robot
  • Author(s): Pierre Chifflier
  • Date: 2012-07-22 22:27:36 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20120722222736-s2bcw3ruzenagjam
Tags: 1.3-1
* Imported Upstream version 1.3
* Add build-dependency on libnss3-dev and libnspr4-dev
* Bump Standards Version to 3.9.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2007-2010 Open Information Security Foundation
 
1
/* Copyright (C) 2007-2012 Open Information Security Foundation
2
2
 *
3
3
 * You can copy, redistribute or modify this Program under the terms of
4
4
 * the GNU General Public License version 2 as published by the Free
78
78
/** spare/unused/prealloced flows live here */
79
79
FlowQueue flow_spare_q;
80
80
 
81
 
/** Flows in the new/unreplied state live here */
82
 
FlowQueue flow_new_q[FLOW_PROTO_MAX];
83
 
 
84
 
/** All "established" flows live here, the top holds the
85
 
 *  last recently used (lru) flow, so we can remove
86
 
 *  that in case of memory problems and check it for
87
 
 *  timeouts. */
88
 
FlowQueue flow_est_q[FLOW_PROTO_MAX];
89
 
 
90
 
/** All "closing" flows live here, the top holds the
91
 
 *  last recently used (lru) flow, so we can remove
92
 
 *  that in case of memory problems and check it for
93
 
 *  timeouts. */
94
 
FlowQueue flow_close_q[FLOW_PROTO_MAX];
95
 
 
96
81
FlowBucket *flow_hash;
97
82
FlowConfig flow_config;
98
83
 
99
 
uint8_t flow_flags;
100
 
 
101
84
/** flow memuse counter (atomic), for enforcing memcap limit */
102
85
SC_ATOMIC_DECLARE(long long unsigned int, flow_memuse);
103
86