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

Classes | Typedefs | Functions

stun_mini.c File Reference

Minimal stun server. More...

#include "config.h"
#include "stun_internal.h"
#include <assert.h>
#include <string.h>
#include <stdlib.h>
Include dependency graph for stun_mini.c:

Go to the source code of this file.


struct  stun_bound_s
struct  stun_mini_s


typedef struct stun_bound_s stun_bound_t


static int process_3489_request (stun_mini_t *mini, stun_msg_t *request, stun_msg_t *response, su_socket_t socket, void *, socklen_t)
static int process_bis_request (stun_mini_t *mini, stun_msg_t *request, stun_msg_t *response, su_socket_t socket, void *, socklen_t)
int send_stun_error (stun_msg_t *response, int error, int socket, void *transaction_id, void *from, socklen_t fromlen)
int stun_mini_add_socket (stun_mini_t *mini, su_socket_t socket)
stun_mini_tstun_mini_create (void)
void stun_mini_destroy (stun_mini_t *mini)
int stun_mini_remove_socket (stun_mini_t *mini, su_socket_t socket)
void stun_mini_request (stun_mini_t *mini, su_socket_t socket, void *msg, ssize_t msglen, void *from, socklen_t fromlen)

Detailed Description

Minimal stun server.

Pekka Pessi <Pekka.Pessi@nokia.com>
Tat Chan <Tat.Chan@nokia.com>
Kai Vehmanen <kai.vehmanen@nokia.com>
Created: Fri Oct 3 13:40:41 2003 ppessi

Definition in file stun_mini.c.

Generated by  Doxygen 1.6.0   Back to index