diff options
author | 2013-04-11 12:06:25 +0000 | |
---|---|---|
committer | 2013-04-11 12:06:25 +0000 | |
commit | 331bae3d12d906842824c2fc6ea41311c76fcf0f (patch) | |
tree | 9cb1864769febad1f36bae8a3e0752d005f45c8b /sys/netinet/ipsec_input.c | |
parent | Merge usbd_ar_pipe in usbd_abort_pipe, no functional change. (diff) | |
download | wireguard-openbsd-331bae3d12d906842824c2fc6ea41311c76fcf0f.tar.xz wireguard-openbsd-331bae3d12d906842824c2fc6ea41311c76fcf0f.zip |
Remove the extern keyword from function declarations, document
sysctl declarations, move variables and functions used in only
one place in their corresponding file. No functional change.
No objection from markus@, ok mikeb@
Diffstat (limited to 'sys/netinet/ipsec_input.c')
-rw-r--r-- | sys/netinet/ipsec_input.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/netinet/ipsec_input.c b/sys/netinet/ipsec_input.c index 3c371e98c3d..b4af9a60fe4 100644 --- a/sys/netinet/ipsec_input.c +++ b/sys/netinet/ipsec_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsec_input.c,v 1.112 2013/04/10 08:50:59 mpi Exp $ */ +/* $OpenBSD: ipsec_input.c,v 1.113 2013/04/11 12:06:25 mpi Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -83,6 +83,17 @@ #include "bpfilter.h" void *ipsec_common_ctlinput(u_int, int, struct sockaddr *, void *, int); +#ifdef INET +int ah4_input_cb(struct mbuf *, ...); +int esp4_input_cb(struct mbuf *, ...); +int ipcomp4_input_cb(struct mbuf *, ...); +#endif + +#ifdef INET6 +int ah6_input_cb(struct mbuf *, int, int); +int esp6_input_cb(struct mbuf *, int, int); +int ipcomp6_input_cb(struct mbuf *, int, int); +#endif #ifdef ENCDEBUG #define DPRINTF(x) if (encdebug) printf x |