Sat Aug 6 00:40:08 2011

Asterisk developer's documentation


dundi_transaction Struct Reference


Data Fields

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

Data Structures

struct  packetlist

Detailed Description

Definition at line 170 of file pbx_dundi.c.


Field Documentation

struct sockaddr_in addr

Other end of transaction

Definition at line 171 of file pbx_dundi.c.

Referenced by apply_peer(), dundi_rexmit(), dundi_send(), dundi_show_trans(), dundi_xmit(), find_transaction(), and handle_command_response().

struct { ... } all

Next with respect to all DUNDi transactions

Referenced by create_transaction(), and dundi_show_trans().

unsigned char aseqno

Last acknowledge seqno

Definition at line 190 of file pbx_dundi.c.

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

int autokillid

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

Definition at line 183 of file pbx_dundi.c.

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

int autokilltimeout

Recommended timeout for autokill

Definition at line 184 of file pbx_dundi.c.

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

aes_decrypt_ctx dcx

AES 128 Decryption context

Definition at line 178 of file pbx_dundi.c.

Referenced by dundi_decrypt(), and dundi_encrypt().

unsigned short dtrans

Their transaction identifer

Definition at line 186 of file pbx_dundi.c.

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

aes_encrypt_ctx ecx

AES 128 Encryption context

Definition at line 177 of file pbx_dundi.c.

Referenced by dundi_encrypt().

int eidcount

Number of eids in eids

Definition at line 174 of file pbx_dundi.c.

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

dundi_eid eids[DUNDI_MAX_STACK+1]

Definition at line 173 of file pbx_dundi.c.

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

unsigned int flags

Has final packet been sent

Definition at line 179 of file pbx_dundi.c.

unsigned char iseqno

Next expected received seqno

Definition at line 187 of file pbx_dundi.c.

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

struct packetlist lasttrans

Last transmitted / ACK'd packet

Definition at line 192 of file pbx_dundi.c.

Referenced by ack_trans(), and handle_frame().

struct dundi_transaction* next

Definition at line 195 of file pbx_dundi.c.

struct dundi_transaction* next

Definition at line 194 of file pbx_dundi.c.

unsigned char oiseqno

Last received incoming seqno

Definition at line 188 of file pbx_dundi.c.

Referenced by handle_frame(), and reset_transaction().

unsigned char oseqno

Next transmitted seqno

Definition at line 189 of file pbx_dundi.c.

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

struct dundi_transaction::packetlist packets

Packets to be retransmitted

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

struct dundi_request* parent

Parent request (if there is one)

Definition at line 193 of file pbx_dundi.c.

Referenced by append_transaction(), cancel_request(), destroy_trans(), dundi_discover(), dundi_prop_precache(), dundi_query(), handle_command_response(), and precache_trans().

struct { ... } parentlist

Next with respect to the parent

Referenced by append_transaction(), cancel_request(), discover_transactions(), precache_transactions(), and query_transactions().

int retranstimer

How long to wait before retransmissions

Definition at line 182 of file pbx_dundi.c.

Referenced by apply_peer(), and dundi_send().

struct timeval start

When this transaction was created

Definition at line 172 of file pbx_dundi.c.

Referenced by destroy_trans().

unsigned short strans

Our transaction identifier

Definition at line 185 of file pbx_dundi.c.

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

dundi_eid them_eid

Their EID, to us

Definition at line 176 of file pbx_dundi.c.

Referenced by apply_peer(), destroy_trans(), do_autokill(), dundi_encrypt(), dundi_send(), handle_command_response(), optimize_transactions(), and precache_trans().

int thread

We have a calling thread

Definition at line 181 of file pbx_dundi.c.

Referenced by dundi_answer_entity(), dundi_answer_query(), dundi_lookup_thread(), dundi_precache_thread(), dundi_query_thread(), and precache_transactions().

int ttl

Remaining TTL for queries on this one

Definition at line 180 of file pbx_dundi.c.

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

dundi_eid us_eid

Our EID, to them

Definition at line 175 of file pbx_dundi.c.

Referenced by apply_peer(), do_register(), dundi_discover(), dundi_encrypt(), dundi_lookup_thread(), dundi_query(), dundi_query_thread(), handle_command_response(), optimize_transactions(), and precache_trans().


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