class PacketRouteEntry

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

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Public Static 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.

The route entry has the following content:

prefix (16 bytes): // Prefix tag (2 bytes): // Tag prefix_len (1 byte): // Prefix length metric (1 byte): // Metric

 PacketRouteEntry (const uint8_t* data)

PacketRouteEntry

static const size_t SIZE

SIZE

size_t  size ()

size

[static]

Get the RIP IPv4 route entry size.

Returns: the RIP IPv4 route entry size.

uint16_t  addr_family ()

addr_family

[const]

uint16_t  tag ()

tag

[const]

IPv4  addr ()

addr

[const]

uint32_t  prefix_len ()

prefix_len

[const]

IPv4Net  net ()

net

[const]

IPv4  nexthop ()

nexthop

[const]

uint32_t  metric ()

metric

[const]

bool  is_table_request ()

is_table_request

[const]

Returns: true if route entry has properties of a table request.

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

static const size_t _af_sizeof

_af_sizeof

[protected]

static const size_t _tag_sizeof

_tag_sizeof

[protected]

static const size_t _addr_sizeof

_addr_sizeof

[protected]

static const size_t _mask_sizeof

_mask_sizeof

[protected]

static const size_t _nh_sizeof

_nh_sizeof

[protected]

static const size_t _metric_sizeof

_metric_sizeof

[protected]

static const size_t _af_offset

_af_offset

[protected]

static const size_t _tag_offset

_tag_offset

[protected]

static const size_t _addr_offset

_addr_offset

[protected]

static const size_t _mask_offset

_mask_offset

[protected]

static const size_t _nh_offset

_nh_offset

[protected]

static const size_t _metric_offset

_metric_offset

[protected]

 PacketRouteEntry (const uint8_t* data)

PacketRouteEntry

static const size_t SIZE

SIZE

size_t  size ()

size

[static]

Get the RIP IPv6 route entry size.

Returns: the RIP IPv6 route entry size.

bool  is_nexthop ()

is_nexthop

[const]

bool  is_table_request ()

is_table_request

[const]

Returns: true if route entry has properties of a table request.

IPv6  nexthop ()

nexthop

[const]

uint16_t  tag ()

tag

[const]

uint32_t  prefix_len ()

prefix_len

[const]

IPv6Net  net ()

net

[const]

uint8_t  metric ()

metric

[const]

static const uint8_t NEXTHOP_METRIC

NEXTHOP_METRIC

static const size_t _prefix_sizeof

_prefix_sizeof

[protected]

static const size_t _tag_sizeof

_tag_sizeof

[protected]

static const size_t _prefix_len_sizeof

_prefix_len_sizeof

[protected]

static const size_t _metric_sizeof

_metric_sizeof

[protected]

static const size_t _prefix_offset

_prefix_offset

[protected]

static const size_t _tag_offset

_tag_offset

[protected]

static const size_t _prefix_len_offset

_prefix_len_offset

[protected]

static const size_t _metric_offset

_metric_offset

[protected]


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