summaryrefslogtreecommitdiff
path: root/usr.sbin/switchd/switchd.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/switchd/switchd.h')
-rw-r--r--usr.sbin/switchd/switchd.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/switchd/switchd.h b/usr.sbin/switchd/switchd.h
index 5d707673c25..96bba1dab18 100644
--- a/usr.sbin/switchd/switchd.h
+++ b/usr.sbin/switchd/switchd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: switchd.h,v 1.6 2016/07/21 07:58:44 reyk Exp $ */
+/* $OpenBSD: switchd.h,v 1.7 2016/07/21 08:39:23 reyk Exp $ */
/*
* Copyright (c) 2013-2016 Reyk Floeter <reyk@openbsd.org>
@@ -134,8 +134,9 @@ int switchd_tap(void);
int switchd_open_device(struct privsep *, const char *, size_t);
/* packet.c */
-uint32_t packet_input(struct switchd *, struct switch_control *,
- uint32_t, struct ibuf *, size_t, struct packet *);
+int packet_input(struct switchd *, struct switch_control *,
+ uint32_t, uint32_t *, struct ibuf *, size_t,
+ struct packet *);
/* switch.c */
void switch_init(struct switchd *);