Tags for STUN. More...
#include <sofia-sip/su_tag.h>
#include <sofia-sip/su_tag_io.h>
Go to the source code of this file.
Defines | |
#define | STUNTAG_ANY() |
Filter tag matching any STUNTAG_*(). | |
#define | STUNTAG_DOMAIN(x) |
The domain to use in DNS-SRV based STUN server discovery. | |
#define | STUNTAG_SERVER(x) |
Fully qualified host name, or dotted IP address of the STUN server address. | |
#define | STUNTAG_REQUIRE_INTEGRITY(x) |
Whether to require support for shared-secret based packet authentication and integrity checks (see sect 9.2 of RFC3489). | |
#define | STUNTAG_INTEGRITY(x) |
XXX: should this tag be deprecated in favor of just supporting STUNTAG_REQURIE_INTEGRITY() instead...? | |
#define | STUNTAG_SOCKET(x) |
Bind socket for STUN. | |
#define | STUNTAG_REGISTER_EVENTS(x) |
Register socket events for eventloop owned by STUN. | |
#define | STUNTAG_ACTION(x) |
Command action for STUN request. | |
#define | STUNTAG_CHANGE_IP(x) |
Add CHANGE-REQUEST attribute with "change IP" flag to the request. | |
#define | STUNTAG_CHANGE_PORT(x) |
Add CHANGE-REQUEST attribute with "change port" flag to the request. | |
#define | STUNTAG_TIMEOUT(x) |
Timeout controls the launching of the STUN keepalive timer. |
Tags for STUN.
#define STUNTAG_ACTION | ( | x | ) |
Command action for STUN request.
Corresponding tag taking reference parameter is STUNTAG_ACTION_REF()
#define STUNTAG_CHANGE_IP | ( | x | ) |
Add CHANGE-REQUEST attribute with "change IP" flag to the request.
Corresponding tag taking reference parameter is STUNTAG_CHANGE_IP_REF()
#define STUNTAG_CHANGE_PORT | ( | x | ) |
Add CHANGE-REQUEST attribute with "change port" flag to the request.
Corresponding tag taking reference parameter is STUNTAG_CHANGE_PORT_REF()
#define STUNTAG_DOMAIN | ( | x | ) |
The domain to use in DNS-SRV based STUN server discovery.
Note: this is commonly the domain part of a public SIP address (AOR). See sect 9.1 of RFC3489.
#define STUNTAG_REGISTER_EVENTS | ( | x | ) |
Register socket events for eventloop owned by STUN.
Corresponding tag taking reference parameter is STUNTAG_REGISTER_EVENTS_REF()
#define STUNTAG_REQUIRE_INTEGRITY | ( | x | ) |
Whether to require support for shared-secret based packet authentication and integrity checks (see sect 9.2 of RFC3489).
If false, integrity checks are performed only when server supports it.
!=0
enable 0
disableCorresponding tag taking reference parameter is STUNTAG_INTEGRITY_REF()
#define STUNTAG_SERVER | ( | x | ) |
Fully qualified host name, or dotted IP address of the STUN server address.
If defined, the DNS-SRV based discovery (
Corresponding tag taking reference parameter is STUNTAG_SERVER_REF()
#define STUNTAG_SOCKET | ( | x | ) |
Bind socket for STUN.
Corresponding tag taking reference parameter is STUNTAG_SOCKET_REF()
#define STUNTAG_TIMEOUT | ( | x | ) |
Timeout controls the launching of the STUN keepalive timer.
Corresponding tag taking reference parameter is STUNTAG_TIMEOUT_REF()