XrlRawLinkClientV0p1Client (XrlSender* s)
| XrlRawLinkClientV0p1Client |
~XrlRawLinkClientV0p1Client ()
| ~XrlRawLinkClientV0p1Client |
[virtual]
typedef XorpCallback1<void, const XrlError&>::RefPtr RecvCB | RecvCB |
bool send_recv (
const char* dst_xrl_target_name,
const string& if_name,
const string& vif_name,
const Mac& src_address,
const Mac& dst_address,
const uint32_t& ether_type,
const vector<uint8_t>& payload,
const RecvCB& cb
)
| send_recv |
Send Xrl intended to:
Receive a raw link-level packet on an interface.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
if_name | the interface name the packet arrived on. |
vif_name | the vif name the packet arrived on. |
src_address | the MAC source address. |
dst_address | the MAC destination address. |
ether_type | the EtherType protocol number or the Destination SAP. It must be between 1536 and 65535 to specify the EtherType, or between 1 and 255 to specify the Destination SAP for IEEE 802.2 LLC frames. |
payload | the payload, everything after the MAC header. |
XrlSender* _sender | _sender |
[protected]