equilibrium2_svc.h File Reference

Contains function. More...

#include <sys/types.h>
#include <sys/queue.h>
#include <jnx/trace.h>

Go to the source code of this file.

Data Structures

struct  sp_svc_set_s

Defines

#define EV_CLASS_CLASSIFY   "ev-class-classify"
#define EV_CLASSIFY_FIRST_PACKET   1
#define STATUS_UPDATE_INTERVAL   2
#define INSIST_ERR(c)
#define EQ2_TRACE(_msg_type, _fmt...)   msp_log(LOG_INFO, _fmt)
#define EQ2_LUCKY_NUM   666

Typedefs

typedef enum connect_state_e connect_state_t
typedef sp_svc_set_s sp_svc_set_t

Enumerations

enum  connect_state_e { CONNECT_NA, CONNECT_OK, CONNECT_INPROGRESS }
enum  classify_public_data_id_e

Variables

enum classify_public_data_id_e classify_public_data_id_t


Detailed Description

Contains function.

Definition in file equilibrium2_svc.h.


Define Documentation

#define EV_CLASS_CLASSIFY   "ev-class-classify"

The event class name of EQ2 classify service.

Definition at line 29 of file equilibrium2_svc.h.

Referenced by equilibrium2_classify_entry().

#define EV_CLASSIFY_FIRST_PACKET   1

event of first packet

Definition at line 31 of file equilibrium2_svc.h.

Referenced by equilibrium2_classify_data_hdlr().

#define INSIST_ERR (  ) 

Value:

if (!(c)) \
    msp_log(LOG_EMERG, "%s:%d: insist '%s' ERROR: %m", \
        __FILE__, __LINE__, #c); else (void)NULL
Define an INSIST/assert with logging.

Definition at line 40 of file equilibrium2_svc.h.

Referenced by proc_svc_set_blob().

#define STATUS_UPDATE_INTERVAL   2

service status update interval

Definition at line 33 of file equilibrium2_svc.h.


Typedef Documentation

typedef enum connect_state_e connect_state_t

Manager connect state.

typedef struct sp_svc_set_s sp_svc_set_t

The data structure of service-set in service plugin.


Enumeration Type Documentation

enum classify_public_data_id_e

Public data of classify service.

Definition at line 71 of file equilibrium2_svc.h.

enum connect_state_e

Manager connect state.

Enumerator:
CONNECT_NA  no connection
CONNECT_OK  connected
CONNECT_INPROGRESS  connect in progress

Definition at line 48 of file equilibrium2_svc.h.


Variable Documentation

enum classify_public_data_id_e classify_public_data_id_t

Public data of classify service.


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:08 2010 for SDK Your Net Corporation Equilibrium II: equilibrium2-classify 1.0 by Doxygen 1.5.1