class PlaintextPacketRouteEntry4

Route Entry for Plaintext password. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Public Static Methods

Public Members

Protected Members


Detailed Description

The PlaintextPacketRouteEntry4 may appear as the first route entry in a RIPv2 packet. It has the same size as an PacketRouteEntry<IPv4>. The address family has the special value 0xffff which implies authentication. The authentication type is overlaid in the route tag field and takes the special value 2.

All items in the route entry are stored in network order. The accessor methods provide values in host order, and the modifiers take arguments in host order.

The plaintext authentication entry has the following content:

af (2 bytes): // The address family auth (2 bytes): // Authentication type pw (16 bytes): // Password

 PlaintextPacketRouteEntry4 (const uint8_t* data)

PlaintextPacketRouteEntry4

static const size_t SIZE

SIZE

size_t  size ()

size

[static]

Get the RIP IPv4 plaintext password route entry size.

Returns: the RIP IPv4 plaintext password route entry size.

uint16_t  addr_family ()

addr_family

[const]

uint16_t  auth_type ()

auth_type

[const]

string  password ()

password

[const]

static const uint16_t ADDR_FAMILY

ADDR_FAMILY

static const uint16_t AUTH_TYPE

AUTH_TYPE

static const size_t _af_sizeof

_af_sizeof

[protected]

static const size_t _auth_sizeof

_auth_sizeof

[protected]

static const size_t _pw_sizeof

_pw_sizeof

[protected]

static const size_t _af_offset

_af_offset

[protected]

static const size_t _auth_offset

_auth_offset

[protected]

static const size_t _pw_offset

_pw_offset

[protected]


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