suricata
DecodeThreadVars_ Struct Reference

Structure to hold thread specific data for all decode modules. More...

#include <decode.h>

Collaboration diagram for DecodeThreadVars_:

Data Fields

AppLayerThreadCtxapp_tctx
 
int vlan_disabled
 
uint16_t counter_pkts
 
uint16_t counter_bytes
 
uint16_t counter_avg_pkt_size
 
uint16_t counter_max_pkt_size
 
uint16_t counter_invalid
 
uint16_t counter_eth
 
uint16_t counter_ipv4
 
uint16_t counter_ipv6
 
uint16_t counter_tcp
 
uint16_t counter_udp
 
uint16_t counter_icmpv4
 
uint16_t counter_icmpv6
 
uint16_t counter_sll
 
uint16_t counter_raw
 
uint16_t counter_null
 
uint16_t counter_sctp
 
uint16_t counter_ppp
 
uint16_t counter_gre
 
uint16_t counter_vlan
 
uint16_t counter_vlan_qinq
 
uint16_t counter_ieee8021ah
 
uint16_t counter_pppoe
 
uint16_t counter_teredo
 
uint16_t counter_mpls
 
uint16_t counter_ipv4inipv6
 
uint16_t counter_ipv6inipv6
 
uint16_t counter_erspan
 
uint16_t counter_defrag_ipv4_fragments
 
uint16_t counter_defrag_ipv4_reassembled
 
uint16_t counter_defrag_ipv4_timeouts
 
uint16_t counter_defrag_ipv6_fragments
 
uint16_t counter_defrag_ipv6_reassembled
 
uint16_t counter_defrag_ipv6_timeouts
 
uint16_t counter_defrag_max_hit
 
uint16_t counter_flow_memcap
 
uint16_t counter_flow_tcp
 
uint16_t counter_flow_udp
 
uint16_t counter_flow_icmp4
 
uint16_t counter_flow_icmp6
 
uint16_t counter_engine_events [DECODE_EVENT_MAX]
 
void * output_flow_thread_data
 

Detailed Description

Structure to hold thread specific data for all decode modules.

Definition at line 642 of file decode.h.

Field Documentation

AppLayerThreadCtx* DecodeThreadVars_::app_tctx

Specific context for udp protocol detection (here atm)

Definition at line 645 of file decode.h.

Referenced by DecodeThreadVarsAlloc(), DecodeThreadVarsFree(), DetectFragBitsRegister(), and DetectReplaceFreeInternal().

uint16_t DecodeThreadVars_::counter_avg_pkt_size

Definition at line 652 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUpdatePacketCounters().

uint16_t DecodeThreadVars_::counter_bytes

Definition at line 651 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUpdatePacketCounters().

uint16_t DecodeThreadVars_::counter_defrag_ipv4_fragments

frag stats - defrag runs in the context of the decoder.

Definition at line 682 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and Defrag().

uint16_t DecodeThreadVars_::counter_defrag_ipv4_reassembled

Definition at line 683 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DefragRbFragCompare().

uint16_t DecodeThreadVars_::counter_defrag_ipv4_timeouts

Definition at line 684 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

uint16_t DecodeThreadVars_::counter_defrag_ipv6_fragments

Definition at line 685 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and Defrag().

uint16_t DecodeThreadVars_::counter_defrag_ipv6_reassembled

Definition at line 686 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DefragRbFragCompare().

uint16_t DecodeThreadVars_::counter_defrag_ipv6_timeouts

Definition at line 687 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

uint16_t DecodeThreadVars_::counter_defrag_max_hit

Definition at line 688 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

uint16_t DecodeThreadVars_::counter_engine_events[DECODE_EVENT_MAX]

Definition at line 697 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and PacketUpdateEngineEventCounters().

uint16_t DecodeThreadVars_::counter_erspan

Definition at line 679 of file decode.h.

Referenced by DecodeERSPAN(), and DecodeRegisterPerfCounters().

uint16_t DecodeThreadVars_::counter_eth

Definition at line 657 of file decode.h.

Referenced by DecodeEthernet(), and DecodeRegisterPerfCounters().

uint16_t DecodeThreadVars_::counter_flow_icmp4

Definition at line 694 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and FlowSetupPacket().

uint16_t DecodeThreadVars_::counter_flow_icmp6

Definition at line 695 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and FlowSetupPacket().

uint16_t DecodeThreadVars_::counter_flow_memcap

Definition at line 690 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and FlowSetupPacket().

uint16_t DecodeThreadVars_::counter_flow_tcp

Definition at line 692 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and FlowSetupPacket().

uint16_t DecodeThreadVars_::counter_flow_udp

Definition at line 693 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and FlowSetupPacket().

uint16_t DecodeThreadVars_::counter_gre

Definition at line 670 of file decode.h.

Referenced by DecodeGRE(), and DecodeRegisterPerfCounters().

uint16_t DecodeThreadVars_::counter_icmpv4

Definition at line 662 of file decode.h.

Referenced by DecodeICMPV4(), and DecodeRegisterPerfCounters().

uint16_t DecodeThreadVars_::counter_icmpv6

Definition at line 663 of file decode.h.

Referenced by DecodeICMPV6(), and DecodeRegisterPerfCounters().

uint16_t DecodeThreadVars_::counter_ieee8021ah

Definition at line 673 of file decode.h.

Referenced by __attribute__(), and DecodeRegisterPerfCounters().

uint16_t DecodeThreadVars_::counter_invalid

Definition at line 655 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and PacketDecodeFinalize().

uint16_t DecodeThreadVars_::counter_ipv4

Definition at line 658 of file decode.h.

Referenced by DecodeIPV4(), and DecodeRegisterPerfCounters().

uint16_t DecodeThreadVars_::counter_ipv4inipv6

Definition at line 677 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

uint16_t DecodeThreadVars_::counter_ipv6

Definition at line 659 of file decode.h.

Referenced by DecodeIPV6(), and DecodeRegisterPerfCounters().

uint16_t DecodeThreadVars_::counter_ipv6inipv6

Definition at line 678 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

uint16_t DecodeThreadVars_::counter_max_pkt_size

Definition at line 653 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUpdatePacketCounters().

uint16_t DecodeThreadVars_::counter_mpls

Definition at line 676 of file decode.h.

Referenced by DecodeMPLS(), and DecodeRegisterPerfCounters().

uint16_t DecodeThreadVars_::counter_null

Definition at line 667 of file decode.h.

Referenced by DecodeNull(), and DecodeRegisterPerfCounters().

uint16_t DecodeThreadVars_::counter_pkts

stats/counters

Definition at line 650 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUpdatePacketCounters().

uint16_t DecodeThreadVars_::counter_ppp

Definition at line 669 of file decode.h.

Referenced by DecodePPP(), and DecodeRegisterPerfCounters().

uint16_t DecodeThreadVars_::counter_pppoe

Definition at line 674 of file decode.h.

Referenced by DecodePPPOEDiscovery(), DecodePPPOESession(), and DecodeRegisterPerfCounters().

uint16_t DecodeThreadVars_::counter_raw

Definition at line 666 of file decode.h.

Referenced by DecodeRaw(), and DecodeRegisterPerfCounters().

uint16_t DecodeThreadVars_::counter_sctp

Definition at line 668 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeSCTP().

uint16_t DecodeThreadVars_::counter_sll

Definition at line 665 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeSll().

uint16_t DecodeThreadVars_::counter_tcp

Definition at line 660 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeTCP().

uint16_t DecodeThreadVars_::counter_teredo

Definition at line 675 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeTeredo().

uint16_t DecodeThreadVars_::counter_udp

Definition at line 661 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUDP().

uint16_t DecodeThreadVars_::counter_vlan

Definition at line 671 of file decode.h.

Referenced by DecodeAFP(), DecodePfring(), DecodeRegisterPerfCounters(), and DecodeVLAN().

uint16_t DecodeThreadVars_::counter_vlan_qinq

Definition at line 672 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeVLAN().

void* DecodeThreadVars_::output_flow_thread_data

Definition at line 701 of file decode.h.

Referenced by DecodeThreadVarsAlloc(), DecodeThreadVarsFree(), and FlowGetFlowFromHash().

int DecodeThreadVars_::vlan_disabled

Definition at line 647 of file decode.h.

Referenced by DecodeERSPAN(), DecodeThreadVarsAlloc(), and DecodeVLAN().


The documentation for this struct was generated from the following file: