dpm_ipc.h File Reference

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

Go to the source code of this file.

Data Structures

struct  reset_info_s
struct  pol_conf_s
struct  pol_action_s
struct  policer_info_s
struct  int_info_s
struct  sub_info_s
struct  subscriber_status_s

Defines

#define MAX_POL_NAME   63
 max policer name length
#define MAX_INT_NAME   255
 max interface/pattern name length
#define MAX_SUB_NAME   255
 max subscriber/pw name length
#define MAX_CLASS_NAME   255
 max class name length
#define DPM_PORT_NUM   7082
 Port that the dpm-mgmt listens on.

Typedefs

typedef reset_info_s reset_info_t
typedef pol_conf_s pol_conf_t
typedef pol_action_s pol_action_t
typedef policer_info_s policer_info_t
typedef int_info_s int_info_t
typedef sub_info_s sub_info_t
typedef subscriber_status_s subscriber_status_t

Enumerations

enum  conf_msg_type_e {
  MSG_CONF_RESET = 1, MSG_CONF_COMP, MSG_POLICER, MSG_INTERFACE,
  MSG_SUBSCRIBER
}
enum  status_msg_type_e { MSG_SUBSCRIBER_LOGIN = 1, MSG_SUBSCRIBER_LOGOUT }


Detailed Description

Constants and types used for SYNC DPM IPC.

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

Definition in file dpm_ipc.h.


Typedef Documentation

typedef struct int_info_s int_info_t

Message containing info about the default interface policy to configure

typedef struct pol_action_s pol_action_t

A policer's action from the 'then' section

See also:
policer_info_t
Note:
Because this is used in XLR and contained in another struct we will pad to have 8-byte alignment

typedef struct pol_conf_s pol_conf_t

A policer's configuration from the 'if-exceeding' section

See also:
policer_info_t
Note:
Because this is used in XLR and contained in another struct we will pad to have 8-byte alignment

typedef struct policer_info_s policer_info_t

Message containing info about the policer to configure

typedef struct reset_info_s reset_info_t

Message containing info about the reset

typedef struct sub_info_s sub_info_t

Message containing info about the subscriber policy to configure

typedef struct subscriber_status_s subscriber_status_t

Message containing info about the subscriber's status


Enumeration Type Documentation

enum conf_msg_type_e

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

Enumerator:
MSG_CONF_RESET  delete all configuration and set filter mode
MSG_CONF_COMP  all configuration data has been sent (no data)
MSG_POLICER  configure a policer
MSG_INTERFACE  configure a default interface policy
MSG_SUBSCRIBER  configure a subscriber policy

Definition at line 44 of file dpm_ipc.h.

enum status_msg_type_e

Applicable IPC Message subtypes for (subscriber_status_t) messages TO the mgmt component FROM the ctrl component:

Enumerator:
MSG_SUBSCRIBER_LOGIN  update of a subscriber login
MSG_SUBSCRIBER_LOGOUT  update of a subscriber logout

Definition at line 136 of file dpm_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:26:55 2010 for SDK Your Net Corporation Dynamic Policy Manager Example: dpm-mgmt 1.0 by Doxygen 1.5.1