summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/nat_cmd.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-08-02 10:16:32 +0000
committerbrian <brian@FreeBSD.org>2001-08-02 10:16:32 +0000
commitc98910abd5b0b1b0f9f60a1a03c87108d570ecfb (patch)
treed571c8a1dbc9c5738e406b39c8766741a43175e6 /usr.sbin/ppp/nat_cmd.h
parent55328fd4bf7096c3e003d6473be7fe5f910e1ae2 (diff)
downloadFreeBSD-src-c98910abd5b0b1b0f9f60a1a03c87108d570ecfb.zip
FreeBSD-src-c98910abd5b0b1b0f9f60a1a03c87108d570ecfb.tar.gz
Add a ``nat punch_fw'' command for punching FTP and IRC DCC holes through
the firewall.
Diffstat (limited to 'usr.sbin/ppp/nat_cmd.h')
-rw-r--r--usr.sbin/ppp/nat_cmd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/ppp/nat_cmd.h b/usr.sbin/ppp/nat_cmd.h
index 47f38ee..05264bb 100644
--- a/usr.sbin/ppp/nat_cmd.h
+++ b/usr.sbin/ppp/nat_cmd.h
@@ -34,5 +34,8 @@ extern int nat_RedirectAddr(struct cmdargs const *);
extern int nat_RedirectProto(struct cmdargs const *);
extern int nat_ProxyRule(struct cmdargs const *);
extern int nat_SetTarget(struct cmdargs const *);
+#ifndef NO_FW_PUNCH
+extern int nat_PunchFW(struct cmdargs const *);
+#endif
extern struct layer natlayer;
OpenPOWER on IntegriCloud