sip_threadinfo Struct Reference

Definition of a thread that handles a socket. More...

#include <sip.h>

Collaboration diagram for sip_threadinfo:

Collaboration graph
[legend]

Data Fields

int alert_pipe [2]
struct {
   struct tcptls_packet *   first
   struct tcptls_packet *   last
packet_q
int stop
struct
ast_tcptls_session_instance
tcptls_session
pthread_t threadid
enum ast_transport type

Detailed Description

Definition of a thread that handles a socket.

Definition at line 1419 of file sip.h.


Field Documentation

int alert_pipe[2]

struct tcptls_packet* first [read]

Definition at line 1426 of file sip.h.

struct tcptls_packet* last [read]

Definition at line 1426 of file sip.h.

struct { ... } packet_q

int stop

TRUE if the thread needs to kill itself. (The module is being unloaded.)

Definition at line 1421 of file sip.h.

Referenced by unload_module().

pthread_t threadid

Used to alert tcptls thread when packet is ready to be written

Definition at line 1423 of file sip.h.

Referenced by _sip_tcp_helper_thread(), and unload_module().

We keep a copy of the type here so we can display it in the connection list

Definition at line 1425 of file sip.h.

Referenced by sip_show_tcp(), and sip_threadinfo_create().


The documentation for this struct was generated from the following file:

Generated on Thu Apr 16 06:37:30 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6