Logo Search packages:      
Sourcecode: sofia-sip version File versions

TPORT_DLL tport_t* tport_delivered_by ( tport_t const *  tp,
msg_t const *  msg 
)

Return source transport object for delivered message

Definition at line 2854 of file tport.c.

References tport_delivered_by().

Referenced by nta_incoming_create(), nta_msg_mreply(), and tport_delivered_by().

{
  if (tp && msg && msg == tp->tp_master->mr_delivery->d_msg)
    return tp->tp_master->mr_delivery->d_tport;
  else
    return NULL;
}


Generated by  Doxygen 1.6.0   Back to index