Public Member Functions | Public Attributes

OLSR_msg Struct Reference

OLSR message. More...

#include <OLSR_pkt.h>

List of all members.

Public Member Functions

u_int8_t & msg_type ()
u_int8_t & vtime ()
u_int16_t & msg_size ()
nsaddr_t & orig_addr ()
u_int8_t & ttl ()
u_int8_t & hop_count ()
u_int16_t & msg_seq_num ()
OLSR_hellohello ()
OLSR_tctc ()
OLSR_midmid ()
u_int32_t size ()
u_int8_t & msg_type ()
u_int8_t & vtime ()
u_int16_t & msg_size ()
nsaddr_t & orig_addr ()
u_int8_t & ttl ()
u_int8_t & hop_count ()
u_int16_t & msg_seq_num ()
OLSR_hellohello ()
OLSR_tctc ()
OLSR_midmid ()
u_int32_t size ()

Public Attributes

u_int8_t msg_type_
 Message type.
u_int8_t vtime_
 Validity time.
u_int16_t msg_size_
 Message size (in bytes).
nsaddr_t orig_addr_
 Main address of the node which generated this message.
u_int8_t ttl_
 Time to live (in hops).
u_int8_t hop_count_
 Number of hops which the message has taken.
u_int16_t msg_seq_num_
 Message sequence number.
union {
   OLSR_hello   hello_
   OLSR_tc   tc_
   OLSR_mid   mid_
msg_body_
 Message body.
union {
   OLSR_hello   hello_
   OLSR_tc   tc_
   OLSR_mid   mid_
msg_body_
 Message body.

Detailed Description

OLSR message.


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