class FirewallSet


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Members


Detailed Description

 FirewallSet (FeaDataPlaneManager& fea_data_plane_manager)

FirewallSet

Constructor.

Parameters:

fea_data_plane_managerthe corresponding data plane manager (FeaDataPlaneManager).
 ~FirewallSet ()

~FirewallSet

[virtual]

Virtual destructor.

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_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  stop (string& error_msg)

stop

[pure virtual]

Stop operation.

Parameters:

error_msgthe 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_entriesthe entries to add.
replaced_entriesthe entries to replace.
deleted_entriesthe deleted entries.
error_msgthe 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_listthe list with all entries to install into the IPv4 firewall table.
error_msgthe 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_msgthe 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_listthe list with all entries to install into the IPv6 firewall table.
error_msgthe 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_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

bool _is_running

_is_running

[protected]


Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:05:50 2008, using kdoc 2.0a54+XORP.