struct PacketRouteEntry

Route Entry appearing in RIP packets on IPv6. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Public Members

Protected Members


Detailed Description

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.

uint16_t _af

_af

[protected]

uint16_t _tag

_tag

[protected]

uint32_t _addr

_addr

[protected]

uint32_t _mask

_mask

[protected]

uint32_t _nh

_nh

[protected]

uint32_t _metric

_metric

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

uint16_t _tag

_tag

[protected]

uint8_t _prefix_len

_prefix_len

[protected]

uint8_t _metric

_metric

[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 $.