
Data Structures | |
| struct | permissionlist |
Data Fields | |
| struct sockaddr_in | addr |
| int | avgms |
| int | dead |
| unsigned int | dynamic:1 |
| dundi_eid | eid |
| struct permissionlist | include |
| char | inkey [80] |
| time_t | keyexpire |
| int | lastms |
| struct { | |
| struct dundi_peer * next | |
| } | list |
| char * | lookups [DUNDI_TIMING_HISTORY] |
| int | lookuptimes [DUNDI_TIMING_HISTORY] |
| int | maxms |
| int | model |
| int | order |
| char | outkey [80] |
| int | pcmodel |
| struct dundi_peer::permissionlist | permit |
| int | qualifyid |
| struct dundi_transaction * | qualtrans |
| struct timeval | qualtx |
| int | registerexpire |
| int | registerid |
| struct dundi_transaction * | regtrans |
| unsigned char | rxenckey [256] |
| int | sentfullkey |
| ast_aes_decrypt_key | them_dcx |
| ast_aes_encrypt_key | them_ecx |
| uint32_t | them_keycrc32 |
| unsigned char | txenckey [256] |
| ast_aes_decrypt_key | us_dcx |
| ast_aes_encrypt_key | us_ecx |
| dundi_eid | us_eid |
| uint32_t | us_keycrc32 |
| struct sockaddr_in addr |
Address of DUNDi peer
Definition at line 296 of file pbx_dundi.c.
Referenced by apply_peer(), do_register_expire(), handle_command_response(), dundi_show_peer(), dundi_show_peers(), create_transaction(), append_transaction(), populate_addr(), and build_peer().
| int avgms |
Definition at line 319 of file pbx_dundi.c.
Referenced by dundi_flush(), dundi_show_peer(), dundi_show_peers(), and destroy_trans().
| int dead |
Definition at line 302 of file pbx_dundi.c.
Referenced by mark_peers(), prune_peers(), and build_peer().
| unsigned int dynamic |
Dynamic peers register with us
Definition at line 325 of file pbx_dundi.c.
Referenced by handle_command_response(), dundi_show_peer(), dundi_show_peers(), and build_peer().
Definition at line 295 of file pbx_dundi.c.
Referenced by find_peer(), apply_peer(), do_register_expire(), update_key(), check_key(), handle_command_response(), complete_peer_helper(), dundi_show_peer(), dundi_show_peers(), destroy_trans(), dundi_ie_append_eid_appropriately(), optimize_transactions(), append_transaction(), build_transactions(), do_register(), and build_peer().
| struct permissionlist include |
Definition at line 298 of file pbx_dundi.c.
Referenced by deep_copy_peer(), handle_command_response(), dundi_show_peer(), dundi_ie_append_eid_appropriately(), optimize_transactions(), build_transactions(), destroy_peer(), and build_peer().
| char inkey[80] |
Definition at line 300 of file pbx_dundi.c.
Referenced by apply_peer(), update_key(), check_key(), handle_command_response(), dundi_show_peer(), and build_peer().
| time_t keyexpire |
| int lastms |
Last measured latency
Definition at line 326 of file pbx_dundi.c.
Referenced by apply_peer(), do_register_expire(), dundi_show_peers(), destroy_trans(), append_transaction(), and qualify_peer().
| struct { ... } list |
| char* lookups[DUNDI_TIMING_HISTORY] |
Definition at line 318 of file pbx_dundi.c.
Referenced by dundi_flush(), dundi_show_peer(), and destroy_trans().
| int lookuptimes[DUNDI_TIMING_HISTORY] |
Definition at line 317 of file pbx_dundi.c.
Referenced by dundi_flush(), dundi_show_peer(), and destroy_trans().
| int maxms |
Max permissible latency
Definition at line 327 of file pbx_dundi.c.
Referenced by apply_peer(), dundi_show_peers(), destroy_trans(), append_transaction(), qualify_peer(), and build_peer().
| int model |
Pull model
Definition at line 322 of file pbx_dundi.c.
Referenced by handle_command_response(), dundi_show_peer(), dundi_show_peers(), build_transactions(), and build_peer().
| struct dundi_peer* next |
Definition at line 329 of file pbx_dundi.c.
| int order |
Definition at line 306 of file pbx_dundi.c.
Referenced by dundi_show_peer(), optimize_transactions(), build_transactions(), and build_peer().
| char outkey[80] |
Definition at line 301 of file pbx_dundi.c.
Referenced by update_key(), check_key(), dundi_show_peer(), and build_peer().
| int pcmodel |
Push/precache model
Definition at line 323 of file pbx_dundi.c.
Referenced by handle_command_response(), build_transactions(), and build_peer().
| struct dundi_peer::permissionlist permit |
Referenced by deep_copy_peer(), handle_command_response(), dundi_show_peer(), build_transactions(), destroy_peer(), and build_peer().
| int qualifyid |
Definition at line 304 of file pbx_dundi.c.
Referenced by destroy_peer(), do_qualify(), qualify_peer(), and build_peer().
| struct dundi_transaction* qualtrans |
Qualify transaction
Definition at line 321 of file pbx_dundi.c.
Referenced by destroy_trans(), and qualify_peer().
| struct timeval qualtx |
Time of transmit
Definition at line 328 of file pbx_dundi.c.
Referenced by destroy_trans(), and qualify_peer().
| int registerexpire |
Definition at line 316 of file pbx_dundi.c.
Referenced by do_register_expire(), handle_command_response(), populate_addr(), and build_peer().
| int registerid |
Definition at line 303 of file pbx_dundi.c.
Referenced by dundi_show_peer(), destroy_peer(), do_register(), and build_peer().
| struct dundi_transaction* regtrans |
Registration transaction
Definition at line 320 of file pbx_dundi.c.
Referenced by destroy_trans(), destroy_peer(), and do_register().
| unsigned char rxenckey[256] |
Cache received encrypted key + sig
Definition at line 308 of file pbx_dundi.c.
Referenced by check_key().
| int sentfullkey |
Definition at line 305 of file pbx_dundi.c.
Referenced by update_key(), dundi_encrypt(), handle_command_response(), and create_transaction().
Cached AES 128 Decryption context
Definition at line 314 of file pbx_dundi.c.
Referenced by check_key(), and handle_command_response().
Cached AES 128 Encryption context
Definition at line 313 of file pbx_dundi.c.
Referenced by check_key(), and handle_command_response().
| uint32_t them_keycrc32 |
| unsigned char txenckey[256] |
Transmitted encrypted key + sig
Definition at line 307 of file pbx_dundi.c.
Referenced by update_key(), dundi_encrypt(), and handle_command_response().
Cached AES 128 Decryption context
Definition at line 311 of file pbx_dundi.c.
Referenced by update_key(), and dundi_encrypt().
Cached AES 128 Encryption context
Definition at line 310 of file pbx_dundi.c.
Referenced by update_key(), and dundi_encrypt().
Definition at line 299 of file pbx_dundi.c.
Referenced by apply_peer(), handle_command_response(), build_transactions(), do_register(), and build_peer().
| uint32_t us_keycrc32 |
CRC-32 of our key
Definition at line 309 of file pbx_dundi.c.
Referenced by update_key(), and dundi_encrypt().