Ignore:
Timestamp:
Dec 1, 2007 8:59:25 AM (16 years ago)
Author:
bennylp
Message:

Ticket #421: initial IPv6 support: UDP transport

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_transport_udp.h

    r1382 r1602  
    8383 
    8484/** 
    85  * Attach UDP socket as a new transport and start the transport. 
     85 * Start IPv6 UDP transport. 
     86 */ 
     87PJ_DECL(pj_status_t) pjsip_udp_transport_start6(pjsip_endpoint *endpt, 
     88                                                const pj_sockaddr_in6 *local, 
     89                                                const pjsip_host_port *a_name, 
     90                                                unsigned async_cnt, 
     91                                                pjsip_transport **p_transport); 
     92 
     93 
     94/** 
     95 * Attach IPv4 UDP socket as a new transport and start the transport. 
    8696 * 
    8797 * @param endpt         The SIP endpoint. 
     
    102112                                                pjsip_transport **p_transport); 
    103113 
     114 
     115/** 
     116 * Attach IPv4 or IPv6 UDP socket as a new transport and start the transport. 
     117 * 
     118 * @param endpt         The SIP endpoint. 
     119 * @param type          Transport type, which is PJSIP_TRANSPORT_UDP for IPv4 
     120 *                      or PJSIP_TRANSPORT_UDP6 for IPv6 socket. 
     121 * @param sock          UDP socket to use. 
     122 * @param a_name        Published address (only the host and port portion is  
     123 *                      used). 
     124 * @param async_cnt     Number of simultaneous async operations. 
     125 * @param p_transport   Pointer to receive the transport. 
     126 * 
     127 * @return              PJ_SUCCESS when the transport has been successfully 
     128 *                      started and registered to transport manager, or 
     129 *                      the appropriate error code. 
     130 */ 
     131PJ_DECL(pj_status_t) pjsip_udp_transport_attach2(pjsip_endpoint *endpt, 
     132                                                 pjsip_transport_type_e type, 
     133                                                 pj_sock_t sock, 
     134                                                 const pjsip_host_port *a_name, 
     135                                                 unsigned async_cnt, 
     136                                                 pjsip_transport **p_transport); 
    104137 
    105138/** 
Note: See TracChangeset for help on using the changeset viewer.