class XrlRawPacket4ClientV0p1Client


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Members


Detailed Description

 XrlRawPacket4ClientV0p1Client (XrlSender* s)

XrlRawPacket4ClientV0p1Client

 ~XrlRawPacket4ClientV0p1Client ()

~XrlRawPacket4ClientV0p1Client

[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 IPv4& src_address, const IPv4& 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 vector<uint8_t>& payload, const RecvCB& cb )

send_recv

Send Xrl intended to:

Receive an IPv4 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 (Diffserv/ECN bits 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.
payloadthe payload, everything after the IP header and options.
XrlSender* _sender

_sender

[protected]


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:10:48 2009, using kdoc 2.0a54+XORP.