LLAddrRecord Class Reference

Base class for address-related RRs. More...

#include <llares.h>

Inheritance diagram for LLAddrRecord:

Inheritance graph
[legend]
Collaboration diagram for LLAddrRecord:

Collaboration graph
[legend]

List of all members.

Public Member Functions

const sockaddr & addr () const
 Generic socket address.
socklen_t size () const
 Size of the socket structure.

Protected Member Functions

 LLAddrRecord (LLResType type, const std::string &name, unsigned ttl)

Protected Attributes

union {
   sockaddr   sa
   sockaddr_in   sin
   sockaddr_in6   sin6
mSA
socklen_t mSize

Friends

class LLQueryResponder


Detailed Description

Base class for address-related RRs.

Definition at line 106 of file llares.h.


Constructor & Destructor Documentation

LLAddrRecord::LLAddrRecord ( LLResType  type,
const std::string &  name,
unsigned  ttl 
) [protected]

Definition at line 636 of file llares.cpp.


Member Function Documentation

const sockaddr& LLAddrRecord::addr (  )  const [inline]

Generic socket address.

Definition at line 126 of file llares.h.

References mSA.

socklen_t LLAddrRecord::size (  )  const [inline]

Size of the socket structure.

Definition at line 131 of file llares.h.

References mSize.


Friends And Related Function Documentation

friend class LLQueryResponder [friend]

Reimplemented from LLDnsRecord.

Reimplemented in LLARecord, and LLAaaaRecord.

Definition at line 109 of file llares.h.


Member Data Documentation

sockaddr LLAddrRecord::sa

Definition at line 115 of file llares.h.

sockaddr_in LLAddrRecord::sin

Definition at line 116 of file llares.h.

sockaddr_in6 LLAddrRecord::sin6

Definition at line 117 of file llares.h.

union { ... } LLAddrRecord::mSA [protected]

socklen_t LLAddrRecord::mSize [protected]

Definition at line 120 of file llares.h.

Referenced by LLAaaaRecord::parse(), LLARecord::parse(), and size().


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

Generated on Fri May 16 08:38:33 2008 for SecondLife by  doxygen 1.5.5