BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

sip_transport_udp.h File Reference

SIP UDP Transport. More...

#include <pjsip/sip_transport.h>
#include <pj/sock_qos.h>

Data Structures

struct  pjsip_udp_transport_cfg
 

Enumerations

enum  { PJSIP_UDP_TRANSPORT_KEEP_SOCKET = 1 , PJSIP_UDP_TRANSPORT_DESTROY_SOCKET = 2 }
 

Functions

void pjsip_udp_transport_cfg_default (pjsip_udp_transport_cfg *cfg, int af)
 
pj_status_t pjsip_udp_transport_start2 (pjsip_endpoint *endpt, const pjsip_udp_transport_cfg *cfg, pjsip_transport **p_transport)
 
pj_status_t pjsip_udp_transport_start (pjsip_endpoint *endpt, const pj_sockaddr_in *local, const pjsip_host_port *a_name, unsigned async_cnt, pjsip_transport **p_transport)
 
pj_status_t pjsip_udp_transport_start6 (pjsip_endpoint *endpt, const pj_sockaddr_in6 *local, const pjsip_host_port *a_name, unsigned async_cnt, pjsip_transport **p_transport)
 
pj_status_t pjsip_udp_transport_attach (pjsip_endpoint *endpt, pj_sock_t sock, const pjsip_host_port *a_name, unsigned async_cnt, pjsip_transport **p_transport)
 
pj_status_t pjsip_udp_transport_attach2 (pjsip_endpoint *endpt, pjsip_transport_type_e type, pj_sock_t sock, const pjsip_host_port *a_name, unsigned async_cnt, pjsip_transport **p_transport)
 
pj_sock_t pjsip_udp_transport_get_socket (pjsip_transport *transport)
 
pj_status_t pjsip_udp_transport_pause (pjsip_transport *transport, unsigned option)
 
pj_status_t pjsip_udp_transport_restart (pjsip_transport *transport, unsigned option, pj_sock_t sock, const pj_sockaddr_in *local, const pjsip_host_port *a_name)
 
pj_status_t pjsip_udp_transport_restart2 (pjsip_transport *transport, unsigned option, pj_sock_t sock, const pj_sockaddr *local, const pjsip_host_port *a_name)
 

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.