Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
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_instancetcptls_session
 
pthread_t threadid
 
enum ast_transport type
 

Detailed Description

Definition of a thread that handles a socket.

Definition at line 1441 of file sip.h.

Field Documentation

◆ alert_pipe

int alert_pipe[2]

◆ first

struct tcptls_packet* first

Definition at line 1448 of file sip.h.

◆ last

struct tcptls_packet* last

Definition at line 1448 of file sip.h.

◆ packet_q

struct { ... } packet_q

◆ stop

int stop

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

Definition at line 1443 of file sip.h.

Referenced by unload_module().

◆ tcptls_session

struct ast_tcptls_session_instance* tcptls_session

◆ threadid

pthread_t threadid

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

Definition at line 1445 of file sip.h.

Referenced by _sip_tcp_helper_thread(), and unload_module().

◆ type

enum ast_transport type

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

Definition at line 1447 of file sip.h.

Referenced by Property::load(), sip_show_tcp(), and sip_threadinfo_create().


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