52 PJSTUN_ATTR_MAPPED_ADDR = 1,
53 PJSTUN_ATTR_RESPONSE_ADDR,
54 PJSTUN_ATTR_CHANGE_REQUEST,
55 PJSTUN_ATTR_SOURCE_ADDR,
56 PJSTUN_ATTR_CHANGED_ADDR,
59 PJSTUN_ATTR_MESSAGE_INTEGRITY,
60 PJSTUN_ATTR_ERROR_CODE,
61 PJSTUN_ATTR_UNKNOWN_ATTRIBUTES,
62 PJSTUN_ATTR_REFLECTED_FROM,
63 PJSTUN_ATTR_XOR_MAPPED_ADDR = 0x0020
#define PJSTUN_MAX_ATTR
Definition: config.h:225
pj_status_t pjstun_get_mapped_addr2(pj_pool_factory *pf, const pjstun_setting *opt, int sock_cnt, pj_sock_t sock[], pj_sockaddr_in mapped_addr[])
pj_status_t pjstun_get_mapped_addr(pj_pool_factory *pf, int sock_cnt, pj_sock_t sock[], const pj_str_t *srv1, int port1, const pj_str_t *srv2, int port2, pj_sockaddr_in mapped_addr[])
unsigned short pj_uint16_t
Definition: stun_simple.h:82
Definition: stun_simple.h:106
Definition: stun_simple.h:120
Definition: stun_simple.h:92
Definition: stun_simple.h:71
Definition: stun_simple.h:129
Definition: stun_simple.h:206
pj_str_t srv1
Definition: stun_simple.h:221
int port1
Definition: stun_simple.h:226
int af
Definition: stun_simple.h:216
pj_bool_t use_stun2
Definition: stun_simple.h:211
pj_str_t srv2
Definition: stun_simple.h:231
int port2
Definition: stun_simple.h:236
Definition: stun_simple.h:112
pjstun_msg_type
Definition: stun_simple.h:37
@ PJSTUN_SHARED_SECRET_REQUEST
Definition: stun_simple.h:41
@ PJSTUN_BINDING_RESPONSE
Definition: stun_simple.h:39
@ PJSTUN_BINDING_ERROR_RESPONSE
Definition: stun_simple.h:40
@ PJSTUN_SHARED_SECRET_RESPONSE
Definition: stun_simple.h:42
@ PJSTUN_BINDING_REQUEST
Definition: stun_simple.h:38
@ PJSTUN_SHARED_SECRET_ERROR_RESPONSE
Definition: stun_simple.h:43
pjstun_attr_type
Definition: stun_simple.h:51