diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2015-12-03 16:21:39 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2015-12-03 16:21:39 +0000 |
commit | 2e0cebfa9ec8d0eeb0b3f46ff26648b7e10e885f (patch) | |
tree | 19c23d0b049065f186dda216e0c96cb0b5c88082 | |
parent | 6ee2f49a161af3bb3c37c801c75f465ddf8092a8 (diff) |
add ifdef IPSEC for protoypes; requested by mpi@
-rw-r--r-- | sys/netinet/ip_output.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index 8bacbda4cb8..868f909dd17 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_output.c,v 1.312 2015/12/03 14:55:18 vgross Exp $ */ +/* $OpenBSD: ip_output.c,v 1.313 2015/12/03 16:21:38 markus Exp $ */ /* $NetBSD: ip_output.c,v 1.28 1996/02/13 23:43:07 christos Exp $ */ /* @@ -78,12 +78,14 @@ static __inline u_int16_t __attribute__((__unused__)) in_cksum_phdr(u_int32_t, u_int32_t, u_int32_t); void in_delayed_cksum(struct mbuf *); +#ifdef IPSEC struct tdb * ip_output_ipsec_lookup(struct mbuf *m, int hlen, int *error, struct inpcb *inp, int ipsecflowinfo); int ip_output_ipsec_send(struct tdb *tdb, struct mbuf *m, struct ifnet *ifp, struct route *ro); +#endif /* IPSEC */ /* * IP output. The packet in mbuf chain m contains a skeletal IP |