#include <Prophet.h>
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 364 of file Prophet.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__ |
u_int8_t dtn::Prophet::RIBTLVHeader::type |
defined as 0xA1
Definition at line 365 of file Prophet.h.
Referenced by dtn::RIBTLV::deserialize(), and dtn::RIBTLV::serialize().
u_int8_t dtn::Prophet::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 379 of file Prophet.h.
Referenced by dtn::RIBTLV::deserialize(), and dtn::RIBTLV::serialize().
u_int16_t dtn::Prophet::RIBTLVHeader::length |
Length of the TLV in octets, including the TLV header and any nested TLVs.
Definition at line 384 of file Prophet.h.
Referenced by dtn::RIBTLV::deserialize(), and dtn::RIBTLV::serialize().
Number of routing entries in the TLV.
Definition at line 385 of file Prophet.h.
Referenced by dtn::RIBTLV::deserialize(), and dtn::RIBTLV::serialize().
u_int16_t dtn::Prophet::RIBTLVHeader::unused__ |