Top |
#define | STUN_AGENT_MAX_SAVED_IDS |
#define | STUN_AGENT_MAX_UNKNOWN_ATTRIBUTES |
#define | STUN_ATTRIBUTE_HEADER_LENGTH |
#define | STUN_ATTRIBUTE_LENGTH_LEN |
#define | STUN_ATTRIBUTE_LENGTH_POS |
#define | STUN_ATTRIBUTE_TYPE_LEN |
#define | STUN_ATTRIBUTE_TYPE_POS |
#define | STUN_ATTRIBUTE_VALUE_POS |
#define | STUN_ID_LEN |
#define | STUN_MAGIC_COOKIE |
#define | STUN_MAX_MESSAGE_SIZE |
#define | STUN_MAX_MESSAGE_SIZE_IPV4 |
#define | STUN_MAX_MESSAGE_SIZE_IPV6 |
#define | STUN_MESSAGE_ATTRIBUTES_POS |
#define | STUN_MESSAGE_HEADER_LENGTH |
#define | STUN_MESSAGE_LENGTH_LEN |
#define | STUN_MESSAGE_LENGTH_POS |
#define | STUN_MESSAGE_TRANS_ID_LEN |
#define | STUN_MESSAGE_TRANS_ID_POS |
#define | STUN_MESSAGE_TYPE_LEN |
#define | STUN_MESSAGE_TYPE_POS |
#define | TURN_MAGIC_COOKIE |
Various constants defining parts of the STUN and TURN protocols and on-the-wire packet formats.
#define STUN_AGENT_MAX_SAVED_IDS 200
Maximum number of simultaneously ongoing STUN transactions.
#define STUN_AGENT_MAX_UNKNOWN_ATTRIBUTES 256
Maximum number of unknown attribute which can be handled in a single STUN message.
#define STUN_ATTRIBUTE_HEADER_LENGTH STUN_ATTRIBUTE_VALUE_POS
Length of a single STUN attribute header (in bytes).
#define STUN_ATTRIBUTE_LENGTH_LEN 2
Length of the length field of a STUN attribute (in bytes).
#define STUN_ATTRIBUTE_LENGTH_POS
Offset of the length field of a STUN attribute (in bytes).
#define STUN_ATTRIBUTE_TYPE_LEN 2
Length of the type field of a STUN attribute (in bytes).
#define STUN_ATTRIBUTE_TYPE_POS 0
Offset of the type field of a STUN attribute (in bytes).
#define STUN_ATTRIBUTE_VALUE_POS
Offset of the value field of a STUN attribute (in bytes).
#define STUN_MAGIC_COOKIE 0x2112A442
Magic cookie value used to identify STUN messages.
#define STUN_MAX_MESSAGE_SIZE_IPV4 576
Maximum size of a STUN message sent over IPv4 (in bytes).
#define STUN_MAX_MESSAGE_SIZE_IPV6 1280
Maximum size of a STUN message sent over IPv6 (in bytes).
#define STUN_MESSAGE_ATTRIBUTES_POS
Offset of the attributes of a STUN message (in bytes).
#define STUN_MESSAGE_HEADER_LENGTH STUN_MESSAGE_ATTRIBUTES_POS
Total length of a STUN message header (in bytes).
#define STUN_MESSAGE_LENGTH_LEN 2
Length of the length field of a STUN message (in bytes).
#define STUN_MESSAGE_LENGTH_POS
Offset of the length field of a STUN message (in bytes).
#define STUN_MESSAGE_TRANS_ID_LEN 16
Length of the transaction ID field of a STUN message (in bytes).
#define STUN_MESSAGE_TRANS_ID_POS
Offset of the transaction ID field of a STUN message (in bytes).
#define STUN_MESSAGE_TYPE_LEN 2
Length of the type field of a STUN message (in bytes).
#define STUN_MESSAGE_TYPE_POS 0
Offset of the type field of a STUN message (in bytes).