diff options
Diffstat (limited to 'daemon/packet.h')
-rw-r--r-- | daemon/packet.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/daemon/packet.h b/daemon/packet.h new file mode 100644 index 0000000..49fe042 --- /dev/null +++ b/daemon/packet.h @@ -0,0 +1,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 |