dpm-ctrl_dfw.h

Go to the documentation of this file.
00001 /*
00002  * $Id: dpm-ctrl_dfw.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) 2008, Juniper Networks, Inc.
00011  * All rights reserved.
00012  */
00013 
00021 #ifndef __DPM_CTRL_DFW_H__
00022 #define __DPM_CTRL_DFW_H__
00023 
00024 #include <sync/dpm_ipc.h>
00025 
00026 /*** Constants ***/
00027 
00028 
00029 /*** Data structures ***/
00030 
00031 
00032 
00033 /*** GLOBAL/EXTERNAL Functions ***/
00034 
00035 
00045 status_t
00046 init_dfw(evContext ctx);
00047 
00048 
00052 void
00053 shutdown_dfw(void);
00054 
00055 
00061 boolean
00062 dfw_ready(void);
00063 
00064 
00071 void
00072 reset_all_filters(boolean new_filter_mode);
00073 
00074 
00081 void
00082 create_policer(policer_info_t * policer);
00083 
00084 
00098 void
00099 apply_default_int_policy(const char * int_name,
00100                          const char * ingress_pol,
00101                          const char * egress_pol);
00102 
00103 
00122 int
00123 apply_subscriber_policer(const char * int_name,
00124                          const char * sub_name,
00125                          in_addr_t address,
00126                          const char * pol_name);
00127 
00128 
00142 int
00143 revoke_subscriber_policer(const char * int_name,
00144                           const char * sub_name);
00145 
00146 
00147 #endif
00148 

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:26:54 2010 for SDK Your Net Corporation Dynamic Policy Manager Example: dpm-ctrl 1.0 by Doxygen 1.5.1