aboutgitcodebugslistschat
path: root/tap.h
diff options
context:
space:
mode:
Diffstat (limited to 'tap.h')
-rw-r--r--tap.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tap.h b/tap.h
index 2d8e7aa..c5606a2 100644
--- a/tap.h
+++ b/tap.h
@@ -98,5 +98,12 @@ void tap_handler_pasta(struct ctx *c, uint32_t events,
void tap_handler_passt(struct ctx *c, uint32_t events,
const struct timespec *now);
void tap_sock_init(struct ctx *c);
+void pool_flush_all(void);
+void tap_handler_all(struct ctx *c, const struct timespec *now);
+
+void packet_add_do(struct pool *p, size_t len, const char *start,
+ const char *func, int line);
+#define packet_add_all(p, len, start) \
+ packet_add_all_do(p, len, start, __func__, __LINE__)
#endif /* TAP_H */