monitube2-mgmt_conn.h

Go to the documentation of this file.
00001 /*
00002  * $Id: monitube2-mgmt_conn.h 347265 2009-11-19 13:55:39Z kdickman $
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) 2009, Juniper Networks, Inc.
00011  * All rights reserved.
00012  */
00013 
00021 #ifndef __MONITUBE2_MGMT_CONN_H__
00022 #define __MONITUBE2_MGMT_CONN_H__
00023 
00024 /*** Constants ***/
00025 
00026 
00027 /*** Data structures ***/
00028 
00029 
00030 /*** GLOBAL/EXTERNAL Functions ***/
00031 
00032 
00042 status_t
00043 init_server(evContext ctx);
00044 
00045 
00049 void
00050 close_connections(void);
00051 
00052 
00059 void
00060 mspic_offline(const char * name);
00061 
00062 
00068 void
00069 notify_delete_all_policy(void);
00070 
00071 
00091 void
00092 notify_delete_serviceset(uint16_t ss_id,
00093                          uint32_t gen_num,
00094                          uint32_t svc_id,
00095                          uint16_t fpc_slot,
00096                          uint16_t pic_slot);
00097 
00098 
00120 void
00121 notify_apply_rule(char * rule_name,
00122                   uint16_t ss_id,
00123                   uint32_t gen_num,
00124                   uint32_t svc_id,
00125                   uint16_t fpc_slot,
00126                   uint16_t pic_slot);
00127 
00128 
00150 void
00151 notify_remove_rule(char * rule_name,
00152                    uint16_t ss_id,
00153                    uint32_t gen_num,
00154                    uint32_t svc_id,
00155                    uint16_t fpc_slot,
00156                    uint16_t pic_slot);
00157 
00158 
00177 void
00178 notify_config_rule(char * rule_name,
00179                    uint32_t rate,
00180                    in_addr_t redirect,
00181                    uint16_t fpc_slot,
00182                    uint16_t pic_slot);
00183 
00184 
00197 void
00198 notify_delete_rule(char * rule_name,
00199                    uint16_t fpc_slot,
00200                    uint16_t pic_slot);
00201 
00202 
00225 void
00226 notify_config_rule_prefix(char * rule_name,
00227                           in_addr_t addr,
00228                           in_addr_t mask,
00229                           bool delete,
00230                           uint16_t fpc_slot,
00231                           uint16_t pic_slot);
00232 
00233 
00238 void
00239 process_notifications(void);
00240 
00241 #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:04 2010 for SDK Your Net Corporation Monitube2 IPTV Monitoring Example: monitube2-mgmt 1.0 by Doxygen 1.5.1