|
sipxportlib
Version 3.3
|


Go to the source code of this file.
Classes | |
| struct | STUN_MAGIC_ID |
| struct | STUN_TRANSACTION_ID |
| struct | STUN_MESSAGE_HEADER |
| struct | STUN_ATTRIBUTE_HEADER |
| struct | STUN_ATTRIBUTE_ADDRESS |
| struct | STUN_ATTRIBUTE_ERROR |
| struct | STUN_ATTRIBUTE_UNKNOWN |
| class | StunMessage |
| #define STUN_MAX_STRING_LENGTH 128 |
| #define STUN_MAX_UNKNOWN_ATTRIBUTES 16 |
| #define STUN_MAX_MESSAGE_INTEGRITY_LENGTH 20 |
| #define STUN_MIN_CHAR_PAD 4 |
| #define STUN_MAGIC_COOKIE 0x2112A442 |
| #define MSG_STUN_BIND_REQUEST 0x0001 |
STUN Message IDs
| #define MSG_STUN_BIND_RESPONSE 0x0101 |
| #define MSG_STUN_BIND_ERROR_RESPONSE 0x0111 |
| #define MSG_STUN_SHARED_SECRET_REQUEST 0x0002 |
| #define MSG_STUN_SHARED_SECRET_RESPONSE 0x0102 |
| #define MSG_STUN_SHARED_SECRET_ERROR_RESPONSE 0x0112 |
| #define ATTR_STUN_MAPPED_ADDRESS 0x0001 |
STUN attribute IDs
| #define ATTR_STUN_RESPONSE_ADDRESS 0x0002 |
| #define ATTR_STUN_CHANGE_REQUEST 0x0003 |
| #define ATTR_STUN_SOURCE_ADDRESS 0x0004 |
| #define ATTR_STUN_CHANGED_ADDRESS 0x0005 |
| #define ATTR_STUN_USERNAME 0x0006 |
| #define ATTR_STUN_PASSWORD 0x0007 |
| #define ATTR_STUN_MESSAGE_INTEGRITY 0x0008 |
| #define ATTR_STUN_ERROR_CODE 0x0009 |
| #define ATTR_STUN_UNKNOWN_ATTRIBUTE 0x000A |
| #define ATTR_STUN_REFLECTED_FROM 0x000B |
| #define ATTR_STUN_ALTERNATE_SERVER2 0x000E |
| #define ATTR_STUN_REALM 0x0014 |
| #define ATTR_STUN_NONCE 0x0015 |
| #define ATTR_STUN_XOR_MAPPED_ADDRESS 0x0020 |
| #define ATTR_STUN_XOR_ONLY 0x0021 |
| #define ATTR_STUN_FINGERPRINT 0x0023 |
| #define ATTR_STUN_XOR_MAPPED_ADDRESS2 0x8020 |
| #define ATTR_STUN_SERVER 0x8022 |
| #define ATTR_STUN_SERVER2 0x0022 |
| #define ATTR_STUN_ALTERNATE_SERVER 0x8023 |
| #define ATTR_STUN_BINDING_LIFETIME 0x8024 |
| #define ATTR_CHANGE_FLAG_PORT 0x0002 |
| #define ATTR_CHANGE_FLAG_IP 0x0004 |
| #define ATTR_ADDRESS_FAMILY_IPV4 0x01 |
| #define ATTR_ADDRESS_FAMILY_IPV6 0x02 |
| #define STUN_ERROR_TRY_ALTERNATE_CODE 300 |
| #define STUN_ERROR_TRY_ALTERNATE_TEXT "Try Alternative" |
| #define STUN_ERROR_BAD_REQUEST_CODE 400 |
| #define STUN_ERROR_BAD_REQUEST_TEXT "Bad request" |
| #define STUN_ERROR_UNAUTHORIZED_CODE 401 |
| #define STUN_ERROR_UNAUTHORIZED_TEXT "Unauthorized" |
| #define STUN_ERROR_UNKNOWN_ATTRIBUTE_CODE 420 |
| #define STUN_ERROR_UNKNOWN_ATTRIBUTE_TEXT "Unknown attribute" |
| #define STUN_ERROR_STALE_CREDENTIAL_CODE 430 |
| #define STUN_ERROR_STALE_CREDENTIAL_TEXT "Stale credential" |
| #define STUN_ERROR_BAD_INTEGRITY_CODE 431 |
| #define STUN_ERROR_BAD_INTEGRITY_TEXT "Bad integrity" |
| #define STUN_ERROR_MISSING_USERNAME_CODE 432 |
| #define STUN_ERROR_MISSING_USERNAME_TEXT "Missing username" |
| #define STUN_ERROR_USE_TLS_CODE 433 |
| #define STUN_ERROR_USE_TLS_TEXT "Use TLS" |
| #define STUN_ERROR_MISSING_REALM_CODE 434 |
| #define STUN_ERROR_MISSING_REALM_TEXT "Missing Realm" |
| #define STUN_ERROR_MISSING_NONCE_CODE 435 |
| #define STUN_ERROR_MISSING_NONCE_TEXT "Missing Nonce" |
| #define STUN_ERROR_UNKNOWN_USERNAME_CODE 436 |
| #define STUN_ERROR_UNKNOWN_USERNAME_TEXT "Unknown username" |
| #define STUN_ERROR_STALE_NONCE_CODE 438 |
| #define STUN_ERROR_STALE_NONCE_TEXT "Stale Nonce" |
| #define STUN_ERROR_SERVER_CODE 500 |
| #define STUN_ERROR_SERVER_TEXT "Server error" |
| #define STUN_ERROR_GLOBAL_CODE 600 |
| #define STUN_ERROR_GLOBAL_TEXT "Global error" |
1.8.11