monitube2_ipc.h File Reference

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

Go to the source code of this file.

Data Structures

struct  del_ss_s
struct  apply_rule_s
struct  update_rule_action_s
struct  delete_rule_s
struct  rule_addr_s
struct  flow_stat_s

Defines

#define MONITUBE_PORT_NUM   7081
#define MONITUBE2_MGMT_STRLEN   256
 Application name length.

Typedefs

typedef del_ss_s del_ss_t
typedef apply_rule_s apply_rule_t
typedef update_rule_action_s update_rule_action_t
typedef delete_rule_s delete_rule_t
typedef rule_addr_s rule_addr_t
typedef flow_stat_s flow_stat_t

Enumerations

enum  msg_type_e {
  MSG_DELETE_ALL = 1, MSG_DELETE_SS, MSG_APPLY_RULE, MSG_REMOVE_RULE,
  MSG_CONF_RULE_ACTION, MSG_DELETE_RULE, MSG_CONF_RULE_MATCH_ADDR, MSG_DELETE_RULE_MATCH_ADDR
}
enum  update_type_e { MSG_FLOW_STAT_UPDATE = 1 }


Detailed Description

Constants and types used for SYNC Monitube2 IPC.

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

Definition in file monitube2_ipc.h.


Define Documentation

#define MONITUBE_PORT_NUM   7081

Port that the monitube2-mgmt listens on: (Same as MoniTube 1 b/c they won't be installed at the same time)

Definition at line 34 of file monitube2_ipc.h.

Referenced by connect_mgmt().


Typedef Documentation

typedef struct apply_rule_s apply_rule_t

Message containing info about the rule to apply/remove (MSG_APPLY_RULE, MSG_REMOVE_RULE)

typedef struct del_ss_s del_ss_t

Message containing info about the service set to delete (MSG_DELETE_SS)

typedef struct delete_rule_s delete_rule_t

Message containing info rule to delete (MSG_DELETE_RULE)

typedef struct flow_stat_s flow_stat_t

Message containing info about the server status for an application

typedef struct rule_addr_s rule_addr_t

Message containing info about a rule address (MSG_CONF_RULE_MATCH_ADDR, MSG_DELETE_RULE_MATCH_ADDR)

typedef struct update_rule_action_s update_rule_action_t

Message containing info about a rule to update (MSG_CONF_RULE_ACTION)


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  delete all configured policies, no msg data
MSG_DELETE_SS  delete policies for a service set
MSG_APPLY_RULE  apply rule to a service set
MSG_REMOVE_RULE  remove rule from service set
MSG_CONF_RULE_ACTION  create/update rule's action,
MSG_DELETE_RULE  delete rule and remove from any ss
MSG_CONF_RULE_MATCH_ADDR  create/update rule's match address
MSG_DELETE_RULE_MATCH_ADDR  delete rule's match address

Definition at line 45 of file monitube2_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 113 of file monitube2_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:09 2010 for SDK Your Net Corporation Monitube2 IPTV Monitoring Example: monitube2-plugin 1.0 by Doxygen 1.5.1