class HelloPacket
|
Hello packet
More... |
|
|
Public Methods
Public Members
Hello packet
static const size_t MINIMUM_LENGTH
| MINIMUM_LENGTH |
[const]
Reimplemented from Packet.
[const]
Reimplemented from Packet.
bool encode (vector<uint8_t>& pkt)
| encode |
Encode the packet.
Parameters:
pkt | vector into which the packet should be placed.
|
Returns: true if the encoding succeeded.
Reimplemented from Packet.
void set_network_mask (uint32_t network_mask)
| set_network_mask |
uint32_t get_network_mask ()
| get_network_mask |
[const]
void set_interface_id (uint32_t interface_id)
| set_interface_id |
uint32_t get_interface_id ()
| get_interface_id |
[const]
void set_hello_interval (uint16_t hello_interval)
| set_hello_interval |
uint16_t get_hello_interval ()
| get_hello_interval |
[const]
void set_options (uint32_t options)
| set_options |
uint32_t get_options ()
| get_options |
[const]
void set_router_priority (uint8_t router_priority)
| set_router_priority |
uint8_t get_router_priority ()
| get_router_priority |
[const]
void set_router_dead_interval (uint32_t router_dead_interval)
| set_router_dead_interval |
uint32_t get_router_dead_interval ()
| get_router_dead_interval |
[const]
[const]
[const]
[const]
Generate a printable representation of the packet.
Reimplemented from Packet.
Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:38 2006, using kdoc $.