131921Sbrian/*-
285965Sbrian * Copyright (c) 2001 Charles Mott <cm@linktel.net>
377690Sbrian *                    Brian Somers <brian@Awfulhak.org>
477690Sbrian * All rights reserved.
531921Sbrian *
677690Sbrian * Redistribution and use in source and binary forms, with or without
777690Sbrian * modification, are permitted provided that the following conditions
877690Sbrian * are met:
977690Sbrian * 1. Redistributions of source code must retain the above copyright
1077690Sbrian *    notice, this list of conditions and the following disclaimer.
1177690Sbrian * 2. Redistributions in binary form must reproduce the above copyright
1277690Sbrian *    notice, this list of conditions and the following disclaimer in the
1377690Sbrian *    documentation and/or other materials provided with the distribution.
1477690Sbrian *
1577690Sbrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1677690Sbrian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1777690Sbrian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1877690Sbrian * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1977690Sbrian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2077690Sbrian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2177690Sbrian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2277690Sbrian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2377690Sbrian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2477690Sbrian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2577690Sbrian * SUCH DAMAGE.
2677690Sbrian *
2750479Speter * $FreeBSD$
2830715Sbrian */
2926034Sbrian
3036285Sbrianstruct cmdargs;
3136285Sbrian
3250059Sbrianextern int nat_RedirectPort(struct cmdargs const *);
3350059Sbrianextern int nat_RedirectAddr(struct cmdargs const *);
3479433Sbrianextern int nat_RedirectProto(struct cmdargs const *);
3550059Sbrianextern int nat_ProxyRule(struct cmdargs const *);
3658867Sbrianextern int nat_SetTarget(struct cmdargs const *);
3781033Sbrian#ifndef NO_FW_PUNCH
3881033Sbrianextern int nat_PunchFW(struct cmdargs const *);
3981033Sbrian#endif
40120372Smarcusextern int nat_SkinnyPort(struct cmdargs const *);
4146686Sbrian
4250059Sbrianextern struct layer natlayer;
43