Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

Public Types | Public Member Functions | Public Attributes | Protected Types | Protected Member Functions

PSTUNMappedAddress Class Reference

Inheritance diagram for PSTUNMappedAddress:
Inheritance graph
[legend]
Collaboration diagram for PSTUNMappedAddress:
Collaboration graph
[legend]

List of all members.

Public Types

enum  Types {
  MAPPED_ADDRESS = 0x0001, RESPONSE_ADDRESS = 0x0002, CHANGE_REQUEST = 0x0003, SOURCE_ADDRESS = 0x0004,
  CHANGED_ADDRESS = 0x0005, USERNAME = 0x0006, PASSWORD = 0x0007, MESSAGE_INTEGRITY = 0x0008,
  ERROR_CODE = 0x0009, UNKNOWN_ATTRIBUTES = 0x000a, REFLECTED_FROM = 0x000b, MaxValidCode
}

Public Member Functions

PIPSocket::Address GetIP () const
PSTUNAttributeGetNext () const
void Initialise ()
bool IsValid () const

Public Attributes

BYTE family
BYTE ip [4]
PUInt16b length
BYTE pad
PUInt16b port
PUInt16b type

Protected Types

enum  { SizeofAddressAttribute = sizeof(BYTE)+sizeof(BYTE)+sizeof(WORD)+sizeof(PIPSocket::Address) }

Protected Member Functions

void InitAddrAttr (Types newType)
bool IsValidAddrAttr (Types checkType) const

Detailed Description

Definition at line 228 of file pstun.cxx.


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

Generated by  Doxygen 1.6.0   Back to index