monitube_ipc.h File Reference

Constants and types used for SYNC Monitube IPC. More...

Go to the source code of this file.

Data Structures

struct  del_mon_info_s
struct  update_mon_info_s
struct  del_mir_info_s
struct  update_mir_info_s
struct  maddr_info_s
struct  slave_info_s
struct  replication_info_s
struct  flow_stat_s

Defines

#define MONITUBE_PORT_NUM   7081

Typedefs

typedef del_mon_info_s del_mon_info_t
typedef update_mon_info_s update_mon_info_t
typedef del_mir_info_s del_mir_info_t
typedef update_mir_info_s update_mir_info_t
typedef maddr_info_s maddr_info_t
typedef slave_info_s slave_info_t
typedef replication_info_s replication_info_t
typedef flow_stat_s flow_stat_t

Enumerations

enum  msg_type_e {
  MSG_DELETE_ALL_MON = 1, MSG_DELETE_ALL_MIR, MSG_DELETE_MON, MSG_DELETE_MIR,
  MSG_DELETE_MON_ADDR, MSG_CONF_MON, MSG_CONF_MIR, MSG_CONF_MON_ADDR,
  MSG_CONF_MASTER, MSG_CONF_SLAVE, MSG_REP_INFO
}
enum  update_type_e { MSG_FLOW_STAT_UPDATE = 1 }


Detailed Description

Constants and types used for SYNC Monitube IPC.

Constants for understanding and building request and reply IPC messages between the mgmt & data components.

Definition in file monitube_ipc.h.


Define Documentation

#define MONITUBE_PORT_NUM   7081

Port that the monitube-mgmt listens on:

Definition at line 33 of file monitube_ipc.h.

Referenced by close_connections(), and init_server().


Typedef Documentation

typedef struct del_mir_info_s del_mir_info_t

Message containing info about the mirror to delete

typedef struct del_mon_info_s del_mon_info_t

Message containing info about the monitor to delete

typedef struct flow_stat_s flow_stat_t

Message containing info about the server status for an application

typedef struct maddr_info_s maddr_info_t

Message containing info about the monitor address to add/delete

typedef struct replication_info_s replication_info_t

Message containing info about the monitor to delete

typedef struct slave_info_s slave_info_t

Message containing info about the monitor to delete

typedef struct update_mir_info_s update_mir_info_t

Message containing info about the mirror to update

typedef struct update_mon_info_s update_mon_info_t

Message containing info about the monitor to update


Enumeration Type Documentation

enum msg_type_e

Applicable IPC Message subtypes for messages FROM the mgmt component TO the data component:

Enumerator:
MSG_DELETE_ALL_MON  delete all monitors, no message data sent
MSG_DELETE_ALL_MIR  delete all mirrors, no message data sent
MSG_DELETE_MON  delete monitor, del_mon_info_t sent
MSG_DELETE_MIR  delete mirror, del_mir_info_t sent
MSG_DELETE_MON_ADDR  delete monitor address, maddr_info_t sent
MSG_CONF_MON  update monitor, update_mon_info_t sent
MSG_CONF_MIR  update mirror, update_mir_info_t sent
MSG_CONF_MON_ADDR  update monitor address, maddr_info_t sent
MSG_CONF_MASTER  set as master, no message data sent
MSG_CONF_SLAVE  set as slave, slave_info_t is sent
MSG_REP_INFO  set replication interval, replication_info_t is sent

Definition at line 43 of file monitube_ipc.h.

enum update_type_e

Applicable IPC Message subtypes for messages TO the mgmt component FROM the data component:

Enumerator:
MSG_FLOW_STAT_UPDATE  update of flow MDI statistics

Definition at line 123 of file monitube_ipc.h.


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:03 2010 for SDK Your Net Corporation Monitube IPTV Monitoring Example: monitube-mgmt 1.0 by Doxygen 1.5.1