monitube-data_packet.h

Go to the documentation of this file.
00001 /*
00002  * $Id: monitube-data_packet.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 __MONITUBE_DATA_PACKET_H__
00022 #define __MONITUBE_DATA_PACKET_H__
00023 
00024 /*** Constants ***/
00025 
00026 
00027 /*** Data structures ***/
00028 
00029 
00030 /*** GLOBAL/EXTERNAL Functions ***/
00031 
00032 
00042 status_t
00043 init_packet_loops(evContext ctx);
00044 
00051 void
00052 init_forwarding_database(evContext ctx);
00053 
00054 
00061 void
00062 stop_packet_loops(evContext ctx);
00063 
00064 
00068 void
00069 destroy_packet_loops_oc(void);
00070 
00071 
00075 void
00076 clean_flows_with_any_monitor(void);
00077 
00078 
00082 void
00083 clean_flows_with_any_mirror(void);
00084 
00085 
00092 void
00093 clean_flows_with_mirror(in_addr_t addr);
00094 
00095 
00105 void
00106 redirect_flows_with_mirror(in_addr_t addr, in_addr_t to);
00107 
00108 
00115 void
00116 clean_flows_with_monitor(char * name);
00117 
00118 
00131 void
00132 clean_flows_in_monitored_prefix(char * name, in_addr_t prefix, in_addr_t mask);
00133 
00134 
00149 status_t
00150 get_next_flow_state(replication_data_t * last, replication_data_t * next);
00151 
00152 
00166 status_t
00167 add_flow_state(replication_data_t * new_data);
00168 
00169 
00178 void
00179 remove_flow_state(delete_replication_data_t * data);
00180 
00181 
00182 #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:02 2010 for SDK Your Net Corporation Monitube IPTV Monitoring Example: monitube-data 1.0 by Doxygen 1.5.1