Helium
Data Structures | Macros | Typedefs | Functions
plugin_stats.h File Reference

Example plugin implementation. More...

#include <stddef.h>
#include <he_plugin.h>
Include dependency graph for plugin_stats.h:

Go to the source code of this file.

Data Structures

struct  stats
 
struct  packet_stats
 

Macros

#define PACKET_SAMPLE_N   100000
 

Typedefs

typedef struct stats stats_t
 
typedef struct packet_stats packet_stats_t
 

Functions

he_plugin_return_code_t stats_plugin_create (plugin_struct_t *plugin_struct)
 
void stats_plugin_destroy (plugin_struct_t *plugin_struct)
 
he_plugin_return_code_t stats_plugin_do_ingress (uint8_t *packet, size_t *length, size_t capacity, packet_stats_t *data)
 
he_plugin_return_code_t stats_plugin_do_egress (uint8_t *packet, size_t *length, size_t capacity, packet_stats_t *data)
 

Detailed Description

Example plugin implementation.