TcMessage Class Reference

Representation of a TC protocol message. More...

#include <message.hh>

Inheritance diagram for TcMessage:
Message EtxTcMessage

List of all members.

Public Member Functions

virtual Messagedecode (uint8_t *buf, size_t &len) throw (InvalidMessage)
bool encode (uint8_t *buf, size_t &len)
size_t length () const
uint16_t ansn () const
const vector< LinkAddrInfo > & neighbors () const
void add_neighbor (const IPv4 &remote_addr)
size_t remove_neighbor (const IPv4 &remote_addr)
void set_ansn (uint16_t ansn)
void clear ()
string str () const

Static Public Member Functions

static size_t min_length ()

Protected Member Functions

void add_neighbor (const LinkAddrInfo &lai)
void decode_tc_common (uint8_t *buf, size_t &len, bool has_lq=false) throw (InvalidMessage)

Private Attributes

uint16_t _ansn
vector< LinkAddrInfo_neighbors

Detailed Description

Representation of a TC protocol message.

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations