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_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_geneve
 
uint16_t counter_gre
 
uint16_t counter_vlan
 
uint16_t counter_vlan_qinq
 
uint16_t counter_vxlan
 
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_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 630 of file decode.h.

Field Documentation

◆ app_tctx

AppLayerThreadCtx* DecodeThreadVars_::app_tctx

Specific context for udp protocol detection (here atm)

Definition at line 633 of file decode.h.

Referenced by DecodeThreadVarsAlloc(), and DecodeThreadVarsFree().

◆ counter_avg_pkt_size

uint16_t DecodeThreadVars_::counter_avg_pkt_size

Definition at line 638 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUpdatePacketCounters().

◆ counter_bytes

uint16_t DecodeThreadVars_::counter_bytes

Definition at line 637 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUpdatePacketCounters().

◆ counter_chdlc

uint16_t DecodeThreadVars_::counter_chdlc

Definition at line 646 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 673 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and Defrag().

◆ counter_defrag_ipv4_reassembled

uint16_t DecodeThreadVars_::counter_defrag_ipv4_reassembled

Definition at line 674 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_defrag_ipv4_timeouts

uint16_t DecodeThreadVars_::counter_defrag_ipv4_timeouts

Definition at line 675 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_defrag_ipv6_fragments

uint16_t DecodeThreadVars_::counter_defrag_ipv6_fragments

Definition at line 676 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and Defrag().

◆ counter_defrag_ipv6_reassembled

uint16_t DecodeThreadVars_::counter_defrag_ipv6_reassembled

Definition at line 677 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_defrag_ipv6_timeouts

uint16_t DecodeThreadVars_::counter_defrag_ipv6_timeouts

Definition at line 678 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_defrag_max_hit

uint16_t DecodeThreadVars_::counter_defrag_max_hit

Definition at line 679 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_engine_events

uint16_t DecodeThreadVars_::counter_engine_events[DECODE_EVENT_MAX]

Definition at line 699 of file decode.h.

Referenced by PacketUpdateEngineEventCounters().

◆ counter_erspan

uint16_t DecodeThreadVars_::counter_erspan

Definition at line 670 of file decode.h.

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

◆ counter_eth

uint16_t DecodeThreadVars_::counter_eth

Definition at line 645 of file decode.h.

Referenced by DecodeEthernet(), and DecodeRegisterPerfCounters().

◆ counter_flow_get_used

uint16_t DecodeThreadVars_::counter_flow_get_used

Definition at line 688 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_get_used_eval

uint16_t DecodeThreadVars_::counter_flow_get_used_eval

Definition at line 689 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_get_used_eval_busy

uint16_t DecodeThreadVars_::counter_flow_get_used_eval_busy

Definition at line 691 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_get_used_eval_reject

uint16_t DecodeThreadVars_::counter_flow_get_used_eval_reject

Definition at line 690 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_get_used_failed

uint16_t DecodeThreadVars_::counter_flow_get_used_failed

Definition at line 692 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_icmp4

uint16_t DecodeThreadVars_::counter_flow_icmp4

Definition at line 685 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_icmp6

uint16_t DecodeThreadVars_::counter_flow_icmp6

Definition at line 686 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_memcap

uint16_t DecodeThreadVars_::counter_flow_memcap

Definition at line 681 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_spare_sync

uint16_t DecodeThreadVars_::counter_flow_spare_sync

Definition at line 694 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_spare_sync_avg

uint16_t DecodeThreadVars_::counter_flow_spare_sync_avg

Definition at line 697 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_spare_sync_empty

uint16_t DecodeThreadVars_::counter_flow_spare_sync_empty

Definition at line 695 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_spare_sync_incomplete

uint16_t DecodeThreadVars_::counter_flow_spare_sync_incomplete

Definition at line 696 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_tcp

uint16_t DecodeThreadVars_::counter_flow_tcp

Definition at line 683 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_tcp_reuse

uint16_t DecodeThreadVars_::counter_flow_tcp_reuse

Definition at line 687 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_flow_udp

uint16_t DecodeThreadVars_::counter_flow_udp

Definition at line 684 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_geneve

uint16_t DecodeThreadVars_::counter_geneve

Definition at line 659 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_gre

uint16_t DecodeThreadVars_::counter_gre

Definition at line 660 of file decode.h.

Referenced by DecodeGRE(), and DecodeRegisterPerfCounters().

◆ counter_icmpv4

uint16_t DecodeThreadVars_::counter_icmpv4

Definition at line 651 of file decode.h.

Referenced by DecodeICMPV4(), and DecodeRegisterPerfCounters().

◆ counter_icmpv6

uint16_t DecodeThreadVars_::counter_icmpv6

Definition at line 652 of file decode.h.

Referenced by DecodeICMPV6(), and DecodeRegisterPerfCounters().

◆ counter_ieee8021ah

uint16_t DecodeThreadVars_::counter_ieee8021ah

Definition at line 664 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_invalid

uint16_t DecodeThreadVars_::counter_invalid

Definition at line 643 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and PacketDecodeFinalize().

◆ counter_ipv4

uint16_t DecodeThreadVars_::counter_ipv4

Definition at line 647 of file decode.h.

Referenced by DecodeIPV4(), and DecodeRegisterPerfCounters().

◆ counter_ipv4inipv6

uint16_t DecodeThreadVars_::counter_ipv4inipv6

Definition at line 668 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_ipv6

uint16_t DecodeThreadVars_::counter_ipv6

Definition at line 648 of file decode.h.

Referenced by DecodeIPV6(), and DecodeRegisterPerfCounters().

◆ counter_ipv6inipv6

uint16_t DecodeThreadVars_::counter_ipv6inipv6

Definition at line 669 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_max_mac_addrs_dst

uint16_t DecodeThreadVars_::counter_max_mac_addrs_dst

Definition at line 641 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_max_mac_addrs_src

uint16_t DecodeThreadVars_::counter_max_mac_addrs_src

Definition at line 640 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_max_pkt_size

uint16_t DecodeThreadVars_::counter_max_pkt_size

Definition at line 639 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUpdatePacketCounters().

◆ counter_mpls

uint16_t DecodeThreadVars_::counter_mpls

Definition at line 667 of file decode.h.

Referenced by DecodeMPLS(), and DecodeRegisterPerfCounters().

◆ counter_null

uint16_t DecodeThreadVars_::counter_null

Definition at line 656 of file decode.h.

Referenced by DecodeNull(), and DecodeRegisterPerfCounters().

◆ counter_pkts

uint16_t DecodeThreadVars_::counter_pkts

stats/counters

Definition at line 636 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUpdatePacketCounters().

◆ counter_ppp

uint16_t DecodeThreadVars_::counter_ppp

Definition at line 658 of file decode.h.

Referenced by DecodePPP(), and DecodeRegisterPerfCounters().

◆ counter_pppoe

uint16_t DecodeThreadVars_::counter_pppoe

Definition at line 665 of file decode.h.

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

◆ counter_raw

uint16_t DecodeThreadVars_::counter_raw

Definition at line 655 of file decode.h.

Referenced by DecodeRaw(), and DecodeRegisterPerfCounters().

◆ counter_sctp

uint16_t DecodeThreadVars_::counter_sctp

Definition at line 657 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeSCTP().

◆ counter_sll

uint16_t DecodeThreadVars_::counter_sll

Definition at line 654 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeSll().

◆ counter_tcp

uint16_t DecodeThreadVars_::counter_tcp

Definition at line 649 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeTCP().

◆ counter_teredo

uint16_t DecodeThreadVars_::counter_teredo

Definition at line 666 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ counter_udp

uint16_t DecodeThreadVars_::counter_udp

Definition at line 650 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeUDP().

◆ counter_vlan

uint16_t DecodeThreadVars_::counter_vlan

Definition at line 661 of file decode.h.

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

◆ counter_vlan_qinq

uint16_t DecodeThreadVars_::counter_vlan_qinq

Definition at line 662 of file decode.h.

Referenced by DecodeRegisterPerfCounters(), and DecodeVLAN().

◆ counter_vxlan

uint16_t DecodeThreadVars_::counter_vxlan

Definition at line 663 of file decode.h.

Referenced by DecodeRegisterPerfCounters().

◆ output_flow_thread_data

void* DecodeThreadVars_::output_flow_thread_data

Definition at line 703 of file decode.h.

Referenced by DecodeThreadVarsAlloc(), and DecodeThreadVarsFree().


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