struct PlaintextPacketRouteEntry4

Route Entry for Plaintext password. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

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

uint16_t _af

_af

[protected]

uint16_t _auth

_auth

[protected]

char _pw[16]

_pw[16]

[protected]

inline uint16_t  addr_family ()

addr_family

[const]

inline uint16_t  auth_type ()

auth_type

[const]

inline string  password ()

password

[const]

inline void  initialize (const string& s)

initialize

static const uint16_t ADDR_FAMILY

ADDR_FAMILY

static const uint16_t AUTH_TYPE

AUTH_TYPE


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:43 2006, using kdoc $.