class Lsa_header
|
LSA Header. More... |
|
|
Public Methods
Public Static Methods
LSA Header. Common header for all LSAs.
Never store or pass a pointer, just deal with it inline.
[static]
Returns: the length of an LSA header.
uint16_t get_lsa_len_from_buffer (uint8_t *ptr)
| get_lsa_len_from_buffer |
[static]
Get the length of the LSA from the buffer provided
[const]
Decode a LSA header and return a LSA header inline not a pointer.
void decode_inline (uint8_t *ptr)
throw(BadPacket) | decode_inline |
Decode this lsa header in this context.
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.
[const]
void set_ls_age (uint16_t ls_age)
| set_ls_age |
uint16_t get_ls_age ()
| get_ls_age |
[const]
void set_options (uint8_t options)
| set_options |
uint8_t get_options ()
| get_options |
[const]
void set_ls_type (uint16_t ls_type)
| set_ls_type |
uint16_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]
void set_ls_sequence_number (int32_t ls_sequence_number)
| set_ls_sequence_number |
int32_t get_ls_sequence_number ()
| get_ls_sequence_number |
[const]
void set_ls_checksum (uint16_t ls_checksum)
| set_ls_checksum |
uint16_t get_ls_checksum ()
| get_ls_checksum |
[const]
void set_length (uint16_t length)
| set_length |
uint16_t get_length ()
| get_length |
[const]
[const]
Generate a printable representation of the header.
Generated by: pavlin on possum.icir.org on Thu Mar 9 04:43:44 2006, using kdoc $.