Asterisk - The Open Source Telephony Project  18.5.0
Data Structures | Data Fields
dundi_transaction Struct Reference
Collaboration diagram for dundi_transaction:
Collaboration graph
[legend]

Data Structures

struct  packetlist
 

Data Fields

struct ast_sockaddr addr
 
struct {
   struct dundi_transaction *   next
 
all
 
unsigned char aseqno
 
int autokillid
 
int autokilltimeout
 
ast_aes_decrypt_key dcx
 
unsigned short dtrans
 
ast_aes_encrypt_key ecx
 
int eidcount
 
dundi_eid eids [DUNDI_MAX_STACK+1]
 
unsigned int flags
 
unsigned char iseqno
 
struct packetlist lasttrans
 
unsigned char oiseqno
 
unsigned char oseqno
 
struct dundi_transaction::packetlist packets
 
struct dundi_requestparent
 
struct {
   struct dundi_transaction *   next
 
parentlist
 
int retranstimer
 
struct timeval start
 
unsigned short strans
 
dundi_eid them_eid
 
int thread
 
int ttl
 
dundi_eid us_eid
 

Detailed Description

Definition at line 245 of file pbx_dundi.c.

Field Documentation

◆ addr

struct ast_sockaddr addr

◆ all

struct { ... } all

Next with respect to all DUNDi transactions

Referenced by create_transaction(), dundi_show_trans(), find_transaction(), and get_trans_id().

◆ aseqno

unsigned char aseqno

Last acknowledge seqno

Definition at line 265 of file pbx_dundi.c.

Referenced by dundi_send(), dundi_show_trans(), handle_command_response(), handle_frame(), and reset_transaction().

◆ autokillid

int autokillid

ID to kill connection if answer doesn't come back fast enough

Definition at line 258 of file pbx_dundi.c.

Referenced by ack_trans(), create_transaction(), destroy_trans(), do_autokill(), dundi_discover(), dundi_query(), and precache_trans().

◆ autokilltimeout

int autokilltimeout

Recommended timeout for autokill

Definition at line 259 of file pbx_dundi.c.

Referenced by apply_peer(), dundi_discover(), dundi_query(), and precache_trans().

◆ dcx

AES 128 Decryption context

Definition at line 253 of file pbx_dundi.c.

Referenced by dundi_decrypt(), dundi_encrypt(), and handle_command_response().

◆ dtrans

unsigned short dtrans

Their transaction identifer

Definition at line 261 of file pbx_dundi.c.

Referenced by dundi_send(), dundi_show_trans(), find_transaction(), and reset_transaction().

◆ ecx

AES 128 Encryption context

Definition at line 252 of file pbx_dundi.c.

Referenced by dundi_encrypt(), and handle_command_response().

◆ eidcount

int eidcount

Number of eids in eids

Definition at line 249 of file pbx_dundi.c.

Referenced by append_transaction(), dundi_discover(), dundi_query(), optimize_transactions(), and precache_trans().

◆ eids

◆ flags

unsigned int flags

Has final packet been sent

Definition at line 254 of file pbx_dundi.c.

Referenced by find_transaction().

◆ iseqno

unsigned char iseqno

Next expected received seqno

Definition at line 262 of file pbx_dundi.c.

Referenced by dundi_send(), dundi_show_trans(), handle_command_response(), handle_frame(), and reset_transaction().

◆ lasttrans

struct packetlist lasttrans

Last transmitted / ACK'd packet

Definition at line 267 of file pbx_dundi.c.

Referenced by ack_trans(), destroy_trans(), handle_command_response(), and handle_frame().

◆ next

struct dundi_transaction* next

Definition at line 269 of file pbx_dundi.c.

◆ oiseqno

unsigned char oiseqno

Last received incoming seqno

Definition at line 263 of file pbx_dundi.c.

Referenced by handle_frame(), and reset_transaction().

◆ oseqno

unsigned char oseqno

Next transmitted seqno

Definition at line 264 of file pbx_dundi.c.

Referenced by dundi_send(), dundi_show_trans(), handle_command_response(), and reset_transaction().

◆ packets

Packets to be retransmitted

Referenced by ack_trans(), destroy_packet(), destroy_trans(), and dundi_send().

◆ parent

struct dundi_request* parent

◆ parentlist

struct { ... } parentlist

◆ retranstimer

int retranstimer

How long to wait before retransmissions

Definition at line 257 of file pbx_dundi.c.

Referenced by apply_peer(), create_transaction(), and dundi_send().

◆ start

struct timeval start

When this transaction was created

Definition at line 247 of file pbx_dundi.c.

Referenced by create_transaction(), and destroy_trans().

◆ strans

unsigned short strans

Our transaction identifier

Definition at line 260 of file pbx_dundi.c.

Referenced by create_transaction(), dundi_send(), dundi_show_trans(), find_transaction(), get_trans_id(), and reset_transaction().

◆ them_eid

dundi_eid them_eid

◆ thread

int thread

◆ ttl

int ttl

Remaining TTL for queries on this one

Definition at line 255 of file pbx_dundi.c.

Referenced by append_transaction(), dundi_discover(), dundi_query(), and precache_trans().

◆ us_eid

dundi_eid us_eid

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