| 
		| class RouterLink |  
		| Defines a link/interface, carried in a RouterLsa. More... |  
 |  | 
 
Public Types
- enum Type {	p2p = 1,	
	transit = 2,	
	stub = 3,	
	vlink = 4	
    }
Public Methods
 Defines a link/interface, carried in a RouterLsa.
 
| enum Type {	p2p = 1,	
	transit = 2,	
	stub = 3,	
	vlink = 4	
    } | Type | 
| bool  operator== (const RouterLink& rhs) 
 | operator== | 
 [const]
Returns: the number of bytes the encoded data will occupy.
     
 [const]
 Decode a RouterLink.
Parameters:
| buf | pointer to buffer. | 
| len | length of the buffer on input set to the number of
 bytes consumed on output. | 
Returns: A RouterLink.
     
| size_t  copy_out (uint8_t *to_uint8) 
 | copy_out | 
 [const]
 Copy a wire format representation to the pointer provided.
 length() should be called by the caller to verify enough space
 is available.
Returns: the number of bytes written.
     
 [const]
| void  set_type (Type t) 
 | set_type | 
| Type  get_type () 
 | get_type | 
 [const]
| void  set_metric (uint16_t metric) 
 | set_metric | 
| uint16_t  get_metric () 
 | get_metric | 
 [const]
| void  set_link_id (uint32_t link_id) 
 | set_link_id | 
| uint32_t  get_link_id () 
 | get_link_id | 
 [const]
| void  set_link_data (uint32_t link_data) 
 | set_link_data | 
| uint32_t  get_link_data () 
 | get_link_data | 
 [const]
| void  set_interface_id (uint32_t interface_id) 
 | set_interface_id | 
| uint32_t  get_interface_id () 
 | get_interface_id | 
 [const]
| void  set_neighbour_interface_id (uint32_t neighbour_interface_id) 
 | set_neighbour_interface_id | 
| uint32_t  get_neighbour_interface_id () 
 | get_neighbour_interface_id | 
 [const]
| void  set_neighbour_router_id (uint32_t neighbour_router_id) 
 | set_neighbour_router_id | 
| uint32_t  get_neighbour_router_id () 
 | get_neighbour_router_id | 
 [const]
 [const]
 Generate a printable representation of the header.
     
	
Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:06:05 2008, using kdoc 2.0a54+XORP.