Sat Aug 6 00:40:09 2011

Asterisk developer's documentation


sip_pkt Struct Reference

sip packet - raw format for outbound packets that are sent or scheduled for transmission More...


Data Fields

char data [0]
unsigned int flags
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

Definition at line 1095 of file chan_sip.c.


Field Documentation

char data[0]

Definition at line 1107 of file chan_sip.c.

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

unsigned int flags

non-zero if this is a response packet (e.g. 200 OK)

Definition at line 1101 of file chan_sip.c.

int method

SIP method for this packet

Definition at line 1098 of file chan_sip.c.

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

struct sip_pkt* next

Next packet in linked list

Definition at line 1096 of file chan_sip.c.

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

struct sip_pvt* owner

Owner AST call

Definition at line 1102 of file chan_sip.c.

Referenced by __sip_reliable_xmit(), and retrans_pkt().

int packetlen

Length of packet

Definition at line 1106 of file chan_sip.c.

Referenced by retrans_pkt().

int response_code

If this is a response, the response code

Definition at line 1100 of file chan_sip.c.

Referenced by handle_request_cancel().

int retrans

Retransmission number

Definition at line 1097 of file chan_sip.c.

Referenced by retrans_pkt().

int retransid

Retransmission ID

Definition at line 1103 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 1099 of file chan_sip.c.

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

int timer_a

SIP timer A, retransmission timer

Definition at line 1104 of file chan_sip.c.

Referenced by retrans_pkt().

int timer_t1

SIP Timer T1, estimated RTT or 500 ms

Definition at line 1105 of file chan_sip.c.

Referenced by retrans_pkt().


The documentation for this struct was generated from the following file:
Generated on Sat Aug 6 00:40:09 2011 for Asterisk - the Open Source PBX by  doxygen 1.4.7