#include <DTLSR.h>
Classes | |
class | LinkParams |
Link parameters that are sent over the network. More... | |
class | LinkState |
Structure used in LSAs for link state announcement. More... | |
class | LSA |
The LSA that's sent over the network. More... | |
Public Types | |
enum | msg_type_t { MSG_LSA = 1, MSG_EIDA = 2 } |
Message types. More... | |
typedef oasys::SerializableVector < LinkState > | LinkStateVec |
Static Public Member Functions | |
static void | format_lsa_bundle (Bundle *bundle, const LSA *lsa) |
Format the LSA into the given bundle's payload. | |
static bool | parse_lsa_bundle (const Bundle *bundle, LSA *lsa) |
Parse an LSA bundle. |
Definition at line 32 of file DTLSR.h.
typedef oasys::SerializableVector<LinkState> dtn::DTLSR::LinkStateVec |
Format the LSA into the given bundle's payload.
Definition at line 61 of file DTLSR.cc.
References buf, len, MSG_LSA, dtn::Bundle::mutable_payload(), dtn::BundlePayload::set_length(), and dtn::BundlePayload::write_data().
Referenced by dtn::DTLSRRouter::send_lsa().
Parse an LSA bundle.
Definition at line 92 of file DTLSR.cc.
References buf, len, dtn::BundlePayload::length(), MSG_LSA, dtn::Bundle::payload(), and dtn::BundlePayload::read_data().
Referenced by dtn::DTLSRRouter::DTLSRRouter::Reg::deliver_bundle().