class IoLinkReceiver

A base class for I/O Link raw packets receiver. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

The real receiver must inherit from this class and register with the corresponding IoLink entity to receive the link raw packets.

See also: IoLink.

 IoLinkReceiver ()

IoLinkReceiver

Default constructor.

 ~IoLinkReceiver ()

~IoLinkReceiver

[virtual]

Virtual destructor.

void  recv_packet (const Mac& src_address, const Mac& dst_address, uint16_t ether_type, const vector<uint8_t>& payload)

recv_packet

[pure virtual]

Received a link-level packet.

Parameters:

src_addressthe MAC source address.
dst_addressthe MAC destination address.
ether_typethe EtherType protocol number.
packetthe payload, everything after the MAC header.

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