class NullAuthHandler

OSPFv2 Authentication handler when no authentication scheme is employed. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Public Static Methods

Public Members


Detailed Description

static const OspfTypes::AuType AUTH_TYPE

AUTH_TYPE

const char*  effective_name ()

effective_name

[const]

Get the effective name of the authentication scheme.

Returns: the name of the authentication scheme.

Reimplemented from AuthHandlerBase.

const char*  auth_type_name ()

auth_type_name

[static]

Get the method-specific name of the authentication scheme.

Returns: the method-specific name of the authentication scheme.

void  reset ()

reset

Reset the authentication state.

Reimplemented from AuthHandlerBase.

uint32_t  additional_payload ()

additional_payload

[const]

Additional bytes that will be added to the payload.

Returns: the number of additional bytes that need to be added to the payload.

Reimplemented from AuthHandlerBase.

bool  authenticate_inbound (const vector<uint8_t>& packet, const IPv4& src_addr, bool new_peer)

authenticate_inbound

Inbound authentication method.

Parameters:

packetthe packet to verify.
src_addrthe source address of the packet.
new_peertrue if this is a new peer.

Returns: true if packet passes authentication checks, false otherwise.

Reimplemented from AuthHandlerBase.

bool  authenticate_outbound (vector<uint8_t>& packet)

authenticate_outbound

Outbound authentication method.

Parameters:

packetthe packet to authenticate.

Returns: true if packet was successfully authenticated, false when no valid keys are present.

Reimplemented from AuthHandlerBase.


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