sipxportlib  Version 3.3
Classes | Macros | Typedefs | Enumerations
IStunSocket.h File Reference
#include "os/OsDateTime.h"
#include "os/OsMsg.h"
#include "utl/UtlString.h"
Include dependency graph for IStunSocket.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IStunSocket
 

Macros

#define NAT_MSG_TYPE   (OsMsg::USER_START + 1)
 
#define ONDS_MARK_NONE   0x00000000
 
#define ONDS_MARK_FIRST_READ   0x00000001
 
#define ONDS_MARK_LAST_READ   0x00000002
 
#define ONDS_MARK_FIRST_WRITE   0x00000004
 
#define ONDS_MARK_LAST_WRITE   0x00000008
 
#define MAX_RTP_BYTES   4096
 

Typedefs

typedef int RtpTransportOptions
 
typedef int RtpTcpRoles
 

Enumerations

enum  PacketType {
  UNKNOWN_PACKET, MEDIA_PACKET, STUN_PROBE_PACKET, STUN_DISCOVERY_PACKET,
  TURN_PACKET, CRLF_KEEPALIVE_PACKET, STUN_KEEPALIVE_PACKET, OTHER_PACKET
}
 
enum  RTP_TRANSPORT {
  RTP_TRANSPORT_UNKNOWN = 0x00000000, RTP_TRANSPORT_UDP = 0x00000001, RTP_TRANSPORT_TCP = 0x00000002, RTP_TCP_ROLE_ACTIVE = 0x00000004,
  RTP_TCP_ROLE_PASSIVE = 0x00000008, RTP_TCP_ROLE_ACTPASS = 0x00000010, RTP_TCP_ROLE_CONNECTION = 0x00000020
}
 
enum  TURN_FRAMING_TYPE { STUN = 0x02, DATA = 0x03 }
 

Macro Definition Documentation

#define NAT_MSG_TYPE   (OsMsg::USER_START + 1)

Stun Msg type/Id

#define ONDS_MARK_NONE   0x00000000
#define ONDS_MARK_FIRST_READ   0x00000001
#define ONDS_MARK_LAST_READ   0x00000002
#define ONDS_MARK_FIRST_WRITE   0x00000004
#define ONDS_MARK_LAST_WRITE   0x00000008
#define MAX_RTP_BYTES   4096

Typedef Documentation

typedef int RtpTransportOptions
typedef int RtpTcpRoles

Enumeration Type Documentation

enum PacketType
Enumerator
UNKNOWN_PACKET 
MEDIA_PACKET 
STUN_PROBE_PACKET 
STUN_DISCOVERY_PACKET 
TURN_PACKET 
CRLF_KEEPALIVE_PACKET 
STUN_KEEPALIVE_PACKET 
OTHER_PACKET 

Possible roles that a Media connection can have.

Enumerator
RTP_TRANSPORT_UNKNOWN 
RTP_TRANSPORT_UDP 
RTP_TRANSPORT_TCP 
RTP_TCP_ROLE_ACTIVE 
RTP_TCP_ROLE_PASSIVE 
RTP_TCP_ROLE_ACTPASS 
RTP_TCP_ROLE_CONNECTION 
Enumerator
STUN 
DATA