Structure of dropped received data.
The transport receiving the data.
The data length. If the status field below indicates an invalid SIP message (PJSIP_EINVALIDMSG) and application detects a SIP message at position p, it can pass the data back to PJSIP to be processed by setting the len to p. This can be useful for apps which wishes to use the same transport for SIP signalling and non-SIP purposes (such as SIP outbound using STUN message).
The status or reason of drop. For example, a leading newlines (common keep-alive packet) will be dropped with status PJ_EIGNORED, an invalid SIP message will have status PJSIP_EINVALIDMSG, a SIP message overflow will have status PJSIP_ERXOVERFLOW.
The documentation for this struct was generated from the following file: