sipxportlib  Version 3.3
Classes | Macros | Typedefs | Enumerations
TurnMessage.h File Reference
#include "os/OsIntTypes.h"
#include "os/StunMessage.h"
Include dependency graph for TurnMessage.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TurnMessage
 

Macros

#define MSG_TURN_ALLOCATE_REQUEST   0x0003
 
#define MSG_TURN_ALLOCATE_RESPONSE   0x0103
 
#define MSG_TURN_ALLOCATE_ERROR_RESPONSE   0x0113
 
#define MSG_TURN_SEND_REQUEST   0x0004
 
#define MSG_TURN_SEND_RESPONSE   0x0104
 
#define MSG_TURN_SEND_ERROR_RESPONSE   0x0114
 
#define MSG_TURN_DATA_INDICATION   0x0115
 
#define MSG_TURN_ACTIVE_DESTINATION_REQUEST   0x0006
 
#define MSG_TURN_ACTIVE_DESTINATION_RESPONSE   0x0106
 
#define MSG_TURN_ACTIVE_DESTINATION_ERROR_RESPONSE   0x0116
 
#define MSG_TURN_CONNECTION_STATUS_INDICATION   0x0117
 
#define MSG_TURN_CLOSE_BINDING_REQUEST   0x0009
 
#define MSG_TURN_CLOSE_BINDING_RESPONSE   0x0109
 
#define MSG_TURN_CLOSE_BINDING_ERROR_RESPONSE   0x0119
 
#define ATTR_TURN_LIFETIME   0x000D
 
#define ATTR_TURN_MAGIC_COOKIE   0x000F
 
#define ATTR_TURN_BANDWIDTH   0x0010
 
#define ATTR_TURN_DESTINATION_ADDRESS   0x0011
 
#define ATTR_TURN_REMOTE_ADDRESS   0x0012
 
#define ATTR_TURN_DATA   0x0013
 
#define ATTR_TURN_RELAY_ADDRESS   0x0016
 
#define ATTR_TURN_REQUESTED_PORT   0x0018
 
#define ATTR_TURN_REQUESTED_TRANSPORT   0x0019
 
#define ATTR_TURN_REQUESTED_IP   0x0022
 
#define ATTR_MAGIC_COOKIE   0x72c64bc6
 
#define TURN_ERROR_NO_BINDING_CODE   437
 
#define TURN_ERROR_NO_BINDING_TEXT   "no binding"
 
#define TURN_ERROR_TRANSITIONING_CODE   439
 
#define TURN_ERROR_TRANSITIONING_TEXT   "transitioning"
 
#define TURN_ERROR_WRONG_USERNAME_CODE   441
 
#define TURN_ERROR_WRONG_USERNAME_TEXT   "wrong username"
 
#define TURN_ERROR_TRANSPORT_PROTOCOL_CODE   442
 
#define TURN_ERROR_TRANSPORT_PROTOCOL_TEXT   "bad transport"
 
#define TURN_ERROR_INVALID_IP_CODE   443
 
#define TURN_ERROR_INVALID_IP_TEXT   "invalid ip"
 
#define TURN_ERROR_INVALID_PORT_CODE   444
 
#define TURN_ERROR_INVALID_PORT_TEXT   "invalid port"
 
#define TURN_ERROR_TCP_ONLY_CODE   445
 
#define TURN_ERROR_TCP_ONLY_TEXT   "tcp only"
 
#define TURN_ERROR_CONNECTION_FAILED_CODE   446
 
#define TURN_ERROR_CONNECTION_FAILED_TEXT   "connection failed"
 
#define TURN_ERROR_CONNECTION_TIMEOUT_CODE   447
 
#define TURN_ERROR_CONNECTION_TIMEOUT_TEXT   "connection timeout"
 

Typedefs

typedef enum TURN_TRANSPORT_TYPE TURN_TRANSPORT_TYPE
 

Enumerations

enum  TURN_TRANSPORT_TYPE { TURN_TRANSPORT_UDP, TURN_TRANSPORT_TCP }
 

Macro Definition Documentation

#define MSG_TURN_ALLOCATE_REQUEST   0x0003

TURN Message IDs

#define MSG_TURN_ALLOCATE_RESPONSE   0x0103
#define MSG_TURN_ALLOCATE_ERROR_RESPONSE   0x0113
#define MSG_TURN_SEND_REQUEST   0x0004
#define MSG_TURN_SEND_RESPONSE   0x0104
#define MSG_TURN_SEND_ERROR_RESPONSE   0x0114
#define MSG_TURN_DATA_INDICATION   0x0115
#define MSG_TURN_ACTIVE_DESTINATION_REQUEST   0x0006
#define MSG_TURN_ACTIVE_DESTINATION_RESPONSE   0x0106
#define MSG_TURN_ACTIVE_DESTINATION_ERROR_RESPONSE   0x0116
#define MSG_TURN_CONNECTION_STATUS_INDICATION   0x0117
#define MSG_TURN_CLOSE_BINDING_REQUEST   0x0009
#define MSG_TURN_CLOSE_BINDING_RESPONSE   0x0109
#define MSG_TURN_CLOSE_BINDING_ERROR_RESPONSE   0x0119
#define ATTR_TURN_LIFETIME   0x000D

TURN attribute IDs

#define ATTR_TURN_MAGIC_COOKIE   0x000F
#define ATTR_TURN_BANDWIDTH   0x0010
#define ATTR_TURN_DESTINATION_ADDRESS   0x0011
#define ATTR_TURN_REMOTE_ADDRESS   0x0012
#define ATTR_TURN_DATA   0x0013
#define ATTR_TURN_RELAY_ADDRESS   0x0016
#define ATTR_TURN_REQUESTED_PORT   0x0018
#define ATTR_TURN_REQUESTED_TRANSPORT   0x0019
#define ATTR_TURN_REQUESTED_IP   0x0022
#define ATTR_MAGIC_COOKIE   0x72c64bc6
#define TURN_ERROR_NO_BINDING_CODE   437
#define TURN_ERROR_NO_BINDING_TEXT   "no binding"
#define TURN_ERROR_TRANSITIONING_CODE   439
#define TURN_ERROR_TRANSITIONING_TEXT   "transitioning"
#define TURN_ERROR_WRONG_USERNAME_CODE   441
#define TURN_ERROR_WRONG_USERNAME_TEXT   "wrong username"
#define TURN_ERROR_TRANSPORT_PROTOCOL_CODE   442
#define TURN_ERROR_TRANSPORT_PROTOCOL_TEXT   "bad transport"
#define TURN_ERROR_INVALID_IP_CODE   443
#define TURN_ERROR_INVALID_IP_TEXT   "invalid ip"
#define TURN_ERROR_INVALID_PORT_CODE   444
#define TURN_ERROR_INVALID_PORT_TEXT   "invalid port"
#define TURN_ERROR_TCP_ONLY_CODE   445
#define TURN_ERROR_TCP_ONLY_TEXT   "tcp only"
#define TURN_ERROR_CONNECTION_FAILED_CODE   446
#define TURN_ERROR_CONNECTION_FAILED_TEXT   "connection failed"
#define TURN_ERROR_CONNECTION_TIMEOUT_CODE   447
#define TURN_ERROR_CONNECTION_TIMEOUT_TEXT   "connection timeout"

Typedef Documentation

Enumeration Type Documentation

Enumerator
TURN_TRANSPORT_UDP 
TURN_TRANSPORT_TCP