diff options
Diffstat (limited to 'udp_flow.h')
-rw-r--r-- | udp_flow.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -19,6 +19,8 @@ struct udp_flow { time_t ts; int s[SIDES]; + + int last_errno; }; struct udp_flow *udp_at_sidx(flow_sidx_t sidx); @@ -30,6 +32,7 @@ flow_sidx_t udp_flow_from_tap(const struct ctx *c, const void *saddr, const void *daddr, in_port_t srcport, in_port_t dstport, const struct timespec *now); +void udp_flow_close(const struct ctx *c, struct udp_flow *uflow); bool udp_flow_timer(const struct ctx *c, struct udp_flow *uflow, const struct timespec *now); |