class XrlRawPacket4V0p1Client


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Members


Detailed Description

 XrlRawPacket4V0p1Client (XrlSender* s)

XrlRawPacket4V0p1Client

 ~XrlRawPacket4V0p1Client ()

~XrlRawPacket4V0p1Client

[virtual]

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

SendCB

bool  send_send ( const char* target_name, const IPv4& src_address, const IPv4& dst_address, const string& vif_name, const uint32_t& proto, const uint32_t& ttl, const uint32_t& tos, const vector<uint8_t>& options, const vector<uint8_t>& payload, const SendCB& cb )

send_send

Send Xrl intended to:

Send a packet on a raw socket.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr SendRawCB

SendRawCB

bool  send_send_raw ( const char* target_name, const string& vif_name, const vector<uint8_t>& packet, const SendRawCB& cb )

send_send_raw

Send Xrl intended to:

Send raw packet. Checksum is computed and applied before transmission. All the fields within the IPv4 header must be in network order.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr RegisterVifReceiverCB

RegisterVifReceiverCB

bool  send_register_vif_receiver ( const char* target_name, const string& router_name, const string& if_name, const string& vif_name, const uint32_t& proto, const RegisterVifReceiverCB& cb )

send_register_vif_receiver

Send Xrl intended to:

Register to receive packets. The receiver is expected to support raw_socket_client/0.1 interface.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr UnregisterVifReceiverCB

UnregisterVifReceiverCB

bool  send_unregister_vif_receiver ( const char* target_name, const string& router_name, const string& if_name, const string& vif_name, const uint32_t& proto, const UnregisterVifReceiverCB& cb )

send_unregister_vif_receiver

Send Xrl intended to:

Unregister stop receiving packets.

Parameters:

tgt_nameXrl Target name
protoProtocol number that the receiver is interested in.
XrlSender* _sender

_sender

[protected]


Generated by: pavlin on possum.icir.org on Wed Apr 13 21:52:55 2005, using kdoc $.