1270096Strasz/*-
2270096Strasz * Copyright (c) 2001 Charles Mott <cm@linktel.net>
3270096Strasz *                    Brian Somers <brian@Awfulhak.org>
4270096Strasz * All rights reserved.
5270096Strasz *
6270096Strasz * Redistribution and use in source and binary forms, with or without
7270096Strasz * modification, are permitted provided that the following conditions
8270096Strasz * are met:
9270096Strasz * 1. Redistributions of source code must retain the above copyright
10270096Strasz *    notice, this list of conditions and the following disclaimer.
11270096Strasz * 2. Redistributions in binary form must reproduce the above copyright
12270096Strasz *    notice, this list of conditions and the following disclaimer in the
13270096Strasz *    documentation and/or other materials provided with the distribution.
14270096Strasz *
15270096Strasz * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16270096Strasz * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17270096Strasz * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18270096Strasz * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19270096Strasz * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20270096Strasz * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21270096Strasz * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22270096Strasz * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23270096Strasz * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24270096Strasz * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25270096Strasz * SUCH DAMAGE.
26270096Strasz *
27270096Strasz * $FreeBSD$
28270096Strasz */
29270096Strasz
30270096Straszstruct cmdargs;
31270897Strasz
32270897Straszextern int nat_RedirectPort(struct cmdargs const *);
33270897Straszextern int nat_RedirectAddr(struct cmdargs const *);
34270096Straszextern int nat_RedirectProto(struct cmdargs const *);
35270096Straszextern int nat_ProxyRule(struct cmdargs const *);
36270096Straszextern int nat_SetTarget(struct cmdargs const *);
37270096Strasz#ifndef NO_FW_PUNCH
38270096Straszextern int nat_PunchFW(struct cmdargs const *);
39270096Strasz#endif
40270096Straszextern int nat_SkinnyPort(struct cmdargs const *);
41270096Strasz
42270096Straszextern struct layer natlayer;
43270096Strasz