|
| PacketAlert * | PacketAlertCreate (void) |
| | Initialize PacketAlerts with dynamic alerts array size. More...
|
| |
| void | PacketAlertRecycle (PacketAlert *pa_array, uint16_t cnt) |
| |
| void | PacketAlertFree (PacketAlert *pa_array) |
| |
| void | PacketFree (Packet *p) |
| | Return a malloced packet. More...
|
| |
| void | PacketDecodeFinalize (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p) |
| | Finalize decoding of a packet. More...
|
| |
| void | PacketUpdateEngineEventCounters (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p) |
| |
| Packet * | PacketGetFromAlloc (void) |
| | Get a malloced packet. More...
|
| |
| void | PacketFreeOrRelease (Packet *p) |
| | Return a packet to where it was allocated. More...
|
| |
| Packet * | PacketGetFromQueueOrAlloc (void) |
| | Get a packet. We try to get a packet from the packetpool first, but if that is empty we alloc a packet that is free'd again after processing. More...
|
| |
| int | PacketCallocExtPkt (Packet *p, int datalen) |
| |
| int | PacketCopyDataOffset (Packet *p, uint32_t offset, const uint8_t *data, uint32_t datalen) |
| | Copy data to Packet payload at given offset. More...
|
| |
| int | PacketCopyData (Packet *p, const uint8_t *pktdata, uint32_t pktlen) |
| | Copy data to Packet payload and set packet length. More...
|
| |
| Packet * | PacketTunnelPktSetup (ThreadVars *tv, DecodeThreadVars *dtv, Packet *parent, const uint8_t *pkt, uint32_t len, enum DecodeTunnelProto proto) |
| | Setup a pseudo packet (tunnel) More...
|
| |
| Packet * | PacketDefragPktSetup (Packet *parent, const uint8_t *pkt, uint32_t len, uint8_t proto) |
| | Setup a pseudo packet (reassembled frags) More...
|
| |
| void | PacketDefragPktSetupParent (Packet *parent) |
| | inform defrag "parent" that a pseudo packet is now associated to it. More...
|
| |
| void | PacketBypassCallback (Packet *p) |
| |
| void | PacketSwap (Packet *p) |
| | switch direction of a packet More...
|
| |
| void | DecodeUnregisterCounters (void) |
| |
| void | DecodeRegisterPerfCounters (DecodeThreadVars *dtv, ThreadVars *tv) |
| |
| void | DecodeUpdatePacketCounters (ThreadVars *tv, const DecodeThreadVars *dtv, const Packet *p) |
| |
| void | AddressDebugPrint (Address *a) |
| | Debug print function for printing addresses. More...
|
| |
| DecodeThreadVars * | DecodeThreadVarsAlloc (ThreadVars *tv) |
| | Alloc and setup DecodeThreadVars. More...
|
| |
| void | DecodeThreadVarsFree (ThreadVars *tv, DecodeThreadVars *dtv) |
| |
| int | PacketSetData (Packet *p, const uint8_t *pktdata, uint32_t pktlen) |
| | Set data for Packet and set length when zero copy is used. More...
|
| |
| const char * | PktSrcToString (enum PktSrcEnum pkt_src) |
| |
| const char * | PacketDropReasonToString (enum PacketDropReason r) |
| |
| void | CaptureStatsUpdate (ThreadVars *tv, const Packet *p) |
| |
| void | CaptureStatsSetup (ThreadVars *tv) |
| |
| void | DecodeGlobalConfig (void) |
| |
| void | PacketAlertGetMaxConfig (void) |
| |
- Author
- Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t
Decode the raw packet
Definition in file decode.c.