Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

stun_internal.h File Reference


Detailed Description

Defined when <stun_internal.h> has been included. STUN client interface

Author:
Martti Mela <martti.mela@nokia.com>

Tat Chan <Tat.Chan@nokia.com>

Pekka Pessi <Pekka.Pessi@nokia.com>

Kai Vehmanen <kai.vehmanen@nokia.com>

Definition in file stun_internal.h.

#include <sofia-sip/su_wait.h>
#include <sofia-sip/su_tag.h>
#include "sofia-sip/stun_common.h"
#include <sofia-sip/su_debug.h>
#include "sofia-sip/stun.h"

Go to the source code of this file.

Defines

#define enter   (void)SU_DEBUG_9(("%s: entering.\n", __func__))
#define STUN_ERROR(err, what)
#define STUN_LIFETIME_CI   50
#define STUN_LIFETIME_EST   3500
#define STUN_LIFETIME_MAX   18000
#define SU_DEBUG   0
#define SU_LOG   (stun_log)

Functions

int stun_add_response_address (stun_msg_t *req, struct sockaddr_in *mapped_addr)
int stun_atoaddr (su_home_t *home, int ai_family, su_addrinfo_t *info, char const *in)
int stun_is_requested (tag_type_t tag, tag_value_t value,...)
int stun_make_binding_req (stun_handle_t *se, stun_request_t *req, stun_msg_t *msg, tag_type_t, tag_value_t,...)
int stun_make_sharedsecret_req (stun_msg_t *msg)
int stun_process_binding_response (stun_msg_t *msg)
int stun_process_error_response (stun_msg_t *msg)
int stun_process_response (stun_msg_t *msg)
int stun_send_message (su_socket_t s, su_sockaddr_t *srvr, stun_msg_t *msg, stun_buffer_t *pwd)

Variables

SOFIA_BEGIN_DECLS char const STUN_DEBUG []


Generated by  Doxygen 1.6.0   Back to index