|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Detailed DescriptionIncoming message buffer. This structure keep all the information regarding the received message. This buffer lifetime is only very short, normally after the transaction has been called, this buffer will be deleted/recycled. So care must be taken when allocating storage from the pool of this buffer. Forward declaration for receive data/buffer (sip_transport.h). Field DocumentationMemory pool for this buffer. The transport object which received this packet.
Other transport specific data to be attached to this buffer. Ioqueue key.
tp_info is part of rdata that remains static for the duration of the buffer. It is initialized when the buffer was created by transport. Time when the message was received.
Pointer to the original packet. Zero termination for the packet. The length of the packet received. The source address from which the packet was received. The length of the source address.
The IP source address string (NULL terminated). The IP source port number.
pkt_info is initialized by transport when it receives an incoming packet.
Start of msg buffer. Length fo message. The parsed message, if any.
Short description about the message. Application should use pjsip_rx_data_get_info() instead. The Call-ID header as found in the message. The From header as found in the message. The To header as found in the message. The topmost Via header as found in the message. The CSeq header as found in the message. Max forwards header. The first route header. The first record-route header. Content-type header. Content-length header. "Require" header containing aggregates of all Require headers found in the message, or NULL. "Supported" header containing aggregates of all Supported headers found in the message, or NULL. The list of error generated by the parser when parsing this message.
msg_info is initialized by transport mgr (tpmgr) before this buffer is passed to endpoint.
Data attached by modules to this message.
endpt_info is initialized by endpoint after this buffer reaches endpoint. The documentation for this struct was generated from the following file:
Copyright (C) 2006-2008 Teluu Inc.
| |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||