/**
 @Name:		COUNTER.h
*/

#define COUNTER_ID	200

struct COUNTER_instance {	// COUNTER instance
  struct rp_instance rootinstance;	// base class part
  // @User:  Add any instance variables below
  int pkt_count;			// instance specific data
};

// @User: Add any externs for class-wide global variables here.  None
//	needed if you have only one .c file (i.e., COUNTER.c).

// *** You should not have to change anything below this line

void COUNTER_init_class();		// function prototypes
struct rp_class *COUNTER_get_class();
struct rp_instance *COUNTER_create_instance(struct rp_class *, u_int32_t);
void COUNTER_handle_packet(struct rp_instance *, void *);
void COUNTER_free_instance(struct rp_instance *);
void COUNTER_bind_instance(struct rp_instance *);
void COUNTER_unbind_instance(struct rp_instance *);
int  COUNTER_handle_msg(struct rp_instance *, void *, u_int8_t,
						u_int8_t, u_int8_t *);
int COUNTER  (struct lkm_table *, int, int, struct kernel_plugin_fct_struct *);
int COUNTER_load(struct lkm_table *, int);
int COUNTER_unload(struct lkm_table *, int);

