hellopics_ipc.h File Reference

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

Go to the source code of this file.

Defines

#define HELLOPICS_PORT_NUM   7078

Enumerations

enum  msg_type_e {
  MSG_ID = 1, MSG_READY, MSG_GET_PEER, MSG_PEER,
  MSG_HELLO
}
enum  component_id_e { HELLOPICS_ID_MGMT = 1, HELLOPICS_ID_CTRL, HELLOPICS_ID_DATA }


Detailed Description

Constants and types used for SYNC Hellopics IPC.

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

Definition in file hellopics_ipc.h.


Define Documentation

#define HELLOPICS_PORT_NUM   7078

Port that the hellopics-mgmt and hellopics-ctrl listen on:

Definition at line 31 of file hellopics_ipc.h.

Referenced by close_connections(), and start_server().


Enumeration Type Documentation

enum component_id_e

The applicable component IDs

Enumerator:
HELLOPICS_ID_MGMT  The ID value for the management component.
HELLOPICS_ID_CTRL  The ID value for the control component.
HELLOPICS_ID_DATA  The ID value for the data component.

Definition at line 49 of file hellopics_ipc.h.

enum msg_type_e

Applicable IPC Message subtypes:

Enumerator:
MSG_ID  Message contains the component ID.
MSG_READY  Message idicates that the sending component is ready.
MSG_GET_PEER  Message idicates a request for the other PIC's peer info.
MSG_PEER  Message contains the other PIC's peer info.
MSG_HELLO  Message idicates a HELLO message cycled between components.

Definition at line 38 of file hellopics_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:58 2010 for SDK Your Net Corporation Hellopics Example: hellopics-mgmt 1.0 by Doxygen 1.5.1