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
 
uint16_t counter_pkts
 
uint16_t counter_bytes
 
uint16_t counter_avg_pkt_size
 
uint16_t counter_max_pkt_size
 
uint16_t counter_max_mac_addrs_src
 
uint16_t counter_max_mac_addrs_dst
 
uint16_t counter_invalid
 
uint16_t counter_eth
 
uint16_t counter_chdlc
 
uint16_t counter_ipv4
 
uint16_t counter_ipv6
 
uint16_t counter_tcp
 
uint16_t counter_tcp_syn
 
uint16_t counter_tcp_synack
 
uint16_t counter_tcp_rst
 
uint16_t counter_tcp_urg
 
uint16_t counter_udp
 
uint16_t counter_icmpv4
 
uint16_t counter_icmpv6
 
uint16_t counter_arp
 
uint16_t counter_ethertype_unknown
 
uint16_t counter_sll
 
uint16_t counter_raw
 
uint16_t counter_null
 
uint16_t counter_sctp
 
uint16_t counter_esp
 
uint16_t counter_ppp
 
uint16_t counter_geneve
 
uint16_t counter_gre
 
uint16_t counter_vlan
 
uint16_t counter_vlan_qinq
 
uint16_t counter_vlan_qinqinq
 
uint16_t counter_vxlan
 
uint16_t counter_vntag
 
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_nsh
 
uint16_t counter_defrag_ipv4_fragments
 
uint16_t counter_defrag_ipv4_reassembled
 
uint16_t counter_defrag_ipv6_fragments
 
uint16_t counter_defrag_ipv6_reassembled
 
uint16_t counter_defrag_max_hit
 
uint16_t counter_defrag_no_frags
 
uint16_t counter_defrag_tracker_soft_reuse
 
uint16_t counter_defrag_tracker_hard_reuse
 
uint16_t counter_defrag_tracker_timeout
 
ExceptionPolicyCounters counter_defrag_memcap_eps
 
uint16_t counter_flow_memcap
 
ExceptionPolicyCounters counter_flow_memcap_eps
 
uint16_t counter_tcp_active_sessions
 
uint16_t counter_flow_total
 
uint16_t counter_flow_active
 
uint16_t counter_flow_tcp
 
uint16_t counter_flow_udp
 
uint16_t counter_flow_icmp4
 
uint16_t counter_flow_icmp6
 
uint16_t counter_flow_tcp_reuse
 
uint16_t counter_flow_get_used
 
uint16_t counter_flow_get_used_eval
 
uint16_t counter_flow_get_used_eval_reject
 
uint16_t counter_flow_get_used_eval_busy
 
uint16_t counter_flow_get_used_failed
 
uint16_t counter_flow_spare_sync
 
uint16_t counter_flow_spare_sync_empty
 
uint16_t counter_flow_spare_sync_incomplete
 
uint16_t counter_flow_spare_sync_avg
 
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 931 of file decode.h.

Field Documentation

◆ app_tctx

AppLayerThreadCtx* DecodeThreadVars_::app_tctx

Specific context for udp protocol detection (here atm)

Definition at line 934 of file decode.h.

Referenced by DecodeThreadVarsAlloc(), and DecodeThreadVarsFree().

◆ counter_arp

uint16_t DecodeThreadVars_::counter_arp

Definition at line 958 of file decode.h.

Referenced by DecodeARP(), and DecodeRegisterPerfCounters().

◆ counter_avg_pkt_size

uint16_t DecodeThreadVars_::counter_avg_pkt_size

Definition at line 939 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUpdatePacketCounters().

◆ counter_bytes

uint16_t DecodeThreadVars_::counter_bytes

Definition at line 938 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUpdatePacketCounters().

◆ counter_chdlc

uint16_t DecodeThreadVars_::counter_chdlc

Definition at line 947 of file decode.h.

Referenced by DecodeCHDLC(), and DecodeRegisterPerfCounters().

◆ counter_defrag_ipv4_fragments

uint16_t DecodeThreadVars_::counter_defrag_ipv4_fragments

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

Definition at line 984 of file decode.h.

◆ counter_defrag_ipv4_reassembled

uint16_t DecodeThreadVars_::counter_defrag_ipv4_reassembled

Definition at line 985 of file decode.h.

◆ counter_defrag_ipv6_fragments

uint16_t DecodeThreadVars_::counter_defrag_ipv6_fragments

Definition at line 986 of file decode.h.

◆ counter_defrag_ipv6_reassembled

uint16_t DecodeThreadVars_::counter_defrag_ipv6_reassembled

Definition at line 987 of file decode.h.

◆ counter_defrag_max_hit

uint16_t DecodeThreadVars_::counter_defrag_max_hit

Definition at line 988 of file decode.h.

◆ counter_defrag_memcap_eps

ExceptionPolicyCounters DecodeThreadVars_::counter_defrag_memcap_eps

Definition at line 993 of file decode.h.

◆ counter_defrag_no_frags

uint16_t DecodeThreadVars_::counter_defrag_no_frags

Definition at line 989 of file decode.h.

◆ counter_defrag_tracker_hard_reuse

uint16_t DecodeThreadVars_::counter_defrag_tracker_hard_reuse

Definition at line 991 of file decode.h.

◆ counter_defrag_tracker_soft_reuse

uint16_t DecodeThreadVars_::counter_defrag_tracker_soft_reuse

Definition at line 990 of file decode.h.

◆ counter_defrag_tracker_timeout

uint16_t DecodeThreadVars_::counter_defrag_tracker_timeout

Definition at line 992 of file decode.h.

◆ counter_engine_events

uint16_t DecodeThreadVars_::counter_engine_events[DECODE_EVENT_MAX]

Definition at line 1017 of file decode.h.

Referenced by PacketUpdateEngineEventCounters().

◆ counter_erspan

uint16_t DecodeThreadVars_::counter_erspan

Definition at line 980 of file decode.h.

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

◆ counter_esp

uint16_t DecodeThreadVars_::counter_esp

Definition at line 965 of file decode.h.

Referenced by DecodeESP(), and DecodeRegisterPerfCounters().

◆ counter_eth

uint16_t DecodeThreadVars_::counter_eth

Definition at line 946 of file decode.h.

Referenced by DecodeEthernet(), and DecodeRegisterPerfCounters().

◆ counter_ethertype_unknown

uint16_t DecodeThreadVars_::counter_ethertype_unknown

Definition at line 959 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_active

uint16_t DecodeThreadVars_::counter_flow_active

Definition at line 1000 of file decode.h.

◆ counter_flow_get_used

uint16_t DecodeThreadVars_::counter_flow_get_used

Definition at line 1006 of file decode.h.

◆ counter_flow_get_used_eval

uint16_t DecodeThreadVars_::counter_flow_get_used_eval

Definition at line 1007 of file decode.h.

◆ counter_flow_get_used_eval_busy

uint16_t DecodeThreadVars_::counter_flow_get_used_eval_busy

Definition at line 1009 of file decode.h.

◆ counter_flow_get_used_eval_reject

uint16_t DecodeThreadVars_::counter_flow_get_used_eval_reject

Definition at line 1008 of file decode.h.

◆ counter_flow_get_used_failed

uint16_t DecodeThreadVars_::counter_flow_get_used_failed

Definition at line 1010 of file decode.h.

◆ counter_flow_icmp4

uint16_t DecodeThreadVars_::counter_flow_icmp4

Definition at line 1003 of file decode.h.

◆ counter_flow_icmp6

uint16_t DecodeThreadVars_::counter_flow_icmp6

Definition at line 1004 of file decode.h.

◆ counter_flow_memcap

uint16_t DecodeThreadVars_::counter_flow_memcap

Definition at line 995 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_memcap_eps

ExceptionPolicyCounters DecodeThreadVars_::counter_flow_memcap_eps

Definition at line 996 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_spare_sync

uint16_t DecodeThreadVars_::counter_flow_spare_sync

Definition at line 1012 of file decode.h.

◆ counter_flow_spare_sync_avg

uint16_t DecodeThreadVars_::counter_flow_spare_sync_avg

Definition at line 1015 of file decode.h.

◆ counter_flow_spare_sync_empty

uint16_t DecodeThreadVars_::counter_flow_spare_sync_empty

Definition at line 1013 of file decode.h.

◆ counter_flow_spare_sync_incomplete

uint16_t DecodeThreadVars_::counter_flow_spare_sync_incomplete

Definition at line 1014 of file decode.h.

◆ counter_flow_tcp

uint16_t DecodeThreadVars_::counter_flow_tcp

Definition at line 1001 of file decode.h.

◆ counter_flow_tcp_reuse

uint16_t DecodeThreadVars_::counter_flow_tcp_reuse

Definition at line 1005 of file decode.h.

◆ counter_flow_total

uint16_t DecodeThreadVars_::counter_flow_total

Definition at line 999 of file decode.h.

◆ counter_flow_udp

uint16_t DecodeThreadVars_::counter_flow_udp

Definition at line 1002 of file decode.h.

◆ counter_geneve

uint16_t DecodeThreadVars_::counter_geneve

Definition at line 967 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_gre

uint16_t DecodeThreadVars_::counter_gre

Definition at line 968 of file decode.h.

Referenced by DecodeGRE(), and DecodeRegisterPerfCounters().

◆ counter_icmpv4

uint16_t DecodeThreadVars_::counter_icmpv4

Definition at line 956 of file decode.h.

Referenced by DecodeICMPV4(), and DecodeRegisterPerfCounters().

◆ counter_icmpv6

uint16_t DecodeThreadVars_::counter_icmpv6

Definition at line 957 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_ieee8021ah

uint16_t DecodeThreadVars_::counter_ieee8021ah

Definition at line 974 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_invalid

uint16_t DecodeThreadVars_::counter_invalid

Definition at line 944 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and PacketDecodeFinalize().

◆ counter_ipv4

uint16_t DecodeThreadVars_::counter_ipv4

Definition at line 948 of file decode.h.

Referenced by DecodeIPV4(), and DecodeRegisterPerfCounters().

◆ counter_ipv4inipv6

uint16_t DecodeThreadVars_::counter_ipv4inipv6

Definition at line 978 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_ipv6

uint16_t DecodeThreadVars_::counter_ipv6

Definition at line 949 of file decode.h.

Referenced by DecodeIPV6(), and DecodeRegisterPerfCounters().

◆ counter_ipv6inipv6

uint16_t DecodeThreadVars_::counter_ipv6inipv6

Definition at line 979 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_max_mac_addrs_dst

uint16_t DecodeThreadVars_::counter_max_mac_addrs_dst

Definition at line 942 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_max_mac_addrs_src

uint16_t DecodeThreadVars_::counter_max_mac_addrs_src

Definition at line 941 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_max_pkt_size

uint16_t DecodeThreadVars_::counter_max_pkt_size

Definition at line 940 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUpdatePacketCounters().

◆ counter_mpls

uint16_t DecodeThreadVars_::counter_mpls

Definition at line 977 of file decode.h.

Referenced by DecodeMPLS(), and DecodeRegisterPerfCounters().

◆ counter_nsh

uint16_t DecodeThreadVars_::counter_nsh

Definition at line 981 of file decode.h.

Referenced by DecodeNSH(), and DecodeRegisterPerfCounters().

◆ counter_null

uint16_t DecodeThreadVars_::counter_null

Definition at line 963 of file decode.h.

Referenced by DecodeNull(), and DecodeRegisterPerfCounters().

◆ counter_pkts

uint16_t DecodeThreadVars_::counter_pkts

stats/counters

Definition at line 937 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUpdatePacketCounters().

◆ counter_ppp

uint16_t DecodeThreadVars_::counter_ppp

Definition at line 966 of file decode.h.

Referenced by DecodePPP(), and DecodeRegisterPerfCounters().

◆ counter_pppoe

uint16_t DecodeThreadVars_::counter_pppoe

Definition at line 975 of file decode.h.

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

◆ counter_raw

uint16_t DecodeThreadVars_::counter_raw

Definition at line 962 of file decode.h.

Referenced by DecodeRaw(), and DecodeRegisterPerfCounters().

◆ counter_sctp

uint16_t DecodeThreadVars_::counter_sctp

Definition at line 964 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeSCTP().

◆ counter_sll

uint16_t DecodeThreadVars_::counter_sll

Definition at line 961 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeSll().

◆ counter_tcp

uint16_t DecodeThreadVars_::counter_tcp

Definition at line 950 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeTCP().

◆ counter_tcp_active_sessions

uint16_t DecodeThreadVars_::counter_tcp_active_sessions

Definition at line 998 of file decode.h.

◆ counter_tcp_rst

uint16_t DecodeThreadVars_::counter_tcp_rst

Definition at line 953 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_tcp_syn

uint16_t DecodeThreadVars_::counter_tcp_syn

Definition at line 951 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_tcp_synack

uint16_t DecodeThreadVars_::counter_tcp_synack

Definition at line 952 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_tcp_urg

uint16_t DecodeThreadVars_::counter_tcp_urg

Definition at line 954 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_teredo

uint16_t DecodeThreadVars_::counter_teredo

Definition at line 976 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_udp

uint16_t DecodeThreadVars_::counter_udp

Definition at line 955 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUDP().

◆ counter_vlan

uint16_t DecodeThreadVars_::counter_vlan

Definition at line 969 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeVLAN().

◆ counter_vlan_qinq

uint16_t DecodeThreadVars_::counter_vlan_qinq

Definition at line 970 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeVLAN().

◆ counter_vlan_qinqinq

uint16_t DecodeThreadVars_::counter_vlan_qinqinq

Definition at line 971 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeVLAN().

◆ counter_vntag

uint16_t DecodeThreadVars_::counter_vntag

Definition at line 973 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeVNTag().

◆ counter_vxlan

uint16_t DecodeThreadVars_::counter_vxlan

Definition at line 972 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ output_flow_thread_data

void* DecodeThreadVars_::output_flow_thread_data

Definition at line 1021 of file decode.h.

Referenced by DecodeThreadVarsAlloc(), and DecodeThreadVarsFree().


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