ped_conn.h File Reference

Relating to managing the connections. More...

#include <isc/eventlib.h>

Go to the source code of this file.


status_t init_server (evContext ctx)
void close_connections (void)
void reconfigure_peers (void)
void mspic_offline (char *intername_name)

Detailed Description

Relating to managing the connections.

These functions and types will manage the connections.

Definition in file ped_conn.h.

Function Documentation

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
SUCCESS if successful; otherwise EFAIL with an error message.

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().

2007-2009 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are registered trademarks of Juniper Networks, Inc. in the United States and other countries. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Generated on Sun May 30 20:27:06 2010 for SDK Your Net Corporation Policy Manager Example: Policy Enforcement Daemon 1.0 by Doxygen 1.5.1