Go to the documentation of this file.
52 return (p->
action & a) != 0;
56 return (actions & a) != 0;
72 FlowDeReference(&p->
flow);
83 #define CLEAR_ADDR(a) \
86 (a)->addr_data32[0] = 0; \
87 (a)->addr_data32[1] = 0; \
88 (a)->addr_data32[2] = 0; \
89 (a)->addr_data32[3] = 0; \
110 #define PACKET_RESET_ACTION(p) (p)->action = 0
122 #define RESET_PKT_LEN(p) ((p)->pktlen = 0)
bool PacketCheckAction(const Packet *p, const uint8_t a)
#define HostDeReference(src_h_ptr)
struct Packet_::@35 persistent
void PacketRecycle(Packet *p)
PacketAlert * PacketAlertCreate(void)
Initialize PacketAlerts with dynamic alerts array size.
void PacketReleaseRefs(Packet *p)
void AppLayerDecoderEventsFreeEvents(AppLayerDecoderEvents **events)
#define ACTION_DROP_REJECT
void AppLayerDecoderEventsResetEvents(AppLayerDecoderEvents *events)
int(* BypassPacketsFlow)(struct Packet_ *)
AppLayerDecoderEvents * app_layer_events
void PacketAlertFree(PacketAlert *pa)
PacketEngineEvents events
void PacketReinit(Packet *p)
Recycle a packet structure for reuse.
@ PKT_DROP_REASON_NOT_SET
void PacketDestructor(Packet *p)
Cleanup a packet so that we can free it. No memset needed..
#define PACKET_RESET_ACTION(p)
struct LiveDevice_ * livedev
uint8_t nb_decoded_layers
#define PACKET_FREE_EXTDATA(p)
@ PKT_DROP_REASON_INNER_PACKET
uint8_t app_update_direction
enum PacketTunnelType ttype
#define PACKET_PROFILING_RESET(p)
void PktVarFree(PktVar *pv)
void PacketDrop(Packet *p, const uint8_t action, enum PacketDropReason r)
issue drop action
uint16_t vlan_id[VLAN_MAX_LAYERS]
void PacketInit(Packet *p)
Initialize a packet structure for use.
#define DEBUG_VALIDATE_BUG_ON(exp)