suricata
|
#include <decode.h>
union { ... } |
union { ... } |
union { ... } |
union { ... } |
PacketAlerts Packet_::alerts |
Definition at line 567 of file decode.h.
Referenced by AlertFastLogCondition(), AlertFastLogger(), DetectSignatureApplyActions(), PacketAlertAppend(), PacketAlertCheck(), PacketAlertFinalize(), and PacketAlertRemove().
AppLayerDecoderEvents* Packet_::app_layer_events |
Definition at line 579 of file decode.h.
Referenced by PacketCreateMask().
int(* Packet_::BypassPacketsFlow) (struct Packet_ *) |
The function triggering bypass the flow in the capture method. Return 1 for success and 0 on error
Definition at line 497 of file decode.h.
Referenced by PacketBypassCallback(), and ReceivePfringLoop().
int Packet_::datalink |
data linktype in host order
Definition at line 586 of file decode.h.
Referenced by DecodeErfDag(), EvePacket(), NapatechDecode(), PacketDefragPktSetup(), PacketTunnelPktSetup(), and StreamTcpPseudoSetup().
Port Packet_::dp |
Definition at line 430 of file decode.h.
Referenced by AlertFastLogger(), FlowGetPacketDirection(), IPOnlyMatchPacket(), JsonAddrInfoInit(), TLSGetIPInformations(), and UTHBuildPacketIPV6Real().
Address Packet_::dst |
Definition at line 420 of file decode.h.
Referenced by IPOnlyMatchPacket(), TagHashAddTag(), TmqhOutputFlowIPPair(), UTHBuildPacketIPV6Real(), and UTHBuildPacketOfFlows().
PacketEngineEvents Packet_::events |
Definition at line 577 of file decode.h.
Referenced by PacketCreateMask(), PacketUpdateEngineEventCounters(), and SigMatchSignaturesGetSgh().
uint8_t* Packet_::ext_pkt |
Definition at line 562 of file decode.h.
Referenced by PacketCallocExtPkt(), PacketCopyDataOffset(), and PacketSetData().
uint32_t Packet_::flags |
Definition at line 450 of file decode.h.
Referenced by CaptureStatsUpdate(), DetectReplaceExecuteInternal(), FlowHandlePacket(), FlowSetupPacket(), IPOnlyMatchPacket(), PacketCreateMask(), PacketDecodeFinalize(), PacketFreeOrRelease(), PacketGetFromAlloc(), PacketSetData(), Prefilter(), SCProfileRuleStart(), StreamTcp(), StreamTcpInlineSegmentReplacePacket(), StreamTcpReassembleAppLayer(), StreamTcpReassembleHandleSegment(), TmqhOutputFlowHash(), TmqhOutputPacketpool(), TmqhOutputSimple(), and UTHAssignFlow().
struct Flow_* Packet_::flow |
Definition at line 452 of file decode.h.
Referenced by CreateEveHeader(), DetectEngineInspectPktBufferGeneric(), DetectFlowintMatch(), DetectFlowvarMatch(), DetectRunPrefilterTx(), DetectSignatureApplyActions(), FlowHandlePacket(), JsonBuildFileInfoRecord(), PacketBypassCallback(), StreamTcp(), StreamTcpPacket(), StreamTcpReassembleAppLayer(), StreamTcpReassembleDepthReached(), StreamTcpReassembleHandleSegment(), StreamTcpSessionPktFree(), TagFlowAdd(), TagHandlePacket(), UTHAssignFlow(), and UTHBuildPacketOfFlows().
uint32_t Packet_::flow_hash |
Definition at line 456 of file decode.h.
Referenced by FlowGetFlowFromHash(), FlowSetupPacket(), and TmqhOutputFlowHash().
uint8_t Packet_::flowflags |
Definition at line 446 of file decode.h.
Referenced by AppLayerHandleUdp(), DetectFlowMatch(), FlowHandlePacketUpdate(), JsonBuildFileInfoRecord(), PacketSwap(), SigMatchSignaturesGetSgh(), and StreamTcpReassembleDepthReached().
struct { ... } Packet_::icmp_d |
Referenced by DecodeICMPV4(), and DecodeICMPV6().
struct { ... } Packet_::icmp_s |
Referenced by AlertFastLogger(), DecodeICMPV4(), DecodeICMPV6(), and FlowInit().
ICMPV4Hdr* Packet_::icmpv4h |
Definition at line 540 of file decode.h.
Referenced by DecodeICMPV4(), and FlowInit().
ICMPV4Vars Packet_::icmpv4vars |
Definition at line 525 of file decode.h.
Referenced by DecodeICMPV4().
ICMPV6Hdr* Packet_::icmpv6h |
Definition at line 542 of file decode.h.
Referenced by DecodeICMPV6().
ICMPV6Vars Packet_::icmpv6vars |
IPV4Hdr* Packet_::ip4h |
Definition at line 510 of file decode.h.
Referenced by UTHFreePacket().
IPV6ExtHdrs Packet_::ip6eh |
Definition at line 519 of file decode.h.
Referenced by DecodeIPV6FragHeader().
IPV6Hdr* Packet_::ip6h |
Definition at line 512 of file decode.h.
Referenced by UTHBuildPacketIPV6Real().
IPFWPacketVars Packet_::ipfw_v |
union { ... } Packet_::l4vars |
struct LiveDevice_* Packet_::livedev |
Definition at line 565 of file decode.h.
Referenced by FlowInit(), PacketDefragPktSetup(), and PacketTunnelPktSetup().
struct Packet_* Packet_::next |
Definition at line 582 of file decode.h.
Referenced by TmThreadDumpThreads().
NFQPacketVars Packet_::nfq_v |
NapatechPacketVars Packet_::ntpv |
uint8_t* Packet_::payload |
Definition at line 552 of file decode.h.
Referenced by DecodeICMPV6(), DetectEngineInspectPacketPayload(), StreamTcpInlineSegmentCompare(), StreamTcpInlineSegmentReplacePacket(), StreamTcpUTAddSegmentWithByte(), StreamTcpUTAddSegmentWithPayload(), and UTHBuildPacketIPV6Real().
uint16_t Packet_::payload_len |
Definition at line 553 of file decode.h.
Referenced by DecodeICMPV6(), DetectEngineInspectPacketPayload(), PacketCreateMask(), Prefilter(), StreamTcpInlineSegmentCompare(), StreamTcpInlineSegmentReplacePacket(), StreamTcpReassembleHandleSegment(), StreamTcpUTAddSegmentWithByte(), StreamTcpUTAddSegmentWithPayload(), and UTHBuildPacketIPV6Real().
uint64_t Packet_::pcap_cnt |
packet number in the pcap file, matches wireshark
Definition at line 573 of file decode.h.
Referenced by AlertFastLogger(), FlowHandlePacketUpdate(), StreamReassembleRawUpdateProgress(), StreamTcp(), and StreamTcpPacket().
PcapPacketVars Packet_::pcap_v |
PktVar* Packet_::pktvar |
Definition at line 500 of file decode.h.
Referenced by PktVarAdd(), PktVarAddKeyValue(), and PktVarGet().
uint8_t Packet_::plugin_v[PLUGIN_VAR_SIZE] |
PPPOEDiscoveryHdr* Packet_::pppoedh |
Definition at line 546 of file decode.h.
Referenced by DecodePPPOEDiscovery().
PPPOESessionHdr* Packet_::pppoesh |
Definition at line 545 of file decode.h.
Referenced by DecodePPPOESession().
PktProfiling* Packet_::profile |
Definition at line 619 of file decode.h.
Referenced by SCProfileRuleStart(), and SCProfilingAddPacket().
uint8_t Packet_::proto |
Definition at line 437 of file decode.h.
Referenced by DecodeICMPV4(), DecodeICMPV6(), DetectEngineInspectStream(), FlowGetPacketDirection(), FlowInit(), IPOnlyMatchPacket(), JsonAddrInfoInit(), SigMatchSignaturesGetSgh(), StreamSegmentForEach(), StreamTcpPseudoSetup(), TcpSessionPacketSsnReuse(), UTHBuildPacketIPV6Real(), and UTHFreePacket().
uint8_t Packet_::recursion_level |
Definition at line 440 of file decode.h.
Referenced by FlowInit(), PacketDefragPktSetup(), PacketTunnelPktSetup(), and StreamTcpPseudoSetup().
void(* Packet_::ReleasePacket) (struct Packet_ *) |
The release function for packet structure and data
Definition at line 494 of file decode.h.
Referenced by PacketGetFromAlloc(), and TmqhOutputPacketpool().
struct Packet_* Packet_::root |
Definition at line 589 of file decode.h.
Referenced by PacketDefragPktSetup(), PacketTunnelPktSetup(), StreamTcpPseudoSetup(), TmqhOutputPacketpool(), and TmqhOutputSimple().
Port Packet_::sp |
Definition at line 422 of file decode.h.
Referenced by AlertFastLogger(), FlowGetPacketDirection(), IPOnlyMatchPacket(), JsonAddrInfoInit(), TLSGetIPInformations(), and UTHBuildPacketIPV6Real().
Address Packet_::src |
Definition at line 419 of file decode.h.
Referenced by FlowGetPacketDirection(), IPOnlyMatchPacket(), TagHashAddTag(), TmqhOutputFlowIPPair(), UTHBuildPacketIPV6Real(), and UTHBuildPacketOfFlows().
TCPHdr* Packet_::tcph |
Definition at line 532 of file decode.h.
Referenced by FlowInit(), PacketCreateMask(), ReCalculateChecksum(), StreamTcpReassembleHandleSegment(), StreamTcpUTAddPayload(), StreamTcpUTAddSegmentWithByte(), StreamTcpUTAddSegmentWithPayload(), TcpSessionPacketSsnReuse(), UTHBuildPacketIPV6Real(), and UTHFreePacket().
uint32_t Packet_::tenant_id |
tenant id for this packet, if any. If 0 then no tenant was assigned.
Definition at line 606 of file decode.h.
Referenced by AlertJsonHeader(), Detect(), PacketDefragPktSetup(), and PacketTunnelPktSetup().
struct timeval Packet_::ts |
Definition at line 456 of file decode.h.
Referenced by AlertFastLogger(), CreateEveHeader(), FlowHandlePacketUpdate(), PacketDefragPktSetup(), PacketTunnelPktSetup(), StreamTcpPseudoSetup(), and UTHBuildPacketIPV6Real().
SCMutex Packet_::tunnel_mutex |
mutex to protect access to:
Definition at line 599 of file decode.h.
Referenced by TmqhOutputPacketpool().
UDPHdr* Packet_::udph |
Definition at line 534 of file decode.h.
Referenced by FlowInit(), and UTHFreePacket().
uint16_t Packet_::vlan_id[2] |
Definition at line 442 of file decode.h.
Referenced by DecodeVLANGetId(), FlowInit(), and PacketDefragPktSetup().
uint8_t Packet_::vlan_idx |
Definition at line 443 of file decode.h.
Referenced by DecodePfring(), DecodeVLAN(), DecodeVLANGetId(), FlowInit(), and PacketDefragPktSetup().