Deleted Added
full compact
nat_cmd.h (85965) nat_cmd.h (120372)
1/*-
2 * Copyright (c) 2001 Charles Mott <cm@linktel.net>
3 * Brian Somers <brian@Awfulhak.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 10 unchanged lines hidden (view full) ---

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
1/*-
2 * Copyright (c) 2001 Charles Mott <cm@linktel.net>
3 * Brian Somers <brian@Awfulhak.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 10 unchanged lines hidden (view full) ---

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 * $FreeBSD: head/usr.sbin/ppp/nat_cmd.h 85965 2001-11-03 11:36:17Z brian $
27 * $FreeBSD: head/usr.sbin/ppp/nat_cmd.h 120372 2003-09-23 07:41:55Z marcus $
28 */
29
30struct cmdargs;
31
32extern int nat_RedirectPort(struct cmdargs const *);
33extern int nat_RedirectAddr(struct cmdargs const *);
34extern int nat_RedirectProto(struct cmdargs const *);
35extern int nat_ProxyRule(struct cmdargs const *);
36extern int nat_SetTarget(struct cmdargs const *);
37#ifndef NO_FW_PUNCH
38extern int nat_PunchFW(struct cmdargs const *);
39#endif
28 */
29
30struct cmdargs;
31
32extern int nat_RedirectPort(struct cmdargs const *);
33extern int nat_RedirectAddr(struct cmdargs const *);
34extern int nat_RedirectProto(struct cmdargs const *);
35extern int nat_ProxyRule(struct cmdargs const *);
36extern int nat_SetTarget(struct cmdargs const *);
37#ifndef NO_FW_PUNCH
38extern int nat_PunchFW(struct cmdargs const *);
39#endif
40extern int nat_SkinnyPort(struct cmdargs const *);
40
41extern struct layer natlayer;
41
42extern struct layer natlayer;