ped_service_route.h

Go to the documentation of this file.
00001 /*
00002  * $Id: ped_service_route.h 346460 2009-11-14 05:06:47Z ssiano $
00003  *
00004  * This code is provided as is by Juniper Networks SDK Developer Support.
00005  * It is provided with no warranties or guarantees, and Juniper Networks
00006  * will not provide support or maintenance of this code in any fashion.
00007  * The code is provided only to help a developer better understand how
00008  * the SDK can be used.
00009  *
00010  * Copyright (c) 2007-2008, Juniper Networks, Inc.
00011  * All rights reserved.
00012  */
00013 
00022 #ifndef __PED_SERVICE_ROUTE_H__
00023 #define __PED_SERVICE_ROUTE_H__
00024 
00025 #include <sync/common.h>
00026 
00027 /*** Constants ***/
00028 
00029 
00030 /*** Data structures ***/
00031 
00032 
00033 /*** GLOBAL/EXTERNAL Functions ***/
00034 
00035 
00042 void service_route_init(evContext ctx);
00043 
00044 
00048 void service_route_shutdown(void);
00049 
00050 
00056 void pfd_ri_created(void);
00057 
00058 
00065 boolean get_serviceroute_ready(void);
00066 
00067 
00075 void add_pfd_service_route(char * interface_name);
00076 
00077 
00085 void delete_pfd_service_route(char * interface_name);
00086 
00087 
00099 void add_service_route(char * interface_name, in_addr_t address);
00100 
00101 
00112 void delete_service_route(char * interface_name, in_addr_t address);
00113 
00114 
00118 void clean_service_routes(void);
00119 
00120 #endif

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