FirewallSet (FeaDataPlaneManager& fea_data_plane_manager)
| FirewallSet |
Constructor.
Parameters:
fea_data_plane_manager | the corresponding data plane manager (FeaDataPlaneManager). |
~FirewallSet ()
| ~FirewallSet |
[virtual]
FirewallManager& firewall_manager ()
| firewall_manager |
Get the FirewallManager instance.
Returns: the FirewallManager instance.
FeaDataPlaneManager& fea_data_plane_manager ()
| fea_data_plane_manager |
Get the FeaDataPlaneManager instance.
Returns: the FeaDataPlaneManager instance.
bool is_running ()
| is_running |
[const virtual]
Test whether this instance is running.
Returns: true if the instance is running, otherwise false.
int start (string& error_msg)
| start |
[pure virtual]
Start operation.
Parameters:
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int stop (string& error_msg)
| stop |
[pure virtual]
Stop operation.
Parameters:
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int update_entries (const list<FirewallEntry>& added_entries,
const list<FirewallEntry>& replaced_entries,
const list<FirewallEntry>& deleted_entries,
string& error_msg)
| update_entries |
[pure virtual]
Update the firewall entries by pushing them into the underlying system.
Parameters:
added_entries | the entries to add. |
replaced_entries | the entries to replace. |
deleted_entries | the deleted entries. |
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int set_table4 (const list<FirewallEntry>& firewall_entry_list,
string& error_msg)
| set_table4 |
[pure virtual]
Set the IPv4 firewall table.
Parameters:
firewall_entry_list | the list with all entries to install into the IPv4 firewall table. |
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int delete_all_entries4 (string& error_msg)
| delete_all_entries4 |
[pure virtual]
Delete all entries in the IPv4 firewall table.
Parameters:
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int set_table6 (const list<FirewallEntry>& firewall_entry_list,
string& error_msg)
| set_table6 |
[pure virtual]
Set the IPv6 firewall table.
Parameters:
firewall_entry_list | the list with all entries to install into the IPv6 firewall table. |
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int delete_all_entries6 (string& error_msg)
| delete_all_entries6 |
[pure virtual]
Delete all entries in the IPv6 firewall table.
Parameters:
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
bool _is_running | _is_running |
[protected]