sipxportlib  Version 3.3
Classes | Macros | Enumerations
OsNatDatagramSocket.h File Reference
#include "os/OsNatSocketBaseImpl.h"
#include "os/OsDatagramSocket.h"
#include "os/OsMsgQ.h"
#include "os/OsTimer.h"
#include "os/OsQueuedEvent.h"
Include dependency graph for OsNatDatagramSocket.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  STUN_STATE
 
struct  TURN_STATE
 
class  OsNatDatagramSocket
 

Macros

#define NAT_MSG_TYPE   (OsMsg::USER_START + 1)
 

Enumerations

enum  NAT_STATUS { NAT_STATUS_UNKNOWN, NAT_STATUS_SUCCESS, NAT_STATUS_FAILURE }
 
enum  NAT_BINDING { NO_BINDING, STUN_BINDING, TURN_BINDING, STUN_TURN_BINDING }
 

Macro Definition Documentation

#define NAT_MSG_TYPE   (OsMsg::USER_START + 1)

Stun Msg type/Id

Enumeration Type Documentation

enum NAT_STATUS

NAT_STATUS is used internally to mark the end-state of a NAT attempt. NAT attempts range from a discovery lookup (what is my external IP address) to a TURN allocation (relaying).

Enumerator
NAT_STATUS_UNKNOWN 
NAT_STATUS_SUCCESS 

Unknown NAT status – either idle or pending

NAT_STATUS_FAILURE 

NAT binding/allocation was successful NAT binding/allocation was unsuccessful (no response or negative response)

Enumerator
NO_BINDING 
STUN_BINDING 
TURN_BINDING 
STUN_TURN_BINDING