PEthSocket::Address Union Reference

#include <ethsock.h>

List of all members.

Public Member Functions

 Address ()
 Address (const BYTE *addr)
 Address (const Address &addr)
 Address (const PString &str)
Addressoperator= (const Address &addr)
Addressoperator= (const PString &str)
bool operator== (const BYTE *eth) const
bool operator!= (const BYTE *eth) const
bool operator== (const Address &eth) const
bool operator!= (const Address &eth) const
 operator PString () const

Public Attributes

BYTE b [6]
WORD w [3]
struct {
   DWORD   l
   WORD   s
ls

Friends

ostream & operator<< (ostream &s, const Address &a)

Detailed Description

An ethernet MAC Address specification.


Constructor & Destructor Documentation

PEthSocket::Address::Address (  ) 
PEthSocket::Address::Address ( const BYTE *  addr  ) 
PEthSocket::Address::Address ( const Address addr  ) 
PEthSocket::Address::Address ( const PString str  ) 

Member Function Documentation

PEthSocket::Address::operator PString (  )  const
bool PEthSocket::Address::operator!= ( const Address eth  )  const [inline]

References l, ls, and s.

bool PEthSocket::Address::operator!= ( const BYTE *  eth  )  const
Address& PEthSocket::Address::operator= ( const PString str  ) 
Address& PEthSocket::Address::operator= ( const Address addr  ) 
bool PEthSocket::Address::operator== ( const Address eth  )  const [inline]

References l, ls, and s.

bool PEthSocket::Address::operator== ( const BYTE *  eth  )  const

Friends And Related Function Documentation

ostream& operator<< ( ostream &  s,
const Address a 
) [friend]

Member Data Documentation

Referenced by operator!=(), and operator==().

struct { ... } PEthSocket::Address::ls

Referenced by operator!=(), and operator==().

Referenced by operator!=(), and operator==().


The documentation for this union was generated from the following file:
Generated on Sun Jun 27 20:13:11 2010 for PTLib by  doxygen 1.6.3