| 
 | 
 | ||||||||||||||||
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 | 
| ~IoLinkReceiver () | ~IoLinkReceiver | 
[virtual]
| 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_address | the MAC source address. | 
| dst_address | the MAC destination address. | 
| ether_type | the EtherType protocol number. | 
| packet | the payload, everything after the MAC header. |