~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: 2011-11-17 23:20:51 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20111117232051-wlo0g2fyinx0zi25
Tags: 1.1-1
* Imported Upstream version 1.1
* Add instructions on getting new rules using oinkmaster
* Add Recommends on oinkmaster
* Move snort-rules-default to Recommends

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
    FLOW_PROTO_TCP,
63
63
    FLOW_PROTO_UDP,
64
64
    FLOW_PROTO_ICMP,
 
65
    FLOW_PROTO_SCTP,
65
66
 
66
67
    /* should be last */
67
68
    FLOW_PROTO_MAX,
98
99
uint8_t flow_flags;
99
100
 
100
101
/** flow memuse counter (atomic), for enforcing memcap limit */
101
 
SC_ATOMIC_DECLARE(unsigned int, flow_memuse);
 
102
SC_ATOMIC_DECLARE(long long unsigned int, flow_memuse);
102
103
 
103
104
//#define FLOWBITS_STATS
104
105
#ifdef FLOWBITS_STATS
105
 
uint32_t flowbits_memuse;
106
 
uint32_t flowbits_memuse_max;
 
106
uint64_t flowbits_memuse;
 
107
uint64_t flowbits_memuse_max;
107
108
uint32_t flowbits_added;
108
109
uint32_t flowbits_removed;
109
110
SCMutex flowbits_mutex;