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

Defines | Functions

stun_internal.h File Reference

#include <sofia-sip/su_wait.h>
#include <sofia-sip/su_tag.h>
#include <sofia-sip/su_debug.h>
#include "sofia-sip/stun.h"
Include dependency graph for stun_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#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)


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)
void stun_free_message_data (stun_msg_t *msg)
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)

Detailed Description

STUN client interface

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.

Generated by  Doxygen 1.6.0   Back to index