class XrlRawPacketV0p1Client


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Members


Detailed Description

 XrlRawPacketV0p1Client (XrlSender* s)

XrlRawPacketV0p1Client

 ~XrlRawPacketV0p1Client ()

~XrlRawPacketV0p1Client

[virtual]

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

Send4CB

bool  send_send4 ( 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 Send4CB& cb )

send_send4

Send Xrl intended to:

Send a packet on a raw socket.

Parameters:

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

SendRaw4CB

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

send_send_raw4

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 Thu Jul 8 23:48:16 2004, using kdoc $.