Thu Jul 9 13:41:42 2009

Asterisk developer's documentation


sip_pkt Struct Reference

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


Data Fields

char data [0]
char is_fatal
char is_resp
int method
sip_pktnext
sip_pvtowner
int packetlen
int response_code
int retrans
int retransid
int seqno
int timer_a
int timer_t1


Detailed Description

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.

Definition at line 1383 of file chan_sip.c.


Field Documentation

char data[0]

Definition at line 1396 of file chan_sip.c.

Referenced by __sip_pretend_ack(), __sip_semi_ack(), and retrans_pkt().

char is_fatal

non-zero if there is a fatal error

Definition at line 1389 of file chan_sip.c.

Referenced by 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 1388 of file chan_sip.c.

Referenced by __sip_ack(), __sip_pretend_ack(), __sip_semi_ack(), and retrans_pkt().

int method

SIP method for this packet

Definition at line 1386 of file chan_sip.c.

Referenced by __sip_ack(), __sip_pretend_ack(), and retrans_pkt().

struct sip_pkt* next

Next packet in linked list

Definition at line 1384 of file chan_sip.c.

Referenced by __sip_ack(), __sip_reliable_xmit(), __sip_semi_ack(), handle_request_cancel(), and retrans_pkt().

struct sip_pvt* owner

Owner AST call

Definition at line 1391 of file chan_sip.c.

Referenced by __sip_ack(), __sip_destroy(), and retrans_pkt().

int packetlen

Length of packet

Definition at line 1395 of file chan_sip.c.

Referenced by retrans_pkt().

int response_code

If this is a response, the response code

Definition at line 1390 of file chan_sip.c.

Referenced by __sip_reliable_xmit(), and handle_request_cancel().

int retrans

Retransmission number

Definition at line 1385 of file chan_sip.c.

Referenced by retrans_pkt().

int retransid

Retransmission ID

Definition at line 1392 of file chan_sip.c.

Referenced by __sip_ack(), __sip_destroy(), __sip_semi_ack(), handle_request_cancel(), and retrans_pkt().

int seqno

Sequence number

Definition at line 1387 of file chan_sip.c.

Referenced by __sip_ack(), __sip_pretend_ack(), __sip_semi_ack(), handle_request_cancel(), and retrans_pkt().

int timer_a

SIP timer A, retransmission timer

Definition at line 1393 of file chan_sip.c.

Referenced by retrans_pkt().

int timer_t1

SIP Timer T1, estimated RTT or 500 ms

Definition at line 1394 of file chan_sip.c.

Referenced by retrans_pkt().


The documentation for this struct was generated from the following file:
Generated on Thu Jul 9 13:41:42 2009 for Asterisk - the Open Source PBX by  doxygen 1.4.7