aboutgitcodebugslistschat
path: root/udp_flow.h
diff options
context:
space:
mode:
Diffstat (limited to 'udp_flow.h')
-rw-r--r--udp_flow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/udp_flow.h b/udp_flow.h
index 12ddf03..6996d24 100644
--- a/udp_flow.h
+++ b/udp_flow.h
@@ -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);