monitube2-data_conn.h File Reference

Relating to managing the connections. More...

#include <sync/monitube2_ipc.h>

Go to the source code of this file.


void init_connections (void)
void close_connections (void)
void notify_stat_update (in_addr_t flow_addr, uint16_t flow_dport, double mdi_df, uint32_t mdi_mlr, uint16_t ssid)

Detailed Description

Relating to managing the connections.

These functions and types will manage the connections.

Definition in file monitube2-data_conn.h.

Function Documentation

void close_connections ( void   ) 

Terminate connection to the mgmt component

Definition at line 494 of file monitube2-data_conn.c.

References INSIST_ERR, and notification_msg_s::message.

void init_connections ( void   ) 

Initialize the connection to the mgmt component

Definition at line 473 of file monitube2-data_conn.c.

References CLOG, connect_mgmt(), ctx, and RETRY_CONNECT.

Referenced by retry_attach_fdb().

void notify_stat_update ( in_addr_t  flow_addr,
uint16_t  flow_dport,
double  mdi_df,
uint32_t  mdi_mlr,
uint16_t  ssid 

Notify the mgmt component about a statistic update

[in] flow_addr flow address (id)
[in] flow_dport flow dst port (in net. byte-order) (id)
[in] mdi_df the delay factor
[in] mdi_mlr the media loss rate
[in] ssid service set it

Definition at line 534 of file monitube2-data_conn.c.

References notification_msg_s::action, flow_stat_s::flow_addr, flow_stat_s::flow_port, INSIST_ERR, flow_stat_s::mdi_df, flow_stat_s::mdi_mlr, notification_msg_s::message, MSG_FLOW_STAT_UPDATE, process_notifications(), and flow_stat_s::ss_id.

Referenced by update_stats_for_flow().

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:09 2010 for SDK Your Net Corporation Monitube2 IPTV Monitoring Example: monitube2-plugin 1.0 by Doxygen 1.5.1