#include <Eui64.h>

Collaboration diagram for Eui::Eui64:

Public Member Functions

 Eui64 ()
 
 Eui64 (const Eui64 &t)
 
Eui64operator= (const Eui64 &t)
 
bool operator== (const Eui64 &t) const
 
bool operator< (const Eui64 &t) const
 
 ~Eui64 ()
 
const unsigned char * get (void)
 
bool set (const char *src, const int len)
 
void clear ()
 
bool decode (const char *asc)
 
bool encode (char *buf, const int len) const
 
bool lookup (const Ip::Address &c)
 
bool lookupNdp (const Ip::Address &c)
 
bool lookupSlaac (const Ip::Address &c)
 

Private Attributes

unsigned char eui [SZ_EUI64_BUF]
 

Detailed Description

Definition at line 34 of file Eui64.h.

Constructor & Destructor Documentation

Eui::Eui64::Eui64 ( )
inline

Definition at line 38 of file Eui64.h.

References clear().

Eui::Eui64::Eui64 ( const Eui64 t)
inline

Definition at line 39 of file Eui64.h.

Eui::Eui64::~Eui64 ( )
inline

Definition at line 43 of file Eui64.h.

Member Function Documentation

void Eui::Eui64::clear ( )
inline

Definition at line 54 of file Eui64.h.

References eui, and SZ_EUI64_BUF.

Referenced by Eui64(), and set().

bool Eui::Eui64::decode ( const char *  asc)

Decode an ascii representation of an EUI-64 address.

Parameters
ascASCII representation of an EUI-64 address
ethBinary representation of the EUI_64 address
Return values
falseConversion to binary failed. Invalid address
trueConversion completed successfully

Definition at line 22 of file Eui64.cc.

References debugs, eui, and eui64_aton().

Referenced by aclParseEuiData().

bool Eui::Eui64::encode ( char *  buf,
const int  len 
) const

Encode an ascii representation (asc) of an EUI-64 address.

Parameters
bufBuffer to receive ASCII representation of an EUI-64 address
lenLength of the buffer space available. Must be >= SZ_EUI64_BUF bytes or the encode will fail.
euiBinary representation of the EUI-64 address
Return values
falseConversion to ASCII failed.
trueConversion completed successfully.

Definition at line 34 of file Eui64.cc.

References debugs, and SZ_EUI64_BUF.

Referenced by Format::Format::assemble().

const unsigned char * Eui::Eui64::get ( void  )

Definition at line 27 of file stub_libeui.cc.

bool Eui::Eui64::lookup ( const Ip::Address c)

Definition at line 47 of file Eui64.cc.

Referenced by ACLEui64::match(), and Comm::TcpAcceptor::oldAccept().

bool Eui::Eui64::lookupNdp ( const Ip::Address c)

Definition at line 78 of file Eui64.cc.

References DBG_CRITICAL, and debugs.

bool Eui::Eui64::lookupSlaac ( const Ip::Address c)
bool Eui::Eui64::operator< ( const Eui64 t) const
inline

Definition at line 42 of file Eui64.h.

References eui, and SZ_EUI64_BUF.

Eui64& Eui::Eui64::operator= ( const Eui64 t)
inline

Definition at line 40 of file Eui64.h.

bool Eui::Eui64::operator== ( const Eui64 t) const
inline

Definition at line 41 of file Eui64.h.

References eui, and SZ_EUI64_BUF.

bool Eui::Eui64::set ( const char *  src,
const int  len 
)
inline

Definition at line 47 of file Eui64.h.

References clear(), eui, and SZ_EUI64_BUF.

Member Data Documentation

unsigned char Eui::Eui64::eui[SZ_EUI64_BUF]
private

Definition at line 87 of file Eui64.h.

Referenced by clear(), decode(), operator<(), operator==(), and set().


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors