class InputFilter

Filter class. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

Filter class.

 InputFilter (IoLinkManager& io_link_manager, const string& receiver_name, const string& if_name, const string& vif_name, uint16_t ether_type, const string& filter_program)

InputFilter

 ~InputFilter ()

~InputFilter

[virtual]

IoLinkManager&  io_link_manager ()

io_link_manager

Get a reference to the I/O Link manager.

Returns: a reference to the I/O Link manager.

const IoLinkManager&  io_link_manager ()

io_link_manager

[const]

Get a const reference to the I/O Link manager.

Returns: a const reference to the I/O Link manager.

const string&  receiver_name ()

receiver_name

[const]

Get the receiver name.

Returns: the receiver name.

const string&  if_name ()

if_name

[const]

Get the interface name.

Returns: the interface name.

const string&  vif_name ()

vif_name

[const]

Get the vif name.

Returns: the vif name.

uint16_t  ether_type ()

ether_type

[const]

Get the EtherType protocol number.

Returns: the EtherType protocol number.

const string&  filter_program ()

filter_program

[const]

Get the filter program.

Returns: the filter program.

void  recv (const struct MacHeaderInfo& header, const vector<uint8_t>& payload)

recv

[pure virtual]

Method invoked when data arrives on associated IoLinkComm instance.

void  bye ()

bye

[pure virtual]

Method invoked by the destructor of the associated IoLinkComm instance. This method provides the InputFilter with the opportunity to delete itself or update its state. The input filter does not need to call IoLinkComm::remove_filter() since filter removal is automatically conducted.


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:10:56 2009, using kdoc 2.0a54+XORP.