class XrlOspfV3Target


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

 XrlOspfV3Target (XrlRouter *r, Ospf<IPv4>& ospf_ipv4, Ospf<IPv6>& ospf_ipv6, XrlIO<IPv4>& io_ipv4, XrlIO<IPv6>& io_ipv6)

XrlOspfV3Target

XrlCmdError  common_0_1_get_target_name ( string& name)

common_0_1_get_target_name

Get name of Xrl Target

Reimplemented from XrlOspfv3TargetBase.

XrlCmdError  common_0_1_get_version ( string& version)

common_0_1_get_version

Get version string from Xrl Target

Reimplemented from XrlOspfv3TargetBase.

XrlCmdError  common_0_1_get_status ( uint32_t& status, string& reason)

common_0_1_get_status

Get status of Xrl Target

Reimplemented from XrlOspfv3TargetBase.

XrlCmdError  common_0_1_shutdown ()

common_0_1_shutdown

Request clean shutdown of Xrl Target

Reimplemented from XrlOspfv3TargetBase.

XrlCmdError  raw_packet4_client_0_1_recv ( 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 vector<uint8_t>& payload)

raw_packet4_client_0_1_recv

Receive an IPv4 packet from a raw socket.

Parameters:

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.

Reimplemented from XrlOspfv3TargetBase.

XrlCmdError  raw_packet6_client_0_1_recv ( 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 XrlAtomList& ext_headers_type, const XrlAtomList& ext_headers_payload, const vector<uint8_t>& payload)

raw_packet6_client_0_1_recv

Receive an IPv6 packet from a raw socket.

Parameters:

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.
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.

Reimplemented from XrlOspfv3TargetBase.

XrlCmdError  ospfv3_0_1_set_router_id ( const uint32_t& id)

ospfv3_0_1_set_router_id

Set router id

Reimplemented from XrlOspfv3TargetBase.


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:38 2006, using kdoc $.