summaryrefslogtreecommitdiff
path: root/usr.sbin/switchd/switchd.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2016-11-11 22:07:41 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2016-11-11 22:07:41 +0000
commit8a968f84fad9184a8e3467348b0f2aa3b048e40a (patch)
treee0ec3c514e2f4d2c5903d1c7433ecbd7572faa75 /usr.sbin/switchd/switchd.h
parent7a36b8913e0188a2bea960f56b9c84197ede86f0 (diff)
Move ofp_validate_header() into ofp_common.c. No functional change.
Diffstat (limited to 'usr.sbin/switchd/switchd.h')
-rw-r--r--usr.sbin/switchd/switchd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/switchd/switchd.h b/usr.sbin/switchd/switchd.h
index b74cc3c5253..610ef0222eb 100644
--- a/usr.sbin/switchd/switchd.h
+++ b/usr.sbin/switchd/switchd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: switchd.h,v 1.18 2016/11/11 16:59:33 reyk Exp $ */
+/* $OpenBSD: switchd.h,v 1.19 2016/11/11 22:07:40 reyk Exp $ */
/*
* Copyright (c) 2013-2016 Reyk Floeter <reyk@openbsd.org>
@@ -224,9 +224,6 @@ void ofp(struct privsep *, struct privsep_proc *);
void ofp_close(struct switch_connection *);
int ofp_open(struct privsep *, struct switch_connection *);
void ofp_accept(int, short, void *);
-int ofp_validate_header(struct switchd *,
- struct sockaddr_storage *, struct sockaddr_storage *,
- struct ofp_header *, uint8_t);
int ofp_input(struct switch_connection *, struct ibuf *);
/* ofp10.c */
@@ -255,6 +252,9 @@ int ofp13_featuresrequest(struct switchd *,
struct switch_connection *);
/* ofp_common.c */
+int ofp_validate_header(struct switchd *,
+ struct sockaddr_storage *, struct sockaddr_storage *,
+ struct ofp_header *, uint8_t);
int ofp_output(struct switch_connection *, struct ofp_header *,
struct ibuf *);
int ofp_multipart_add(struct switch_connection *, uint32_t,