#include <wvipfirewall.h>
Public Methods | |
| WvIPFirewall () | |
| ~WvIPFirewall () | |
| void | zap () |
| void | add_port (const WvIPPortAddr &addr) |
| void | add_redir (const WvIPPortAddr &src, int dstport) |
| void | add_proto (const WvString proto) |
| void | del_port (const WvIPPortAddr &addr) |
| void | del_redir (const WvIPPortAddr &src, int dstport) |
| WvIPFirewall () | |
| ~WvIPFirewall () | |
| void | zap () |
| void | add_port (const WvIPPortAddr &addr) |
| void | add_redir (const WvIPPortAddr &src, int dstport) |
| void | add_proto (const WvString proto) |
| void | del_port (const WvIPPortAddr &addr) |
| void | del_redir (const WvIPPortAddr &src, int dstport) |
Static Public Attributes | |
| bool | enable = false |
Private Methods | |
| WvString | port_command (const char *cmd, const char *proto, const WvIPPortAddr &addr) |
| WvString | redir_command (const char *cmd, const WvIPPortAddr &src, int dstport) |
| DeclareWvList (Redir) | |
| WvString | port_command (const char *cmd, const char *proto, const WvIPPortAddr &addr) |
| WvString | redir_command (const char *cmd, const WvIPPortAddr &src, int dstport) |
Private Attributes | |
| RedirList | redirs |
| WvIPPortAddrList | addrs |
Definition at line 22 of file include/wvipfirewall.h.
|
|
Definition at line 21 of file wvipfirewall.cc. |
|
|
Definition at line 26 of file wvipfirewall.cc. References zap. |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 59 of file wvipfirewall.cc. References addrs, WvList< WvIPPortAddr >::append, and port_command. |
|
|
|
|
|
Definition at line 116 of file wvipfirewall.cc. |
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 93 of file wvipfirewall.cc. References WvList< Redir >::append, redir_command, and redirs. |
|
|
|
|
|
|
|
|
Definition at line 73 of file wvipfirewall.cc. References addrs, and port_command. Referenced by zap. |
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 101 of file wvipfirewall.cc. References redir_command, and redirs. Referenced by zap. |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
Definition at line 32 of file wvipfirewall.cc. References WvIPPortAddr::port. |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
Definition at line 45 of file wvipfirewall.cc. References WvIPPortAddr::port. |
|
|
|
|
|
Definition at line 122 of file wvipfirewall.cc. References addrs, del_port, del_redir, and redirs. Referenced by ~WvIPFirewall. |
|
|
Definition at line 37 of file ipstreams/wvipfirewall.h. Referenced by add_port, del_port, zap, and WvIPFirewall::RedirList::~RedirList. |
|
|
Definition at line 48 of file ipstreams/wvipfirewall.h. Referenced by WvIPFirewall::RedirList::~RedirList. |
|
|
Definition at line 36 of file ipstreams/wvipfirewall.h. Referenced by add_redir, del_redir, zap, and WvIPFirewall::RedirList::~RedirList. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002