1171133Sgnn/*-
2171133Sgnn * Copyright (c) 1982, 1986, 1988, 1993
3171133Sgnn *      The Regents of the University of California.  All rights reserved.
4171133Sgnn *
5171133Sgnn * Redistribution and use in source and binary forms, with or without
6171133Sgnn * modification, are permitted provided that the following conditions
7171133Sgnn * are met:
8171133Sgnn * 1. Redistributions of source code must retain the above copyright
9171133Sgnn *    notice, this list of conditions and the following disclaimer.
10171133Sgnn * 2. Redistributions in binary form must reproduce the above copyright
11171133Sgnn *    notice, this list of conditions and the following disclaimer in the
12171133Sgnn *    documentation and/or other materials provided with the distribution.
13171133Sgnn * 4. Neither the name of the University nor the names of its contributors
14171133Sgnn *    may be used to endorse or promote products derived from this software
15171133Sgnn *    without specific prior written permission.
16171133Sgnn *
17171133Sgnn * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
18171133Sgnn * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19171133Sgnn * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20171133Sgnn * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
21171133Sgnn * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22171133Sgnn * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23171133Sgnn * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24171133Sgnn * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25171133Sgnn * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26171133Sgnn * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27171133Sgnn * SUCH DAMAGE.
28171133Sgnn *
29171133Sgnn * $FreeBSD: releng/10.3/sys/netinet6/ip6_ipsec.h 274132 2014-11-05 09:23:29Z ae $
30171133Sgnn */
31171133Sgnn
32171133Sgnn#ifndef _NETINET_IP6_IPSEC_H_
33171133Sgnn#define _NETINET_IP6_IPSEC_H_
34171133Sgnn
35171732Sbzint	ip6_ipsec_filtertunnel(struct mbuf *);
36171133Sgnnint	ip6_ipsec_fwd(struct mbuf *);
37171133Sgnnint	ip6_ipsec_input(struct mbuf *, int);
38171133Sgnnint	ip6_ipsec_output(struct mbuf **, struct inpcb *, int *, int *,
39274132Sae	    struct ifnet **);
40177166Sbz#if 0
41177166Sbzint	ip6_ipsec_mtu(struct mbuf *);
42171133Sgnn#endif
43177166Sbz#endif
44