diff options
author | 2002-06-25 00:21:58 +0000 | |
---|---|---|
committer | 2002-06-25 00:21:58 +0000 | |
commit | 4848e6c34039e11b503e987dc44bee9a71abe935 (patch) | |
tree | c499e7c64e733483c16e3346e8a8deaa83efbe9a | |
parent | Make udp_input() a bit more readable by farming out the IPsec input (diff) | |
download | wireguard-openbsd-4848e6c34039e11b503e987dc44bee9a71abe935.tar.xz wireguard-openbsd-4848e6c34039e11b503e987dc44bee9a71abe935.zip |
Ifdef the function proto as well.
-rw-r--r-- | sys/netinet/udp_usrreq.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 644969a468c..c967cf3f4be 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udp_usrreq.c,v 1.80 2002/06/25 00:21:32 angelos Exp $ */ +/* $OpenBSD: udp_usrreq.c,v 1.81 2002/06/25 00:21:58 angelos Exp $ */ /* $NetBSD: udp_usrreq.c,v 1.28 1996/03/16 23:54:03 christos Exp $ */ /* @@ -112,7 +112,10 @@ int udpcksum = 1; static void udp_detach(struct inpcb *); static void udp_notify(struct inpcb *, int); static struct mbuf *udp_saveopt(caddr_t, int, int); + +#ifdef IPSEC int udp_check_ipsec(struct mbuf *, struct inpcb *, union sockaddr_union, int); +#endif /* IPSEC */ #ifndef UDBHASHSIZE #define UDBHASHSIZE 128 |