class Ls_request

Link State Request as sent in a Link State Request Packet. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Public Static Methods


Detailed Description

Link State Request as sent in a Link State Request Packet. Never store or pass a pointer, just deal with it inline.

 Ls_request (OspfTypes::Version version)

Ls_request

 Ls_request (OspfTypes::Version version, uint32_t ls_type, uint32_t link_state_id, uint32_t advertising_router)

Ls_request

 Ls_request (const Ls_request& rhs)

Ls_request

Ls_request  operator= (const Ls_request& rhs)

operator=

void  copy (const Ls_request& rhs)

copy

size_t  length ()

length

[static]

Returns: the length of an link state request header.

Ls_request  decode (uint8_t *ptr)
throw(InvalidPacket)

decode

Decode a Link State Request and return value inline not a pointer.

size_t  copy_out (uint8_t *to_uint8)

copy_out

[const]

Copy a wire format representation to the pointer provided.

Returns: the number of bytes written.

OspfTypes::Version  get_version ()

get_version

[const]

void  set_ls_type (uint32_t ls_type)

set_ls_type

uint32_t  get_ls_type ()

get_ls_type

[const]

void  set_link_state_id (uint32_t link_state_id)

set_link_state_id

uint32_t  get_link_state_id ()

get_link_state_id

[const]

void  set_advertising_router (uint32_t advertising_router)

set_advertising_router

uint32_t  get_advertising_router ()

get_advertising_router

[const]

string  str ()

str

[const]

Generate a printable representation of the request.


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