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

    r1140 r1141  
    110110     *                      or other error has occurred, and the response 
    111111     *                      argument may be NULL. 
     112     *                      Note that when the status is not success, the 
     113     *                      response may contain non-NULL value if the  
     114     *                      response contains STUN ERROR-CODE attribute. 
    112115     * @param request       The original STUN request. 
    113      * @param response      The response message, on successful transaction. 
     116     * @param response      The response message, on successful transaction, 
     117     *                      or otherwise MAY BE NULL if status is not success. 
     118     *                      Note that when the status is not success, this 
     119     *                      argument may contain non-NULL value if the  
     120     *                      response contains STUN ERROR-CODE attribute. 
     121     * @param src_addr      The source address where the response was  
     122     *                      received, or NULL if the response is NULL. 
     123     * @param src_addr_len  The length of the source  address. 
    114124     */ 
    115125    void (*on_request_complete)(pj_stun_session *sess, 
    116126                                pj_status_t status, 
    117127                                pj_stun_tx_data *tdata, 
    118                                 const pj_stun_msg *response); 
     128                                const pj_stun_msg *response, 
     129                                const pj_sockaddr_t *src_addr, 
     130                                unsigned src_addr_len); 
    119131 
    120132 
Note: See TracChangeset for help on using the changeset viewer.