summaryrefslogtreecommitdiffstats
path: root/daemon/packet.h
blob: 49fe04261ff78dd0dd6cccc7ca19f8dde11b0674 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef foopackethfoo
#define foopackethfoo

#include <libipq/libipq.h>
#include <glib.h>

void packet_new(ipq_packet_msg_t *m);
ipq_packet_msg_t* packet_find(unsigned long id);
void packet_release(unsigned long id);
void packet_foreach(gboolean age, gboolean (*func)(ipq_packet_msg_t*));
void packets_free();
guint get_queued_packets();
guint get_total_packets();

#endif