|
suricata
|
#include <decode.h>

| union { ... } |
| union { ... } |
| union { ... } |
| uint8_t Packet_::action |
Definition at line 644 of file decode.h.
Referenced by DetectFirewallPolicyToString(), PacketCheckAction(), PacketDrop(), and PacketGetAction().
| PacketAlerts Packet_::alerts |
Definition at line 657 of file decode.h.
Referenced by PacketAlertCheck(), PacketAlertDropReset(), PacketDestructor(), and PacketInit().
| AppLayerDecoderEvents* Packet_::app_layer_events |
Definition at line 665 of file decode.h.
Referenced by AppLayerHandleUdp(), PacketCreateMask(), and PacketDestructor().
| uint8_t Packet_::app_update_direction |
Definition at line 567 of file decode.h.
Referenced by PacketReinit().
| 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 629 of file decode.h.
Referenced by PacketBypassCallback().
| int Packet_::datalink |
data linktype in host order
Definition at line 672 of file decode.h.
Referenced by DecodeErfDag(), EvePacket(), PacketReinit(), PacketTunnelPktSetupWithSession(), and SCPacketSetDatalink().
| Port Packet_::dp |
Definition at line 543 of file decode.h.
Referenced by FlowGetPacketDirection(), PacketReinit(), UTHBuildPacketIPV6Real(), and UTHBuildPacketReal().
| uint8_t Packet_::drop_reason |
Definition at line 680 of file decode.h.
Referenced by PacketDrop(), and PacketReinit().
| Address Packet_::dst |
Definition at line 533 of file decode.h.
Referenced by IPOnlyMatchPacket(), PacketReinit(), TagHashAddTag(), TmqhOutputFlowIPPair(), UTHBuildPacketIPV6Real(), UTHBuildPacketOfFlows(), and UTHBuildPacketReal().
| PacketEngineEvents Packet_::events |
Definition at line 663 of file decode.h.
Referenced by PacketCreateMask(), and PacketUpdateEngineEventCounters().
| uint8_t* Packet_::ext_pkt |
Definition at line 650 of file decode.h.
Referenced by PacketCallocExtPkt(), PacketCopyDataOffset(), and PacketSetData().
| uint32_t Packet_::flags |
Definition at line 582 of file decode.h.
Referenced by DetectReplaceExecuteInternal(), DumpPatterns(), FlowHandlePacket(), FlowSetupPacket(), PacketCreateMask(), PacketDecodeFinalize(), PacketReinit(), PacketSetData(), Prefilter(), SCProfileRuleStart(), StreamTcpReassembleAppLayer(), TmqhOutputFlowHash(), and UTHAssignFlow().
| struct Flow_* Packet_::flow |
Definition at line 584 of file decode.h.
Referenced by CreateEveHeader(), DetectEngineInspectPktBufferGeneric(), DetectFlowintMatch(), DetectFlowvarMatch(), DetectRunPrefilterTx(), ExceptionPolicyParse(), FlowHandlePacket(), JsonBuildFileInfoRecord(), PacketBypassCallback(), Prefilter(), RulesDumpMatchArray(), RulesDumpTxMatchArray(), SCPacketGetFlow(), SigMatchSignatures(), SSHTxLogCondition(), StreamTcp(), StreamTcpPacket(), StreamTcpReassembleDepthReached(), StreamTcpSegmentForEach(), StreamTcpSegmentForSession(), StreamTcpSessionPktFree(), TagFlowAdd(), TagHandlePacket(), TmqhReleasePacketsToPacketPool(), TmThreadsProcessDecodePseudoPackets(), TmThreadsSlotVarRun(), TmThreadTimeoutLoop(), UTHAssignFlow(), and UTHBuildPacketOfFlows().
| uint32_t Packet_::flow_hash |
Definition at line 588 of file decode.h.
Referenced by FlowGetFlowFromHash(), FlowSetupPacket(), and TmqhOutputFlowHash().
| uint8_t Packet_::flowflags |
Definition at line 564 of file decode.h.
Referenced by AppLayerHandleUdp(), DetectFlowMatch(), JsonBuildFileInfoRecord(), PacketReinit(), PacketSwap(), and StreamTcpReassembleDepthReached().
| struct { ... } Packet_::icmp_d |
| struct { ... } Packet_::icmp_s |
| IPFWPacketVars Packet_::ipfw_v |
| struct PacketL3 Packet_::l3 |
Definition at line 632 of file decode.h.
Referenced by DecodeIPV6FragHeader(), SCPacketGetL3(), and UTHFreePacket().
| struct PacketL4 Packet_::l4 |
Definition at line 632 of file decode.h.
Referenced by StreamTcpUTAddPayload(), StreamTcpUTAddSegmentWithByte(), StreamTcpUTAddSegmentWithPayload(), and UTHFreePacket().
| uint16_t Packet_::livedev_dst_id |
Definition at line 655 of file decode.h.
Referenced by PacketInit().
| uint16_t Packet_::livedev_id |
Definition at line 653 of file decode.h.
Referenced by FlowInit(), PacketInit(), PacketTunnelPktSetupWithSession(), and SCPacketSetLiveDevice().
| uint8_t Packet_::nb_decoded_layers |
Definition at line 677 of file decode.h.
Referenced by PacketTunnelPktSetupWithSession().
| struct Packet_* Packet_::next |
Definition at line 668 of file decode.h.
Referenced by DetectPortLookupGroup().
| NFQPacketVars Packet_::nfq_v |
| uint8_t* Packet_::payload |
Definition at line 640 of file decode.h.
Referenced by AppLayerHandleUdp(), DetectEngineInspectPacketPayload(), StreamTcpUTAddSegmentWithByte(), StreamTcpUTAddSegmentWithPayload(), UTHBuildPacketIPV6Real(), and UTHBuildPacketReal().
| uint16_t Packet_::payload_len |
Definition at line 641 of file decode.h.
Referenced by AppLayerHandleUdp(), DetectEngineInspectPacketPayload(), PacketCreateMask(), Prefilter(), StreamTcpUTAddSegmentWithByte(), StreamTcpUTAddSegmentWithPayload(), UTHBuildPacketIPV6Real(), and UTHBuildPacketReal().
| PcapPacketVars Packet_::pcap_v |
libpcap vars: shared by Pcap Live mode and Pcap File mode
Definition at line 622 of file decode.h.
Referenced by PcapFileReleasePseudoPacket().
| struct { ... } Packet_::persistent |
Referenced by PacketDestructor(), and PacketInit().
| uint8_t Packet_::pkt_data[] |
flex array accessor to allocated packet data. Size of the additional data is default_packet_size. If this is insufficient, Packet::ext_pkt will be used instead.
| uint16_t Packet_::pkt_hooks |
bit flags of SignatureHookPkt values this packet should trigger
Definition at line 573 of file decode.h.
Referenced by PacketReinit(), and Prefilter().
| uint8_t Packet_::pkt_src |
Definition at line 646 of file decode.h.
Referenced by PacketEnqueueNoLock(), PacketReinit(), SCPacketSetSource(), and StreamTcp().
| PktVar* Packet_::pktvar |
Definition at line 632 of file decode.h.
Referenced by EveAddMetadata(), PacketDestructor(), PacketReinit(), PktVarAdd(), PktVarAddKeyValue(), and PktVarGet().
| uint8_t Packet_::plugin_v[PLUGIN_VAR_SIZE] |
| struct PktPool_* Packet_::pool |
Definition at line 703 of file decode.h.
Referenced by PacketFreeOrRelease(), TmqhOutputPacketpool(), and TmqhOutputSimple().
| PktProfiling* Packet_::profile |
Definition at line 706 of file decode.h.
Referenced by SCProfileRuleStart(), and SCProfilingAddPacket().
| uint8_t Packet_::proto |
Definition at line 550 of file decode.h.
Referenced by DetectEngineInspectFrameBufferGeneric(), DetectEngineInspectStream(), EveAddVerdict(), FlowGetPacketDirection(), FlowInit(), FrameJsonLogOneFrame(), FramesPrune(), PacketReinit(), Prefilter(), StreamSegmentForEach(), StreamSegmentForSession(), TcpSessionPacketSsnReuse(), UTHBuildPacketIPV6Real(), and UTHBuildPacketReal().
| uint8_t Packet_::recursion_level |
Definition at line 553 of file decode.h.
Referenced by FlowInit(), PacketReinit(), and PacketTunnelPktSetupWithSession().
| void(* Packet_::ReleasePacket) (struct Packet_ *) |
The release function for packet structure and data
Definition at line 626 of file decode.h.
Referenced by PacketFreeOrRelease(), PacketGetFromAlloc(), and PacketGetFromQueueOrAlloc().
| struct Packet_* Packet_::root |
Definition at line 686 of file decode.h.
Referenced by PacketCheckAction(), PacketDefragPktSetup(), PacketDrop(), PacketGetAction(), PacketTunnelPktSetupWithSession(), TmqhOutputPacketpool(), and TmqhOutputSimple().
| SignatureMask Packet_::sig_mask |
sig mask flags this packet has, used in signature matching
Definition at line 570 of file decode.h.
Referenced by PacketReinit().
| Port Packet_::sp |
Definition at line 535 of file decode.h.
Referenced by FlowGetPacketDirection(), PacketReinit(), UTHBuildPacketIPV6Real(), and UTHBuildPacketReal().
| Address Packet_::src |
Definition at line 532 of file decode.h.
Referenced by FlowGetPacketDirection(), IPOnlyMatchPacket(), PacketReinit(), TagHashAddTag(), TmqhOutputFlowIPPair(), UTHBuildPacketIPV6Real(), UTHBuildPacketOfFlows(), and UTHBuildPacketReal().
| uint32_t Packet_::tenant_id |
tenant id for this packet, if any. If 0 then no tenant was assigned.
Definition at line 698 of file decode.h.
Referenced by AlertJsonHeader(), Detect(), and PacketTunnelPktSetupWithSession().
| SCTime_t Packet_::ts |
Definition at line 590 of file decode.h.
Referenced by AlertFastLogger(), CreateEveHeader(), FlowHandlePacketUpdate(), PacketReinit(), PacketTunnelPktSetupWithSession(), SCPacketGetTimeAsParts(), SCPacketSetTime(), UTHBuildPacketIPV6Real(), and UTHBuildPacketReal().
| uint8_t Packet_::ttype |
Definition at line 576 of file decode.h.
Referenced by PacketDefragPktSetupParent(), and PacketReinit().
| uint16_t Packet_::tunnel_id |
Definition at line 558 of file decode.h.
Referenced by FlowInit(), PacketReinit(), and PacketSetTunnelId().
| SCSpinlock Packet_::tunnel_lock |
lock to protect access to:
Definition at line 716 of file decode.h.
Referenced by PacketDestructor(), and PacketInit().
| bool Packet_::tunnel_verdicted |
| uint16_t Packet_::vlan_id[VLAN_MAX_LAYERS] |
Definition at line 560 of file decode.h.
Referenced by FlowInit(), and PacketReinit().
| uint8_t Packet_::vlan_idx |
Definition at line 561 of file decode.h.
Referenced by DecodeVLAN(), FlowInit(), and PacketReinit().