Go to the documentation of this file.
18 #ifndef SURICATA_PACKET_H
19 #define SURICATA_PACKET_H
27 static inline uint8_t PacketTestAction(
const Packet *p,
const uint8_t a)
bool PacketCheckAction(const Packet *p, const uint8_t a)
void PacketReleaseRefs(Packet *p)
void PacketInit(Packet *p)
Initialize a packet structure for use.
void PacketReinit(Packet *p)
Recycle a packet structure for reuse.
void PacketDestructor(Packet *p)
Cleanup a packet so that we can free it. No memset needed..
void PacketRecycle(Packet *p)
void PacketDrop(Packet *p, const uint8_t action, enum PacketDropReason r)
issue drop action