Commit 48c860ea authored by 's avatar

PKTBYTECOUNTERFILTER function for getting pkt/byte counts from Combov2 hw with Nific fw.



git-svn-id: file:///home/svn/mapi/trunk@1603 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 6e4ef441
//Sun Jan 23 10:58:51 2005
//Fri Oct 29 15:27:46 2010
//This file was created automatically by createlib.pl
#include <stdio.h>
#include "mapidflib.h"
#include "debug.h"
char libname[]="COMBO6LIB";
char libname[]="combo6lib";
__attribute__ ((constructor)) void init ();
__attribute__ ((destructor)) void fini ();
mapidflib_functionlist_t functions[6];
mapidflib_functionlist_t functions[1];
extern mapidflib_function_def_t * c6all_get_funct_info();
extern mapidflib_function_def_t * c6bpf_get_funct_info();
extern mapidflib_function_def_t * c6byte_counter_get_funct_info();
extern mapidflib_function_def_t * c6ifstats_get_funct_info();
extern mapidflib_function_def_t * c6sample_get_funct_info();
extern mapidflib_function_def_t * c6stats_get_funct_info();
extern mapidflib_function_def_t * pktbytecounterrules_get_funct_info();
mapidflib_functionlist_t* mapidflib_get_function_list()
{
functions[0].def=NULL;
functions[0].def->libname=NULL;
functions[0].def=pktbytecounterrules_get_funct_info();
functions[0].def->libname=libname;
functions[0].next=NULL;
return &functions[0];
}
......@@ -35,12 +30,12 @@ char *mapidflib_get_libname() {
__attribute__ ((constructor))
void init ()
{
DEBUG_CMD(printf ("Library COMBO6LIB loaded\n"));
DEBUG_CMD(printf ("Library combo6lib loaded\n"));
}
__attribute__ ((destructor))
void fini ()
{
DEBUG_CMD(printf ("Library COMBO6LIB unloaded\n"));
DEBUG_CMD(printf ("Library combo6lib unloaded\n"));
}
This diff is collapsed.
#ifndef __PKTBYTE_COUNTER_RULES_H__
#define __PKTBYTE_COUNTER_RULES_H__
#include "mapidflib.h"
mapidflib_function_def_t* c6bpf_get_funct_info();
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment