prophet::RIBTLV::RIBTLVHeader Struct Reference

#include <RIBTLV.h>

List of all members.


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.


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__

Member Data Documentation

defined as 0xA1

Definition at line 54 of file RIBTLV.h.

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

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

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

Number of routing entries in the TLV.

Definition at line 74 of file RIBTLV.h.

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

Definition at line 75 of file RIBTLV.h.


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

Generated on Mon Jul 21 14:12:22 2008 for DTN Reference Implementation by  doxygen 1.5.6