struct MD5PacketRouteEntry4

Route Entry for MD5 data. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Public Members

Protected Members


Detailed Description

The MD5PacketRouteEntry4 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 imples authentication. The authentication type is overlaid in the route tag field and takes the special value 3. With MD5 the authentication data appears after the remaining route entries. Details are disclosed in RFC2082.

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.

NB We describe the field labelled as "RIP-2 Packet Length" on page 5 of RFC 2082 as the "auth_offset". This matches the textual description in the RFC.

uint16_t _af

_af

[protected]

uint16_t _auth

_auth

[protected]

uint16_t _auth_offset

_auth_offset

[protected]

uint8_t _key_id

_key_id

[protected]

uint8_t _auth_bytes

_auth_bytes

[protected]

uint32_t _seqno

_seqno

[protected]

uint32_t _mbz[2]

_mbz[2]

[protected]

inline uint16_t  addr_family ()

addr_family

[const]

inline uint16_t  auth_type ()

auth_type

[const]

inline uint16_t  auth_offset ()

auth_offset

[const]

inline uint8_t  key_id ()

key_id

[const]

inline uint8_t  auth_bytes ()

auth_bytes

[const]

inline uint32_t  seqno ()

seqno

[const]

inline void  set_auth_offset (uint16_t b)

set_auth_offset

inline void  set_key_id (uint8_t id)

set_key_id

inline void  set_auth_bytes (uint8_t b)

set_auth_bytes

inline void  set_seqno (uint32_t sno)

set_seqno

inline void  initialize (uint16_t pkt_bytes, uint8_t key_id, uint8_t auth_bytes, uint32_t seqno)

initialize

static const uint16_t ADDR_FAMILY

ADDR_FAMILY

static const uint16_t AUTH_TYPE

AUTH_TYPE

inline void  initialize (uint16_t auth_offset, uint8_t key_id, uint8_t auth_bytes, uint32_t seqno)

initialize


Generated by: pavlin on possum.icir.org on Thu Jul 8 23:48:39 2004, using kdoc $.