ped_kcom.h File Reference

Routines related to KCOM. More...

Go to the source code of this file.

Functions

int ped_kcom_init (void)
void update_all_interfaces (void)
int get_interface_total (void)


Detailed Description

Routines related to KCOM.

Function to initialize KCOM and register a handler for iff changes.

Definition in file ped_kcom.h.


Function Documentation

int get_interface_total ( void   ) 

Get the number of all interfaces.

Definition at line 174 of file ped_kcom.c.

References if_total.

Referenced by handler_if_total().

int ped_kcom_init ( void   ) 

Init KCOM library and register handlers for asynchronous KCOM messages.

Returns:
KCOM_OK (0) on success, or -1 on error.

Definition at line 208 of file ped_kcom.c.

References ifd_async_handler(), iff_async_handler(), and ped_ctx.

Referenced by ped_init().

void update_all_interfaces ( void   ) 

Update policy information and apply it for all interfaces which match the configured conditions by calling update_interface for all IFFs

Definition at line 184 of file ped_kcom.c.

References if_count, if_total, and iff_manage_handler().

Referenced by psd_ipc_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