XrlPacketAclV0p1Client (XrlSender* s)
| XrlPacketAclV0p1Client |
~XrlPacketAclV0p1Client ()
| ~XrlPacketAclV0p1Client |
[virtual]
typedef XorpCallback2<void, const XrlError&, const string*>::RefPtr GetBackendCB | GetBackendCB |
bool send_get_backend (
const char* dst_xrl_target_name,
const GetBackendCB& cb
)
| send_get_backend |
Send Xrl intended to:
Get the name of the ACL backend currently in use.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetBackendCB | SetBackendCB |
bool send_set_backend (
const char* dst_xrl_target_name,
const string& name,
const SetBackendCB& cb
)
| send_set_backend |
Send Xrl intended to:
Set the underlying packet ACL backend type in use. NOTE: If XORP rules currently exist, this operation will perform an implicit flush and reload when switching to the new provider.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback2<void, const XrlError&, const string*>::RefPtr GetVersionCB | GetVersionCB |
bool send_get_version (
const char* dst_xrl_target_name,
const GetVersionCB& cb
)
| send_get_version |
Send Xrl intended to:
Get the underlying packet ACL provider version in use.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
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 ACL 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 ACL 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 ACL 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 string& ifname,
const string& vifname,
const IPv4Net& src,
const IPv4Net& dst,
const uint32_t& proto,
const uint32_t& sport,
const uint32_t& dport,
const string& action,
const AddEntry4CB& cb
)
| send_add_entry4 |
Send Xrl intended to:
Add an IPv4 family ACL entry.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
tid | the transaction ID for this operation. |
ifname | Name of the interface where this filter is to be applied. |
vifname | Name of the vif where this filter is to be applied. |
src | Source IPv4 address with network prefix. |
dst | Destination IPv4 address with network prefix. |
proto | IP protocol number for match (0-255, 255 is wildcard). |
sport | Source TCP/UDP port (0-65535, 0 is wildcard). |
dport | Destination TCP/UDP port (0-65535, 0 is wildcard). |
action | Action taken when this filter is matched. |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteEntry4CB | DeleteEntry4CB |
bool send_delete_entry4 (
const char* dst_xrl_target_name,
const uint32_t& tid,
const string& ifname,
const string& vifname,
const IPv4Net& src,
const IPv4Net& dst,
const uint32_t& proto,
const uint32_t& sport,
const uint32_t& dport,
const DeleteEntry4CB& cb
)
| send_delete_entry4 |
Send Xrl intended to:
Delete an IPv4 family ACL entry.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
tid | the transaction ID for this operation. |
ifname | Name of the interface where this filter is to be deleted. |
vifname | Name of the vif where this filter is to be deleted. |
src | Source IPv4 address with network prefix. |
dst | Destination IPv4 address with network prefix. |
proto | IP protocol number for match (0-255, 255 is wildcard). |
sport | Source TCP/UDP port (0-65535, 0 is wildcard). |
dport | Destination TCP/UDP port (0-65535, 0 is wildcard). |
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 family ACL entries.
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 AddEntry6CB | AddEntry6CB |
bool send_add_entry6 (
const char* dst_xrl_target_name,
const uint32_t& tid,
const string& ifname,
const string& vifname,
const IPv6Net& src,
const IPv6Net& dst,
const uint32_t& proto,
const uint32_t& sport,
const uint32_t& dport,
const string& action,
const AddEntry6CB& cb
)
| send_add_entry6 |
Send Xrl intended to:
Add an IPv6 family ACL entry.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
tid | the transaction ID for this operation. |
ifname | Name of the interface where this filter is to be applied. |
vifname | Name of the vif where this filter is to be applied. |
src | Source IPv6 address with network prefix. |
dst | Destination IPv6 address with network prefix. |
proto | IP protocol number for match (0-255, 255 is wildcard). |
sport | Source TCP/UDP port (0-65535, 0 is wildcard). |
dport | Destination TCP/UDP port (0-65535, 0 is wildcard). |
action | Action taken when this filter is matched. |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteEntry6CB | DeleteEntry6CB |
bool send_delete_entry6 (
const char* dst_xrl_target_name,
const uint32_t& tid,
const string& ifname,
const string& vifname,
const IPv6Net& src,
const IPv6Net& dst,
const uint32_t& proto,
const uint32_t& sport,
const uint32_t& dport,
const DeleteEntry6CB& cb
)
| send_delete_entry6 |
Send Xrl intended to:
Delete an IPv6 family ACL entry.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
tid | the transaction ID for this operation. |
ifname | Name of the interface where this filter is to be deleted. |
vifname | Name of the vif where this filter is to be deleted. |
src | Source IPv6 address with network prefix. |
dst | Destination IPv6 address with network prefix. |
proto | IP protocol number for match (0-255, 255 is wildcard). |
sport | Source TCP/UDP port (0-65535, 0 is wildcard). |
dport | Destination TCP/UDP port (0-65535, 0 is wildcard). |
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 family ACL 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 |
typedef XorpCallback10<void, const XrlError&, const string*, const string*, const IPv4Net*, const IPv4Net*, 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 |
XrlSender* _sender | _sender |
[protected]