policy_ipc.h File Reference

Constants and types used for SYNC Policy app IPC. More...

Go to the source code of this file.

Defines

#define PED_PORT_NUM   7079
#define CPD_PORT_NUM   7079

Enumerations

enum  ped_msg_type_e { MSG_ID = 1, MSG_PEER, MSG_ADDRESSES }
enum  cpd_msg_type_e { MSG_GET_AUTH_LIST, MSG_AUTH_ENTRY_ADD, MSG_AUTH_ENTRY_DEL }
enum  component_id_e { ID_PED = 1, ID_CPD, ID_PFD }


Detailed Description

Constants and types used for SYNC Policy app IPC.

Constants for understanding and building request and reply IPC messages between the mgmt (ped), ctrl (cpd), and data (pfd) components

Definition in file policy_ipc.h.


Define Documentation

#define CPD_PORT_NUM   7079

Port that the CPD listens on for connection from the data component

Definition at line 36 of file policy_ipc.h.

#define PED_PORT_NUM   7079

Port that the PED listens on for connection from ctrl/data components

Definition at line 31 of file policy_ipc.h.

Referenced by close_connections(), and init_server().


Enumeration Type Documentation

enum component_id_e

The applicable component IDs

Enumerator:
ID_PED  The ID value for the management component (PED).
ID_CPD  The ID value for the control component (CPD).
ID_PFD  The ID value for the data component (PFD).

Definition at line 66 of file policy_ipc.h.

enum cpd_msg_type_e

Applicable IPC Message subtypes when talking to the CPD

Enumerator:
MSG_GET_AUTH_LIST  Message requests the authorized users and contains no data (sent by PFD to CPD).
MSG_AUTH_ENTRY_ADD  Message contains an authorized user (sent by CPD to PFD).
MSG_AUTH_ENTRY_DEL  Message contains an unauthorized user (previously authorized) (sent by CPD to PFD).

Definition at line 53 of file policy_ipc.h.

enum ped_msg_type_e

Applicable IPC Message subtypes when talking to the PED

Enumerator:
MSG_ID  Message contains the component ID (sent to PED by CPD & PFD).
MSG_PEER  Message contains the other PIC's peer info (sent by PED to PFD).
MSG_ADDRESSES  Message contains the PFD and CPD addresses (sent by PED to CPD & PFD).

Definition at line 44 of file policy_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:06 2010 for SDK Your Net Corporation Policy Manager Example: Policy Enforcement Daemon 1.0 by Doxygen 1.5.1