class HelloPacket

Hello packet More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Public Members


Detailed Description

Hello packet

static const size_t MINIMUM_LENGTH

MINIMUM_LENGTH

 HelloPacket (OspfTypes::Version version)

HelloPacket

OspfTypes::Type  get_type ()

get_type

[const]

Reimplemented from Packet.

Packetdecode (uint8_t *ptr, size_t len)
throw(InvalidPacket)

decode

[const]

Reimplemented from Packet.

bool  encode (vector<uint8_t>& pkt)

encode

Encode the packet.

Parameters:

pktvector 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]

void  set_designated_router (OspfTypes::RouterID dr)

set_designated_router

OspfTypes::RouterID  get_designated_router ()

get_designated_router

[const]

void  set_backup_designated_router (OspfTypes::RouterID bdr)

set_backup_designated_router

OspfTypes::RouterID  get_backup_designated_router ()

get_backup_designated_router

[const]

list<OspfTypes::RouterID>&  get_neighbours ()

get_neighbours

string  str ()

str

[const]

Generate a printable representation of the packet.

Reimplemented from Packet.


Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:06:05 2008, using kdoc 2.0a54+XORP.