struct PacketRouteEntry
|
Route Entry appearing in RIP packets on IPv6.
More... |
|
|
Public Methods
- inline void initialize (uint16_t tag,
const IPv4Net& net,
IPv4 nh,
uint32_t cost)
- inline void initialize_table_request ()
- inline uint16_t addr_family () const
- inline uint16_t tag () const
- inline uint32_t prefix_len () const
- inline IPv4Net net () const
- inline IPv4 nexthop () const
- inline uint32_t metric () const
- inline bool is_table_request () const
- inline bool is_auth_entry () const
- inline void
initialize (uint16_t tag,
const IPv4Net& net,
IPv4 nh,
uint32_t cost)
- inline uint32_t
prefix_len () const
- inline IPv4Net
net () const
- inline bool
is_table_request () const
- inline bool
is_auth_entry () const
- inline void
initialize_table_request ()
- inline void initialize_route (uint16_t route_tag,
const IPv6Net& net,
uint8_t cost)
- inline void initialize_nexthop (const IPv6& nexthop)
- inline void initialize_table_request ()
- inline bool is_nexthop () const
- inline bool is_table_request () const
- inline IPv6 nexthop () const
- inline uint16_t tag () const
- inline uint32_t prefix_len () const
- inline IPv6Net net () const
- inline uint8_t metric () const
- inline void
initialize_route (uint16_t tag,
const IPv6Net& net,
uint8_t cost)
- inline void
initialize_nexthop (const IPv6& nexthop)
- inline void
initialize_table_request ()
- inline bool
is_table_request () const
- inline bool
is_nexthop () const
- inline IPv6
nexthop () const
- inline uint16_t
tag () const
- inline IPv6Net
net () const
- inline uint8_t
metric () const
Public Members
Protected Members
This payload is carried in RIP packets on IPv6. The interpretation
of the fields is defined in RFC2080.
All fields in this structure are stored in network order.
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
inline void initialize (uint16_t tag,
const IPv4Net& net,
IPv4 nh,
uint32_t cost)
| initialize |
Initialize fields as a regular routing entry.
inline void initialize_table_request ()
| initialize_table_request |
Initialize fields as a route table request.
inline uint16_t addr_family ()
| addr_family |
[const]
inline uint16_t tag ()
| tag |
[const]
inline uint32_t prefix_len ()
| prefix_len |
[const]
inline IPv4Net net ()
| net |
[const]
inline IPv4 nexthop ()
| nexthop |
[const]
inline uint32_t metric ()
| metric |
[const]
inline bool is_table_request ()
| is_table_request |
[const]
Returns: true if route entry has properties of a table request.
inline bool is_auth_entry ()
| is_auth_entry |
[const]
Returns: true if route entry has properties of an authentication entry.
static const uint16_t ADDR_FAMILY
| ADDR_FAMILY |
static const uint16_t ADDR_FAMILY_DUMP
| ADDR_FAMILY_DUMP |
static const uint16_t ADDR_FAMILY_AUTH
| ADDR_FAMILY_AUTH |
inline void
initialize (uint16_t tag,
const IPv4Net& net,
IPv4 nh,
uint32_t cost)
| initialize |
inline uint32_t
prefix_len ()
| prefix_len |
[const]
inline IPv4Net
net ()
| net |
[const]
inline bool
is_table_request ()
| is_table_request |
[const]
inline bool
is_auth_entry ()
| is_auth_entry |
[const]
inline void
initialize_table_request ()
| initialize_table_request |
uint8_t _prefix[16]
| _prefix[16] |
[protected]
[protected]
uint8_t _prefix_len
| _prefix_len |
[protected]
[protected]
inline void initialize_route (uint16_t route_tag,
const IPv6Net& net,
uint8_t cost)
| initialize_route |
Initialize fields as a route entry.
inline void initialize_nexthop (const IPv6& nexthop)
| initialize_nexthop |
Initialize fields as a nexthop entry.
inline void initialize_table_request ()
| initialize_table_request |
Initialize fields as a route table request.
inline bool is_nexthop ()
| is_nexthop |
[const]
inline bool is_table_request ()
| is_table_request |
[const]
inline IPv6 nexthop ()
| nexthop |
[const]
inline uint16_t tag ()
| tag |
[const]
inline uint32_t prefix_len ()
| prefix_len |
[const]
inline IPv6Net net ()
| net |
[const]
inline uint8_t metric ()
| metric |
[const]
static const uint8_t NEXTHOP_METRIC
| NEXTHOP_METRIC |
inline void
initialize_route (uint16_t tag,
const IPv6Net& net,
uint8_t cost)
| initialize_route |
inline void
initialize_nexthop (const IPv6& nexthop)
| initialize_nexthop |
inline void
initialize_table_request ()
| initialize_table_request |
inline bool
is_table_request ()
| is_table_request |
[const]
inline bool
is_nexthop ()
| is_nexthop |
[const]
inline IPv6
nexthop ()
| nexthop |
[const]
inline uint16_t
tag ()
| tag |
[const]
inline IPv6Net
net ()
| net |
[const]
inline uint8_t
metric ()
| metric |
[const]
Generated by: pavlin on possum.icir.org on Wed Apr 13 21:53:21 2005, using kdoc $.