FirewallGet (FeaDataPlaneManager& fea_data_plane_manager)
| FirewallGet |
Constructor.
Parameters:
fea_data_plane_manager | the corresponding data plane manager (FeaDataPlaneManager). |
~FirewallGet ()
| ~FirewallGet |
[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 get_table4 (list<FirewallEntry>& firewall_entry_list,
string& error_msg)
| get_table4 |
[pure virtual]
Obtain the IPv4 firewall table.
Parameters:
firewall_entry_list | the return-by-reference list with all entries in the IPv4 firewall table. |
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int get_table6 (list<FirewallEntry>& firewall_entry_list,
string& error_msg)
| get_table6 |
[pure virtual]
Obtain the IPv6 firewall table.
Parameters:
firewall_entry_list | the return-by-reference list with all entries in the IPv6 firewall table. |
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
bool _is_running | _is_running |
[protected]