xorp

XrlRawLinkClientV0p1Client Class Reference

List of all members.

Public Types

typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RecvCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RecvCB

Public Member Functions

 XrlRawLinkClientV0p1Client (XrlSender *s)
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 Xrl intended to:
 XrlRawLinkClientV0p1Client (XrlSender *s)
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 Xrl intended to:

Protected Attributes

XrlSender_sender

Static Private Member Functions

static void unmarshall_recv (const XrlError &e, XrlArgs *a, RecvCB cb)
static void unmarshall_recv (const XrlError &e, XrlArgs *a, RecvCB cb)

Private Attributes

auto_ptr< Xrlap_xrl_recv

Member Function Documentation

bool XrlRawLinkClientV0p1Client::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 Xrl intended to:

Receive a raw link-level packet on an interface.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
if_namethe interface name the packet arrived on.
vif_namethe vif name the packet arrived on.
src_addressthe MAC source address.
dst_addressthe MAC destination address.
ether_typethe 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.
payloadthe payload, everything after the MAC header.
bool XrlRawLinkClientV0p1Client::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 Xrl intended to:

Receive a raw link-level packet on an interface.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
if_namethe interface name the packet arrived on.
vif_namethe vif name the packet arrived on.
src_addressthe MAC source address.
dst_addressthe MAC destination address.
ether_typethe 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.
payloadthe payload, everything after the MAC header.

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