|
Asterisk - The Open Source Telephony Project
18.5.0
|
sip packet - raw format for outbound packets that are sent or scheduled for transmission Packets are linked in a list, whose head is in the struct sip_pvt they belong to. Each packet holds a reference to the parent struct sip_pvt. This structure is allocated in __sip_reliable_xmit() and only for packets that require retransmissions. More...
#include <sip.h>

Data Fields | |
| struct ast_str * | data |
| char | is_fatal |
| char | is_resp |
| int | method |
| struct sip_pkt * | next |
| struct sip_pvt * | owner |
| int | response_code |
| int | retrans |
| int | retrans_stop |
| int64_t | retrans_stop_time |
| int | retransid |
| uint32_t | seqno |
| struct timeval | time_sent |
| int | timer_a |
| int | timer_t1 |
sip packet - raw format for outbound packets that are sent or scheduled for transmission Packets are linked in a list, whose head is in the struct sip_pvt they belong to. Each packet holds a reference to the parent struct sip_pvt. This structure is allocated in __sip_reliable_xmit() and only for packets that require retransmissions.
| struct ast_str* data |
Definition at line 1246 of file sip.h.
Referenced by __sip_pretend_ack(), __sip_reliable_xmit(), __sip_semi_ack(), retrans_pkt(), sip_hangup(), and sip_pkt_dtor().
| char is_fatal |
non-zero if there is a fatal error
Definition at line 1237 of file sip.h.
Referenced by __sip_reliable_xmit(), and retrans_pkt().
| char is_resp |
1 if this is a response packet (e.g. 200 OK), 0 if it is a request
Definition at line 1236 of file sip.h.
Referenced by __sip_ack(), __sip_pretend_ack(), __sip_reliable_xmit(), __sip_semi_ack(), retrans_pkt(), and sip_hangup().
| int method |
SIP method for this packet
Definition at line 1234 of file sip.h.
Referenced by __sip_ack(), __sip_pretend_ack(), __sip_reliable_xmit(), retrans_pkt(), and sip_hangup().
| struct sip_pkt* next |
Next packet in linked list
Definition at line 1232 of file sip.h.
Referenced by __sip_ack(), __sip_reliable_xmit(), __sip_semi_ack(), do_dialog_unlink_sched_items(), handle_request_cancel(), retrans_pkt(), and sip_hangup().
| struct sip_pvt* owner |
Owner AST call
Definition at line 1239 of file sip.h.
Referenced by __sip_reliable_xmit(), retrans_pkt(), and sip_pkt_dtor().
| int response_code |
If this is a response, the response code
Definition at line 1238 of file sip.h.
Referenced by __sip_reliable_xmit(), handle_request_cancel(), and retrans_pkt().
| int retrans |
| int retrans_stop |
Timeout is reached, stop retransmission
Definition at line 1245 of file sip.h.
Referenced by __sip_reliable_xmit(), and retrans_pkt().
| int64_t retrans_stop_time |
Time in ms after 'now' that retransmission must stop
Definition at line 1244 of file sip.h.
Referenced by __sip_reliable_xmit(), and retrans_pkt().
| int retransid |
Retransmission ID
Definition at line 1240 of file sip.h.
Referenced by __sip_ack(), __sip_reliable_xmit(), __sip_semi_ack(), __stop_retrans_pkt(), do_dialog_unlink_sched_items(), and retrans_pkt().
| uint32_t seqno |
Sequence number
Definition at line 1235 of file sip.h.
Referenced by __sip_ack(), __sip_pretend_ack(), __sip_reliable_xmit(), __sip_semi_ack(), FaxPcap::add(), handle_request_cancel(), retrans_pkt(), and sip_hangup().
| struct timeval time_sent |
When pkt was sent
Definition at line 1243 of file sip.h.
Referenced by __sip_reliable_xmit(), and retrans_pkt().
| int timer_a |
SIP timer A, retransmission timer
Definition at line 1241 of file sip.h.
Referenced by retrans_pkt().
| int timer_t1 |
SIP Timer T1, estimated RTT or 500 ms
Definition at line 1242 of file sip.h.
Referenced by __sip_reliable_xmit(), and retrans_pkt().
1.8.13