#include <isc/eventlib.h>
Go to the source code of this file.
Functions | |
status_t | init_server (evContext ctx) |
void | close_connections (void) |
void | reconfigure_peers (void) |
void | mspic_offline (char *intername_name) |
These functions and types will manage the connections.
Definition in file ped_conn.h.
void close_connections | ( | void | ) |
Close existing connections and shutdown server
Definition at line 437 of file ped_conn.c.
References cpd_pic_name, cpd_session, mgmt_server, PED_PORT_NUM, pfd_pic_name, and pfd_session.
status_t init_server | ( | evContext | ctx | ) |
Initialize the server socket connection
[in] | ctx | event context |
Definition at line 400 of file ped_conn.c.
References cpd_session, mgmt_server, PED_PORT_NUM, PED_SERVER_MAX_CONN, pfd_session, receive_connection(), and receive_message().
Referenced by ped_init().
void mspic_offline | ( | char * | intername_name | ) |
Called when the KCOM module detects that an ms-* pic has gone offline
[in] | intername_name | Name of the IFD going down |
Definition at line 494 of file ped_conn.c.
References cpd_pic_name, cpd_session, pfd_pic_name, and pfd_session.
Referenced by ifd_async_handler().
void reconfigure_peers | ( | void | ) |
Reconfigure CPD and PFD peers with new addresses in case of a change to any of the two addresses.
Definition at line 469 of file ped_conn.c.
References cpd_session, pfd_session, and send_addresses().
Referenced by ped_config_read().