1155179Sandre/*-
2155179Sandre * Copyright (c) 1982, 1986, 1988, 1993
3155179Sandre *      The Regents of the University of California.  All rights reserved.
4155179Sandre *
5155179Sandre * Redistribution and use in source and binary forms, with or without
6155179Sandre * modification, are permitted provided that the following conditions
7155179Sandre * are met:
8155179Sandre * 1. Redistributions of source code must retain the above copyright
9155179Sandre *    notice, this list of conditions and the following disclaimer.
10155179Sandre * 2. Redistributions in binary form must reproduce the above copyright
11155179Sandre *    notice, this list of conditions and the following disclaimer in the
12155179Sandre *    documentation and/or other materials provided with the distribution.
13155179Sandre * 4. Neither the name of the University nor the names of its contributors
14155179Sandre *    may be used to endorse or promote products derived from this software
15155179Sandre *    without specific prior written permission.
16155179Sandre *
17155179Sandre * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
18155179Sandre * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19155179Sandre * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20155179Sandre * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
21155179Sandre * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22155179Sandre * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23155179Sandre * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24155179Sandre * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25155179Sandre * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26155179Sandre * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27155179Sandre * SUCH DAMAGE.
28155179Sandre *
29155179Sandre * $FreeBSD$
30155179Sandre */
31155179Sandre
32155179Sandre#ifndef _NETINET_IP_IPSEC_H_
33155179Sandre#define _NETINET_IP_IPSEC_H_
34155179Sandre
35171732Sbzint	ip_ipsec_filtertunnel(struct mbuf *);
36155179Sandreint	ip_ipsec_fwd(struct mbuf *);
37155179Sandreint	ip_ipsec_input(struct mbuf *);
38178029Sbzint	ip_ipsec_mtu(struct mbuf *, int);
39199102Straszint	ip_ipsec_output(struct mbuf **, struct inpcb *, int *, int *);
40155179Sandre#endif
41