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
 
StatsCounterId counter_pkts
 
StatsCounterId counter_bytes
 
StatsCounterAvgId counter_avg_pkt_size
 
StatsCounterMaxId counter_max_pkt_size
 
StatsCounterMaxId counter_max_mac_addrs_src
 
StatsCounterMaxId counter_max_mac_addrs_dst
 
StatsCounterId counter_invalid
 
StatsCounterId counter_eth
 
StatsCounterId counter_chdlc
 
StatsCounterId counter_ipv4
 
StatsCounterId counter_ipv6
 
StatsCounterId counter_tcp
 
StatsCounterId counter_tcp_syn
 
StatsCounterId counter_tcp_synack
 
StatsCounterId counter_tcp_rst
 
StatsCounterId counter_tcp_urg
 
StatsCounterId counter_udp
 
StatsCounterId counter_icmpv4
 
StatsCounterId counter_icmpv6
 
StatsCounterId counter_arp
 
StatsCounterId counter_ethertype_unknown
 
StatsCounterId counter_sll
 
StatsCounterId counter_sll2
 
StatsCounterId counter_raw
 
StatsCounterId counter_null
 
StatsCounterId counter_sctp
 
StatsCounterId counter_esp
 
StatsCounterId counter_ppp
 
StatsCounterId counter_geneve
 
StatsCounterId counter_gre
 
StatsCounterId counter_vlan
 
StatsCounterId counter_vlan_qinq
 
StatsCounterId counter_vlan_qinqinq
 
StatsCounterId counter_vxlan
 
StatsCounterId counter_vntag
 
StatsCounterId counter_etag
 
StatsCounterId counter_ieee8021ah
 
StatsCounterId counter_pppoe
 
StatsCounterId counter_teredo
 
StatsCounterId counter_mpls
 
StatsCounterId counter_ipv4inipv4
 
StatsCounterId counter_ipv6inipv4
 
StatsCounterId counter_ipv4inipv6
 
StatsCounterId counter_ipv6inipv6
 
StatsCounterId counter_erspan
 
StatsCounterId counter_nsh
 
StatsCounterId counter_defrag_ipv4_fragments
 
StatsCounterId counter_defrag_ipv4_reassembled
 
StatsCounterId counter_defrag_ipv6_fragments
 
StatsCounterId counter_defrag_ipv6_reassembled
 
StatsCounterId counter_defrag_max_hit
 
StatsCounterId counter_defrag_no_frags
 
StatsCounterId counter_defrag_tracker_soft_reuse
 
StatsCounterId counter_defrag_tracker_hard_reuse
 
StatsCounterId counter_defrag_tracker_timeout
 
ExceptionPolicyCounters counter_defrag_memcap_eps
 
StatsCounterId counter_flow_memcap
 
ExceptionPolicyCounters counter_flow_memcap_eps
 
StatsCounterId counter_tcp_active_sessions
 
StatsCounterId counter_flow_total
 
StatsCounterId counter_flow_active
 
StatsCounterId counter_flow_tcp
 
StatsCounterId counter_flow_udp
 
StatsCounterId counter_flow_icmp4
 
StatsCounterId counter_flow_icmp6
 
StatsCounterId counter_flow_tcp_reuse
 
StatsCounterId counter_flow_elephant
 
StatsCounterId counter_flow_get_used
 
StatsCounterId counter_flow_get_used_eval
 
StatsCounterId counter_flow_get_used_eval_reject
 
StatsCounterId counter_flow_get_used_eval_busy
 
StatsCounterId counter_flow_get_used_failed
 
StatsCounterId counter_flow_spare_sync
 
StatsCounterId counter_flow_spare_sync_empty
 
StatsCounterId counter_flow_spare_sync_incomplete
 
StatsCounterAvgId counter_flow_spare_sync_avg
 
StatsCounterId 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 962 of file decode.h.

Field Documentation

◆ app_tctx

AppLayerThreadCtx* DecodeThreadVars_::app_tctx

Specific context for udp protocol detection (here atm)

Definition at line 965 of file decode.h.

Referenced by DecodeThreadVarsAlloc(), and DecodeThreadVarsFree().

◆ counter_arp

StatsCounterId DecodeThreadVars_::counter_arp

Definition at line 989 of file decode.h.

Referenced by DecodeARP(), and DecodeRegisterPerfCounters().

◆ counter_avg_pkt_size

StatsCounterAvgId DecodeThreadVars_::counter_avg_pkt_size

Definition at line 970 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUpdatePacketCounters().

◆ counter_bytes

StatsCounterId DecodeThreadVars_::counter_bytes

Definition at line 969 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUpdatePacketCounters().

◆ counter_chdlc

StatsCounterId DecodeThreadVars_::counter_chdlc

Definition at line 978 of file decode.h.

Referenced by DecodeCHDLC(), and DecodeRegisterPerfCounters().

◆ counter_defrag_ipv4_fragments

StatsCounterId DecodeThreadVars_::counter_defrag_ipv4_fragments

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

Definition at line 1019 of file decode.h.

◆ counter_defrag_ipv4_reassembled

StatsCounterId DecodeThreadVars_::counter_defrag_ipv4_reassembled

Definition at line 1020 of file decode.h.

◆ counter_defrag_ipv6_fragments

StatsCounterId DecodeThreadVars_::counter_defrag_ipv6_fragments

Definition at line 1021 of file decode.h.

◆ counter_defrag_ipv6_reassembled

StatsCounterId DecodeThreadVars_::counter_defrag_ipv6_reassembled

Definition at line 1022 of file decode.h.

◆ counter_defrag_max_hit

StatsCounterId DecodeThreadVars_::counter_defrag_max_hit

Definition at line 1023 of file decode.h.

◆ counter_defrag_memcap_eps

ExceptionPolicyCounters DecodeThreadVars_::counter_defrag_memcap_eps

Definition at line 1028 of file decode.h.

◆ counter_defrag_no_frags

StatsCounterId DecodeThreadVars_::counter_defrag_no_frags

Definition at line 1024 of file decode.h.

◆ counter_defrag_tracker_hard_reuse

StatsCounterId DecodeThreadVars_::counter_defrag_tracker_hard_reuse

Definition at line 1026 of file decode.h.

◆ counter_defrag_tracker_soft_reuse

StatsCounterId DecodeThreadVars_::counter_defrag_tracker_soft_reuse

Definition at line 1025 of file decode.h.

◆ counter_defrag_tracker_timeout

StatsCounterId DecodeThreadVars_::counter_defrag_tracker_timeout

Definition at line 1027 of file decode.h.

◆ counter_engine_events

StatsCounterId DecodeThreadVars_::counter_engine_events[DECODE_EVENT_MAX]

Definition at line 1053 of file decode.h.

Referenced by PacketUpdateEngineEventCounters().

◆ counter_erspan

StatsCounterId DecodeThreadVars_::counter_erspan

Definition at line 1015 of file decode.h.

Referenced by DecodeERSPAN(), DecodeERSPANTypeI(), and DecodeRegisterPerfCounters().

◆ counter_esp

StatsCounterId DecodeThreadVars_::counter_esp

Definition at line 997 of file decode.h.

Referenced by DecodeESP(), and DecodeRegisterPerfCounters().

◆ counter_etag

StatsCounterId DecodeThreadVars_::counter_etag

Definition at line 1006 of file decode.h.

Referenced by DecodeETag(), and DecodeRegisterPerfCounters().

◆ counter_eth

StatsCounterId DecodeThreadVars_::counter_eth

Definition at line 977 of file decode.h.

Referenced by DecodeEthernet(), and DecodeRegisterPerfCounters().

◆ counter_ethertype_unknown

StatsCounterId DecodeThreadVars_::counter_ethertype_unknown

Definition at line 990 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_active

StatsCounterId DecodeThreadVars_::counter_flow_active

Definition at line 1035 of file decode.h.

◆ counter_flow_elephant

StatsCounterId DecodeThreadVars_::counter_flow_elephant

Definition at line 1041 of file decode.h.

◆ counter_flow_get_used

StatsCounterId DecodeThreadVars_::counter_flow_get_used

Definition at line 1042 of file decode.h.

◆ counter_flow_get_used_eval

StatsCounterId DecodeThreadVars_::counter_flow_get_used_eval

Definition at line 1043 of file decode.h.

◆ counter_flow_get_used_eval_busy

StatsCounterId DecodeThreadVars_::counter_flow_get_used_eval_busy

Definition at line 1045 of file decode.h.

◆ counter_flow_get_used_eval_reject

StatsCounterId DecodeThreadVars_::counter_flow_get_used_eval_reject

Definition at line 1044 of file decode.h.

◆ counter_flow_get_used_failed

StatsCounterId DecodeThreadVars_::counter_flow_get_used_failed

Definition at line 1046 of file decode.h.

◆ counter_flow_icmp4

StatsCounterId DecodeThreadVars_::counter_flow_icmp4

Definition at line 1038 of file decode.h.

◆ counter_flow_icmp6

StatsCounterId DecodeThreadVars_::counter_flow_icmp6

Definition at line 1039 of file decode.h.

◆ counter_flow_memcap

StatsCounterId DecodeThreadVars_::counter_flow_memcap

Definition at line 1030 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_memcap_eps

ExceptionPolicyCounters DecodeThreadVars_::counter_flow_memcap_eps

Definition at line 1031 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_spare_sync

StatsCounterId DecodeThreadVars_::counter_flow_spare_sync

Definition at line 1048 of file decode.h.

◆ counter_flow_spare_sync_avg

StatsCounterAvgId DecodeThreadVars_::counter_flow_spare_sync_avg

Definition at line 1051 of file decode.h.

◆ counter_flow_spare_sync_empty

StatsCounterId DecodeThreadVars_::counter_flow_spare_sync_empty

Definition at line 1049 of file decode.h.

◆ counter_flow_spare_sync_incomplete

StatsCounterId DecodeThreadVars_::counter_flow_spare_sync_incomplete

Definition at line 1050 of file decode.h.

◆ counter_flow_tcp

StatsCounterId DecodeThreadVars_::counter_flow_tcp

Definition at line 1036 of file decode.h.

◆ counter_flow_tcp_reuse

StatsCounterId DecodeThreadVars_::counter_flow_tcp_reuse

Definition at line 1040 of file decode.h.

◆ counter_flow_total

StatsCounterId DecodeThreadVars_::counter_flow_total

Definition at line 1034 of file decode.h.

◆ counter_flow_udp

StatsCounterId DecodeThreadVars_::counter_flow_udp

Definition at line 1037 of file decode.h.

◆ counter_geneve

StatsCounterId DecodeThreadVars_::counter_geneve

Definition at line 999 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_gre

StatsCounterId DecodeThreadVars_::counter_gre

Definition at line 1000 of file decode.h.

Referenced by DecodeGRE(), and DecodeRegisterPerfCounters().

◆ counter_icmpv4

StatsCounterId DecodeThreadVars_::counter_icmpv4

Definition at line 987 of file decode.h.

Referenced by DecodeICMPV4(), and DecodeRegisterPerfCounters().

◆ counter_icmpv6

StatsCounterId DecodeThreadVars_::counter_icmpv6

Definition at line 988 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_ieee8021ah

StatsCounterId DecodeThreadVars_::counter_ieee8021ah

Definition at line 1007 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_invalid

StatsCounterId DecodeThreadVars_::counter_invalid

Definition at line 975 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and PacketDecodeFinalize().

◆ counter_ipv4

StatsCounterId DecodeThreadVars_::counter_ipv4

Definition at line 979 of file decode.h.

Referenced by DecodeIPV4(), and DecodeRegisterPerfCounters().

◆ counter_ipv4inipv4

StatsCounterId DecodeThreadVars_::counter_ipv4inipv4

Definition at line 1011 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_ipv4inipv6

StatsCounterId DecodeThreadVars_::counter_ipv4inipv6

Definition at line 1013 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_ipv6

StatsCounterId DecodeThreadVars_::counter_ipv6

Definition at line 980 of file decode.h.

Referenced by DecodeIPV6(), and DecodeRegisterPerfCounters().

◆ counter_ipv6inipv4

StatsCounterId DecodeThreadVars_::counter_ipv6inipv4

Definition at line 1012 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_ipv6inipv6

StatsCounterId DecodeThreadVars_::counter_ipv6inipv6

Definition at line 1014 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_max_mac_addrs_dst

StatsCounterMaxId DecodeThreadVars_::counter_max_mac_addrs_dst

Definition at line 973 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_max_mac_addrs_src

StatsCounterMaxId DecodeThreadVars_::counter_max_mac_addrs_src

Definition at line 972 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_max_pkt_size

StatsCounterMaxId DecodeThreadVars_::counter_max_pkt_size

Definition at line 971 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUpdatePacketCounters().

◆ counter_mpls

StatsCounterId DecodeThreadVars_::counter_mpls

Definition at line 1010 of file decode.h.

Referenced by DecodeMPLS(), and DecodeRegisterPerfCounters().

◆ counter_nsh

StatsCounterId DecodeThreadVars_::counter_nsh

Definition at line 1016 of file decode.h.

Referenced by DecodeNSH(), and DecodeRegisterPerfCounters().

◆ counter_null

StatsCounterId DecodeThreadVars_::counter_null

Definition at line 995 of file decode.h.

Referenced by DecodeNull(), and DecodeRegisterPerfCounters().

◆ counter_pkts

StatsCounterId DecodeThreadVars_::counter_pkts

stats/counters

Definition at line 968 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUpdatePacketCounters().

◆ counter_ppp

StatsCounterId DecodeThreadVars_::counter_ppp

Definition at line 998 of file decode.h.

Referenced by DecodePPP(), and DecodeRegisterPerfCounters().

◆ counter_pppoe

StatsCounterId DecodeThreadVars_::counter_pppoe

Definition at line 1008 of file decode.h.

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

◆ counter_raw

StatsCounterId DecodeThreadVars_::counter_raw

Definition at line 994 of file decode.h.

Referenced by DecodeRaw(), and DecodeRegisterPerfCounters().

◆ counter_sctp

StatsCounterId DecodeThreadVars_::counter_sctp

Definition at line 996 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeSCTP().

◆ counter_sll

StatsCounterId DecodeThreadVars_::counter_sll

Definition at line 992 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeSll().

◆ counter_sll2

StatsCounterId DecodeThreadVars_::counter_sll2

Definition at line 993 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeSll2().

◆ counter_tcp

StatsCounterId DecodeThreadVars_::counter_tcp

Definition at line 981 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeTCP().

◆ counter_tcp_active_sessions

StatsCounterId DecodeThreadVars_::counter_tcp_active_sessions

Definition at line 1033 of file decode.h.

◆ counter_tcp_rst

StatsCounterId DecodeThreadVars_::counter_tcp_rst

Definition at line 984 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_tcp_syn

StatsCounterId DecodeThreadVars_::counter_tcp_syn

Definition at line 982 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_tcp_synack

StatsCounterId DecodeThreadVars_::counter_tcp_synack

Definition at line 983 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_tcp_urg

StatsCounterId DecodeThreadVars_::counter_tcp_urg

Definition at line 985 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_teredo

StatsCounterId DecodeThreadVars_::counter_teredo

Definition at line 1009 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_udp

StatsCounterId DecodeThreadVars_::counter_udp

Definition at line 986 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUDP().

◆ counter_vlan

StatsCounterId DecodeThreadVars_::counter_vlan

Definition at line 1001 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeVLAN().

◆ counter_vlan_qinq

StatsCounterId DecodeThreadVars_::counter_vlan_qinq

Definition at line 1002 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeVLAN().

◆ counter_vlan_qinqinq

StatsCounterId DecodeThreadVars_::counter_vlan_qinqinq

Definition at line 1003 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeVLAN().

◆ counter_vntag

StatsCounterId DecodeThreadVars_::counter_vntag

Definition at line 1005 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeVNTag().

◆ counter_vxlan

StatsCounterId DecodeThreadVars_::counter_vxlan

Definition at line 1004 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ output_flow_thread_data

void* DecodeThreadVars_::output_flow_thread_data

Definition at line 1057 of file decode.h.

Referenced by DecodeThreadVarsAlloc(), and DecodeThreadVarsFree().


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