Session manager add builtin ex data
This commit is contained in:
@@ -8,7 +8,21 @@ extern "C"
|
||||
|
||||
#include "packet.h"
|
||||
|
||||
struct metadata
|
||||
{
|
||||
// TODO
|
||||
};
|
||||
|
||||
// metadata
|
||||
struct metadata *metadata_dup(const struct metadata *metadata);
|
||||
void metadata_free(struct metadata *metadata);
|
||||
void packet_set0_metadata(struct packet *pkt, const struct metadata *metadata);
|
||||
const struct metadata *packet_get0_metadata(const struct packet *pkt);
|
||||
|
||||
// packet
|
||||
struct packet *packet_dup(const struct packet *pkt);
|
||||
void packet_free(struct packet *pkt);
|
||||
|
||||
uint64_t packet_get_zone_id(const struct packet *pkt);
|
||||
uint16_t packet_get_raw_len(const struct packet *pkt);
|
||||
const char *packet_get0_raw_data(const struct packet *pkt);
|
||||
|
||||
Reference in New Issue
Block a user