LinkVifInputFilter Class Reference

Inheritance diagram for LinkVifInputFilter:

List of all members.

Public Member Functions

 LinkVifInputFilter (IoLinkManager &io_link_manager, IoLinkComm &io_link_comm, const string &receiver_name, const string &if_name, const string &vif_name, uint16_t ether_type, const string &filter_program)
void set_enable_multicast_loopback (bool v)
void recv (const struct MacHeaderInfo &header, const vector< uint8_t > &payload)
 Method invoked when data arrives on associated IoLinkComm instance.
void bye ()
 Method invoked by the destructor of the associated IoLinkComm instance.
int join_multicast_group (const Mac &group_address, string &error_msg)
int leave_multicast_group (const Mac &group_address, string &error_msg)
void leave_all_multicast_groups ()

Protected Member Functions

bool is_my_address (const Mac &addr) const

Protected Attributes

set< Mac_joined_multicast_groups
bool _enable_multicast_loopback

Member Function Documentation

void LinkVifInputFilter::bye ( ) [inline, 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.

Implements IoLinkComm::InputFilter.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations