summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_gre.h
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-04-14 20:46:32 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-04-14 20:46:32 +0000
commit14e60fde4883c2c47ca36b2f86aff14bea8edd31 (patch)
tree831d67c671284e36badecefe711a7e040eece7b0 /sys/netinet/ip_gre.h
parent708bc10167aa7c173466c8d11086853693f659d3 (diff)
Pass down the address family through the pr_input calls. This
allows to simplify code used for both IPv4 and IPv6. OK mikeb@ deraadt@
Diffstat (limited to 'sys/netinet/ip_gre.h')
-rw-r--r--sys/netinet/ip_gre.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_gre.h b/sys/netinet/ip_gre.h
index 338764dfb84..b072532d998 100644
--- a/sys/netinet/ip_gre.h
+++ b/sys/netinet/ip_gre.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_gre.h,v 1.11 2017/01/29 19:58:47 bluhm Exp $ */
+/* $OpenBSD: ip_gre.h,v 1.12 2017/04/14 20:46:31 bluhm Exp $ */
/* $NetBSD: ip_gre.h,v 1.3 1998/10/07 23:33:02 thorpej Exp $ */
/*
@@ -64,8 +64,8 @@
}
#ifdef _KERNEL
-int gre_input(struct mbuf **, int *, int);
-int gre_mobile_input(struct mbuf **, int *, int);
+int gre_input(struct mbuf **, int *, int, int);
+int gre_mobile_input(struct mbuf **, int *, int, int);
int ipmobile_sysctl(int *, u_int, void *, size_t *, void *, size_t);
int gre_sysctl(int *, u_int, void *, size_t *, void *, size_t);
int gre_usrreq(struct socket *, int, struct mbuf *, struct mbuf *, struct mbuf *, struct proc *);