Ignore:
Timestamp:
Apr 3, 2007 7:15:10 PM (17 years ago)
Author:
bennylp
Message:

Added ICE-CONTROLLED and ICE-CONTROLLING attribute, handle ICE 487 error, and add response source address checking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/include/pjnath/stun_transaction.h

    r1140 r1141  
    7171     * @param response      The STUN response, which value may be NULL if 
    7272     *                      \a status is not PJ_SUCCESS. 
     73     * @param src_addr      The source address of the response, if response  
     74     *                      is not NULL. 
     75     * @param src_addr_len  The length of the source address. 
    7376     */ 
    7477    void        (*on_complete)(pj_stun_client_tsx *tsx, 
    7578                               pj_status_t status,  
    76                                const pj_stun_msg *response); 
     79                               const pj_stun_msg *response, 
     80                               const pj_sockaddr_t *src_addr, 
     81                               unsigned src_addr_len); 
    7782 
    7883    /** 
     
    229234 * @param tsx           The STUN client transaction instance. 
    230235 * @param msg           The incoming STUN message. 
     236 * @param src_addr      The source address of the packet. 
     237 * @param src_addr_len  The length of the source address. 
    231238 * 
    232239 * @return              PJ_SUCCESS on success or the appropriate error code. 
    233240 */ 
    234241PJ_DECL(pj_status_t) pj_stun_client_tsx_on_rx_msg(pj_stun_client_tsx *tsx, 
    235                                                   const pj_stun_msg *msg); 
     242                                                  const pj_stun_msg *msg, 
     243                                                  const pj_sockaddr_t*src_addr, 
     244                                                  unsigned src_addr_len); 
    236245 
    237246 
Note: See TracChangeset for help on using the changeset viewer.