xorp

XrlRawPacket6ClientV0p1Client 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

 XrlRawPacket6ClientV0p1Client (XrlSender *s)
bool send_recv (const char *dst_xrl_target_name, const string &if_name, const string &vif_name, const IPv6 &src_address, const IPv6 &dst_address, const uint32_t &ip_protocol, const int32_t &ip_ttl, const int32_t &ip_tos, const bool &ip_router_alert, const bool &ip_internet_control, const XrlAtomList &ext_headers_type, const XrlAtomList &ext_headers_payload, const vector< uint8_t > &payload, const RecvCB &cb)
 Send Xrl intended to:
 XrlRawPacket6ClientV0p1Client (XrlSender *s)
bool send_recv (const char *dst_xrl_target_name, const string &if_name, const string &vif_name, const IPv6 &src_address, const IPv6 &dst_address, const uint32_t &ip_protocol, const int32_t &ip_ttl, const int32_t &ip_tos, const bool &ip_router_alert, const bool &ip_internet_control, const XrlAtomList &ext_headers_type, const XrlAtomList &ext_headers_payload, 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 XrlRawPacket6ClientV0p1Client::send_recv ( const char *  dst_xrl_target_name,
const string &  if_name,
const string &  vif_name,
const IPv6 src_address,
const IPv6 dst_address,
const uint32_t &  ip_protocol,
const int32_t &  ip_ttl,
const int32_t &  ip_tos,
const bool &  ip_router_alert,
const bool &  ip_internet_control,
const XrlAtomList ext_headers_type,
const XrlAtomList ext_headers_payload,
const vector< uint8_t > &  payload,
const RecvCB &  cb 
)

Send Xrl intended to:

Receive an IPv6 packet from a raw socket.

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 IP source address.
dst_addressthe IP destination address.
ip_protocolthe IP protocol number.
ip_ttlthe IP TTL (hop-limit). If it has a negative value, then the received value is unknown.
ip_tosthe Type Of Service (IP traffic class for IPv4). If it has a negative value, then the received value is unknown.
ip_router_alertif true, the IP Router Alert option was included in the IP packet.
ip_internet_controlif true, then this is IP control traffic.
ext_headers_typea list of u32 integers with the types of the optional extention headers.
ext_headers_payloada list of payload data, one for each optional extention header. The number of entries must match ext_headers_type.
payloadthe payload, everything after the IP header and options.
bool XrlRawPacket6ClientV0p1Client::send_recv ( const char *  dst_xrl_target_name,
const string &  if_name,
const string &  vif_name,
const IPv6 src_address,
const IPv6 dst_address,
const uint32_t &  ip_protocol,
const int32_t &  ip_ttl,
const int32_t &  ip_tos,
const bool &  ip_router_alert,
const bool &  ip_internet_control,
const XrlAtomList ext_headers_type,
const XrlAtomList ext_headers_payload,
const vector< uint8_t > &  payload,
const RecvCB &  cb 
)

Send Xrl intended to:

Receive an IPv6 packet from a raw socket.

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 IP source address.
dst_addressthe IP destination address.
ip_protocolthe IP protocol number.
ip_ttlthe IP TTL (hop-limit). If it has a negative value, then the received value is unknown.
ip_tosthe Type Of Service (IP traffic class for IPv4). If it has a negative value, then the received value is unknown.
ip_router_alertif true, the IP Router Alert option was included in the IP packet.
ip_internet_controlif true, then this is IP control traffic.
ext_headers_typea list of u32 integers with the types of the optional extention headers.
ext_headers_payloada list of payload data, one for each optional extention header. The number of entries must match ext_headers_type.
payloadthe payload, everything after the IP header and options.

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