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

stun_mini.c File Reference


Detailed Description

Minimal stun server.

Author:
Pekka Pessi <Pekka.Pessi@nokia.com>

Tat Chan <Tat.Chan@nokia.com>

Kai Vehmanen <kai.vehmanen@nokia.com>

Date:
Created: Fri Oct 3 13:40:41 2003 ppessi

Definition in file stun_mini.c.

#include "config.h"
#include "stun_internal.h"
#include <assert.h>

Go to the source code of this file.

Classes

struct  stun_bound_s
struct  stun_mini_s

Typedefs

typedef struct stun_bound_s stun_bound_t

Functions

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_t * stun_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)


Generated by  Doxygen 1.6.0   Back to index