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.h

    r1388 r1602  
    134134 
    135135/** 
     136 * Get the socket address family of a given transport type. 
     137 * 
     138 * @param type      Transport type. 
     139 * 
     140 * @return          Transport type. 
     141 */ 
     142PJ_DECL(int) pjsip_transport_type_get_af(pjsip_transport_type_e type); 
     143 
     144/** 
    136145 * Get transport flag from type. 
    137146 * 
     
    162171 */ 
    163172PJ_DECL(const char*) pjsip_transport_get_type_name(pjsip_transport_type_e t); 
     173 
     174/** 
     175 * Get longer description for the specified transport type. 
     176 * 
     177 * @param t         Transport type. 
     178 * 
     179 * @return          Transport description. 
     180 */ 
     181PJ_DECL(const char*) pjsip_transport_get_type_desc(pjsip_transport_type_e t); 
    164182 
    165183 
     
    308326 
    309327        /** The IP source address string (NULL terminated). */ 
    310         char                     src_name[16]; 
     328        char                     src_name[PJ_INET6_ADDRSTRLEN]; 
    311329 
    312330        /** The IP source port number. */ 
     
    507525        pj_sockaddr          dst_addr;      /**< Destination address.   */ 
    508526        int                  dst_addr_len;  /**< Length of address.     */ 
    509         char                 dst_name[16]; /**< Destination address.   */ 
     527        char                 dst_name[PJ_INET6_ADDRSTRLEN]; /**< Destination address.   */ 
    510528        int                  dst_port;      /**< Destination port.      */ 
    511529    } tp_info; 
Note: See TracChangeset for help on using the changeset viewer.