XrlFeaFirewallV0p1Client (XrlSender* s)
| XrlFeaFirewallV0p1Client |
~XrlFeaFirewallV0p1Client ()
| ~XrlFeaFirewallV0p1Client |
[virtual]
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr StartTransactionCB | StartTransactionCB |
bool send_start_transaction (
const char* dst_xrl_target_name,
const StartTransactionCB& cb
)
| send_start_transaction |
Send Xrl intended to:
Start firewall configuration transaction.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback1<void, const XrlError&>::RefPtr CommitTransactionCB | CommitTransactionCB |
bool send_commit_transaction (
const char* dst_xrl_target_name,
const uint32_t& tid,
const CommitTransactionCB& cb
)
| send_commit_transaction |
Send Xrl intended to:
Commit firewall configuration transaction.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
tid | the transaction ID for this operation. |
typedef XorpCallback1<void, const XrlError&>::RefPtr AbortTransactionCB | AbortTransactionCB |
bool send_abort_transaction (
const char* dst_xrl_target_name,
const uint32_t& tid,
const AbortTransactionCB& cb
)
| send_abort_transaction |
Send Xrl intended to:
Abort firewall configuration transaction.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
tid | the transaction ID for this operation. |
typedef XorpCallback1<void, const XrlError&>::RefPtr AddEntry4CB | AddEntry4CB |
bool send_add_entry4 (
const char* dst_xrl_target_name,
const uint32_t& tid,
const uint32_t& rule_number,
const string& ifname,
const string& vifname,
const IPv4Net& src_network,
const IPv4Net& dst_network,
const uint32_t& ip_protocol,
const uint32_t& src_port_begin,
const uint32_t& src_port_end,
const uint32_t& dst_port_begin,
const uint32_t& dst_port_end,
const string& action,
const AddEntry4CB& cb
)
| send_add_entry4 |
Send Xrl intended to:
Add an IPv4 firewall entry.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
tid | the transaction ID for this operation. |
rule_number | the rule number for this entry. |
ifname | the name of the interface where this filter is to be applied. |
vifname | the name of the vif where this filter is to be applied. |
src_network | the source IPv4 network address prefix. |
dst_network | the destination IPv4 network address prefix. |
ip_protocol | the IP protocol number (1-255, or 0 if wildcard). |
src_port_begin | the source TCP/UDP begin port (0-65535). |
src_port_end | the source TCP/UDP end port (0-65535). |
dst_port_begin | the destination TCP/UDP begin port (0-65535). |
dst_port_end | the destination TCP/UDP end port (0-65535). |
action | the action to be taken when this filter is matched. It is one of the following keywords: "none", "pass", "drop", "reject". |
typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceEntry4CB | ReplaceEntry4CB |
bool send_replace_entry4 (
const char* dst_xrl_target_name,
const uint32_t& tid,
const uint32_t& rule_number,
const string& ifname,
const string& vifname,
const IPv4Net& src_network,
const IPv4Net& dst_network,
const uint32_t& ip_protocol,
const uint32_t& src_port_begin,
const uint32_t& src_port_end,
const uint32_t& dst_port_begin,
const uint32_t& dst_port_end,
const string& action,
const ReplaceEntry4CB& cb
)
| send_replace_entry4 |
Send Xrl intended to:
Replace an IPv4 firewall entry.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
tid | the transaction ID for this operation. |
rule_number | the rule number for this entry. |
ifname | the name of the interface where this filter is to be applied. |
vifname | the name of the vif where this filter is to be applied. |
src_network | the source IPv4 network address prefix. |
dst_network | the destination IPv4 network address prefix. |
ip_protocol | the IP protocol number (1-255, or 0 if wildcard). |
src_port_begin | the source TCP/UDP begin port (0-65535). |
src_port_end | the source TCP/UDP end port (0-65535). |
dst_port_begin | the destination TCP/UDP begin port (0-65535). |
dst_port_end | the destination TCP/UDP end port (0-65535). |
action | the action to be taken when this filter is matched. It is one of the following keywords: "none", "pass", "drop", "reject". |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteEntry4CB | DeleteEntry4CB |
bool send_delete_entry4 (
const char* dst_xrl_target_name,
const uint32_t& tid,
const uint32_t& rule_number,
const string& ifname,
const string& vifname,
const IPv4Net& src_network,
const IPv4Net& dst_network,
const uint32_t& ip_protocol,
const uint32_t& src_port_begin,
const uint32_t& src_port_end,
const uint32_t& dst_port_begin,
const uint32_t& dst_port_end,
const DeleteEntry4CB& cb
)
| send_delete_entry4 |
Send Xrl intended to:
Delete an IPv4 firewall entry.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
tid | the transaction ID for this operation. |
rule_number | the rule number for this entry. |
ifname | the name of the interface where this filter is to be deleted. |
vifname | the name of the vif where this filter is to be deleted. |
src_network | the source IPv4 network address prefix. |
dst_network | the destination IPv4 network address prefix. |
ip_protocol | the IP protocol number (1-255, or 0 if wildcard). |
src_port_begin | the source TCP/UDP begin port (0-65535). |
src_port_end | the source TCP/UDP end port (0-65535). |
dst_port_begin | the destination TCP/UDP begin port (0-65535). |
dst_port_end | the destination TCP/UDP end port (0-65535). |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteAllEntries4CB | DeleteAllEntries4CB |
bool send_delete_all_entries4 (
const char* dst_xrl_target_name,
const uint32_t& tid,
const DeleteAllEntries4CB& cb
)
| send_delete_all_entries4 |
Send Xrl intended to:
Delete all IPv4 firewall entries.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
tid | the transaction ID for this operation. |
typedef XorpCallback3<void, const XrlError&, const uint32_t*, const bool*>::RefPtr GetEntryListStart4CB | GetEntryListStart4CB |
bool send_get_entry_list_start4 (
const char* dst_xrl_target_name,
const GetEntryListStart4CB& cb
)
| send_get_entry_list_start4 |
Send Xrl intended to:
Get a token for a list of IPv4 firewall entries.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback13<void, const XrlError&, const uint32_t*, const string*, const string*, const IPv4Net*, const IPv4Net*, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*, const string*, const bool*>::RefPtr GetEntryListNext4CB | GetEntryListNext4CB |
bool send_get_entry_list_next4 (
const char* dst_xrl_target_name,
const uint32_t& token,
const GetEntryListNext4CB& cb
)
| send_get_entry_list_next4 |
Send Xrl intended to:
Get the next item in a list of IPv4 firewall entries.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
token | returned by a previous call to get_entry_list_start4. |
typedef XorpCallback1<void, const XrlError&>::RefPtr AddEntry6CB | AddEntry6CB |
bool send_add_entry6 (
const char* dst_xrl_target_name,
const uint32_t& tid,
const uint32_t& rule_number,
const string& ifname,
const string& vifname,
const IPv6Net& src_network,
const IPv6Net& dst_network,
const uint32_t& ip_protocol,
const uint32_t& src_port_begin,
const uint32_t& src_port_end,
const uint32_t& dst_port_begin,
const uint32_t& dst_port_end,
const string& action,
const AddEntry6CB& cb
)
| send_add_entry6 |
Send Xrl intended to:
Add an IPv6 firewall entry.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
tid | the transaction ID for this operation. |
rule_number | the rule number for this entry. |
ifname | the name of the interface where this filter is to be applied. |
vifname | the name of the vif where this filter is to be applied. |
src_network | the source IPv6 network address prefix. |
dst_network | the destination IPv6 network address prefix. |
ip_protocol | the IP protocol number (1-255, or 0 if wildcard). |
src_port_begin | the source TCP/UDP begin port (0-65535). |
src_port_end | the source TCP/UDP end port (0-65535). |
dst_port_begin | the destination TCP/UDP begin port (0-65535). |
dst_port_end | the destination TCP/UDP end port (0-65535). |
action | the action to be taken when this filter is matched. It is one of the following keywords: "none", "pass", "drop", "reject". |
typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceEntry6CB | ReplaceEntry6CB |
bool send_replace_entry6 (
const char* dst_xrl_target_name,
const uint32_t& tid,
const uint32_t& rule_number,
const string& ifname,
const string& vifname,
const IPv6Net& src_network,
const IPv6Net& dst_network,
const uint32_t& ip_protocol,
const uint32_t& src_port_begin,
const uint32_t& src_port_end,
const uint32_t& dst_port_begin,
const uint32_t& dst_port_end,
const string& action,
const ReplaceEntry6CB& cb
)
| send_replace_entry6 |
Send Xrl intended to:
Replace an IPv6 firewall entry.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
tid | the transaction ID for this operation. |
rule_number | the rule number for this entry. |
ifname | the name of the interface where this filter is to be applied. |
vifname | the name of the vif where this filter is to be applied. |
src_network | the source IPv6 network address prefix. |
dst_network | the destination IPv6 network address prefix. |
ip_protocol | the IP protocol number (1-255, or 0 if wildcard). |
src_port_begin | the source TCP/UDP begin port (0-65535). |
src_port_end | the source TCP/UDP end port (0-65535). |
dst_port_begin | the destination TCP/UDP begin port (0-65535). |
dst_port_end | the destination TCP/UDP end port (0-65535). |
action | the action to be taken when this filter is matched. It is one of the following keywords: "none", "pass", "drop", "reject". |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteEntry6CB | DeleteEntry6CB |
bool send_delete_entry6 (
const char* dst_xrl_target_name,
const uint32_t& tid,
const uint32_t& rule_number,
const string& ifname,
const string& vifname,
const IPv6Net& src_network,
const IPv6Net& dst_network,
const uint32_t& ip_protocol,
const uint32_t& src_port_begin,
const uint32_t& src_port_end,
const uint32_t& dst_port_begin,
const uint32_t& dst_port_end,
const DeleteEntry6CB& cb
)
| send_delete_entry6 |
Send Xrl intended to:
Delete an IPv6 firewall entry.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
tid | the transaction ID for this operation. |
rule_number | the rule number for this entry. |
ifname | the name of the interface where this filter is to be deleted. |
vifname | the name of the vif where this filter is to be deleted. |
src_network | the source IPv6 network address prefix. |
dst_network | the destination IPv6 network address prefix. |
ip_protocol | the IP protocol number (1-255, or 0 if wildcard). |
src_port_begin | the source TCP/UDP begin port (0-65535). |
src_port_end | the source TCP/UDP end port (0-65535). |
dst_port_begin | the destination TCP/UDP begin port (0-65535). |
dst_port_end | the destination TCP/UDP end port (0-65535). |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteAllEntries6CB | DeleteAllEntries6CB |
bool send_delete_all_entries6 (
const char* dst_xrl_target_name,
const uint32_t& tid,
const DeleteAllEntries6CB& cb
)
| send_delete_all_entries6 |
Send Xrl intended to:
Delete all IPv6 firewall entries.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
tid | the transaction ID for this operation. |
typedef XorpCallback3<void, const XrlError&, const uint32_t*, const bool*>::RefPtr GetEntryListStart6CB | GetEntryListStart6CB |
bool send_get_entry_list_start6 (
const char* dst_xrl_target_name,
const GetEntryListStart6CB& cb
)
| send_get_entry_list_start6 |
Send Xrl intended to:
Get a token for a list of IPv6 firewall entries.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback13<void, const XrlError&, const uint32_t*, const string*, const string*, const IPv6Net*, const IPv6Net*, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*, const string*, const bool*>::RefPtr GetEntryListNext6CB | GetEntryListNext6CB |
bool send_get_entry_list_next6 (
const char* dst_xrl_target_name,
const uint32_t& token,
const GetEntryListNext6CB& cb
)
| send_get_entry_list_next6 |
Send Xrl intended to:
Get the next item in a list of IPv6 firewall entries.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
token | returned by a previous call to get_entry_list_start6. |
XrlSender* _sender | _sender |
[protected]