class Message

An OLSR protocol message. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Public Static Methods

Protected Methods

Protected Members


Detailed Description

 ~Message ()

~Message

[virtual]

inline TimeVal  receive_time ()

receive_time

[const]

inline TimeVal  expiry_time ()

expiry_time

[const]

inline bool  valid ()

valid

[const]

inline bool  is_first ()

is_first

[const]

inline bool  is_last ()

is_last

[const]

inline void  set_is_first (bool arg)

set_is_first

inline void  set_is_last (bool arg)

set_is_last

inline bool  forwarded ()

forwarded

[const]

inline OlsrTypes::FaceID  faceid ()

faceid

[const]

inline uint8_t  hops ()

hops

[const]

inline void  incr_hops ()

incr_hops

inline uint16_t  seqno ()

seqno

[const]

inline uint8_t  ttl ()

ttl

[const]

inline void  decr_ttl ()

decr_ttl

inline IPv4  origin ()

origin

[const]

inline OlsrTypes::MessageType  type ()

type

[const]

inline void  set_hop_count (uint8_t hops)

set_hop_count

inline void  set_forwarded (bool is_forwarded)

set_forwarded

inline void  set_expiry_time (const TimeVal& expiry_time)

set_expiry_time

inline void  set_receive_time (const TimeVal& receive_time)

set_receive_time

inline void  set_seqno (uint16_t seqno)

set_seqno

inline void  set_ttl (uint8_t ttl)

set_ttl

inline void  set_type (OlsrTypes::MessageType type)

set_type

inline void  set_valid (bool is_valid)

set_valid

inline void  set_origin (IPv4 origin)

set_origin

inline void  set_faceid (OlsrTypes::FaceID faceid)

set_faceid

Message*  decode (uint8_t* buf, size_t& len)
throw(InvalidMessage)

decode

[pure virtual]

bool  encode (uint8_t* buf, size_t& len)

encode

[pure virtual]

size_t  length ()

length

[const pure virtual]

string  str ()

str

[const pure virtual]

string  common_str ()

common_str

[const]

size_t  get_common_header_length ()

get_common_header_length

[static]

uint16_t  adv_message_length ()

adv_message_length

[const]

size_t  decode_common_header (uint8_t* buf, size_t& len)
throw(InvalidMessage)

decode_common_header

[protected]

bool  encode_common_header (uint8_t* buf, size_t& len)

encode_common_header

[protected]

void  store (uint8_t* ptr, size_t len)

store

[protected]

TimeVal _receive_time

_receive_time

[protected]

TimeVal _expiry_time

_expiry_time

[protected]

bool _is_valid

_is_valid

[protected]

bool _is_forwarded

_is_forwarded

[protected]

bool _is_first

_is_first

[protected]

bool _is_last

_is_last

[protected]

OlsrTypes::FaceID _faceid

_faceid

[protected]

IPv4 _origin

_origin

[protected]

uint8_t _type

_type

[protected]

uint8_t _ttl

_ttl

[protected]

uint8_t _hops

_hops

[protected]

uint16_t _seqno

_seqno

[protected]

uint16_t _adv_message_length

_adv_message_length

[protected]

vector<uint8_t> _msg

_msg

[protected]


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:11:15 2009, using kdoc 2.0a54+XORP.