prophet::RIBTLV::RIBTLV::RIBTLVHeader Struct Reference

Routing Information Base TLV
p. More...

#include <RIBTLV.h>

List of all members.

Public Attributes

u_int8_t type
 defined as 0xA1
u_int8_t flags
 The encoding of the Header flag field relates to the capabilities of the Source node sending the RIB:
Flag 0: Relay Node 0b1
Flag 1: Custody Node 0b1
Flag 2: Internet GW Node 0b1
Flag 3: Reserved 0b1
Flag 4: Reserved 0b1
Flag 5: Reserved 0b1
Flag 6: Reserved 0b1
Flag 7: Reserved 0b1
.
u_int16_t length
 Length of the TLV in octets, including the TLV header and any nested TLVs.
u_int16_t rib_string_count
 Number of routing entries in the TLV.
u_int16_t unused__


Detailed Description

Routing Information Base TLV
p.

28, 4.4.4

The Routing Information Base lists the destinations a node knows of, and the delivery predictabilities it has associated with them. This information is needed by the PRoPHET algorithm to make decisions on routing and forwarding.

Definition at line 53 of file RIBTLV.h.


Member Data Documentation

u_int8_t prophet::RIBTLV::RIBTLV::RIBTLVHeader::flags

The encoding of the Header flag field relates to the capabilities of the Source node sending the RIB:
Flag 0: Relay Node 0b1
Flag 1: Custody Node 0b1
Flag 2: Internet GW Node 0b1
Flag 3: Reserved 0b1
Flag 4: Reserved 0b1
Flag 5: Reserved 0b1
Flag 6: Reserved 0b1
Flag 7: Reserved 0b1
.

Definition at line 68 of file RIBTLV.h.

Referenced by prophet::RIBTLV::deserialize(), and prophet::RIBTLV::serialize().

u_int16_t prophet::RIBTLV::RIBTLV::RIBTLVHeader::length

Length of the TLV in octets, including the TLV header and any nested TLVs.

Definition at line 73 of file RIBTLV.h.

Referenced by prophet::RIBTLV::deserialize(), and prophet::RIBTLV::serialize().

u_int16_t prophet::RIBTLV::RIBTLV::RIBTLVHeader::rib_string_count

Number of routing entries in the TLV.

Definition at line 74 of file RIBTLV.h.

Referenced by prophet::RIBTLV::deserialize(), and prophet::RIBTLV::serialize().

u_int8_t prophet::RIBTLV::RIBTLV::RIBTLVHeader::type

defined as 0xA1

Definition at line 54 of file RIBTLV.h.

Referenced by prophet::RIBTLV::deserialize(), and prophet::RIBTLV::serialize().

u_int16_t prophet::RIBTLV::RIBTLV::RIBTLVHeader::unused__

Definition at line 75 of file RIBTLV.h.


The documentation for this struct was generated from the following file:

Generated on Fri Jan 30 09:43:16 2009 for DTN Reference Implementation by  doxygen 1.5.8