diff options
Diffstat (limited to 'package/wprobe/src/exporter/wprobe-export.h')
-rw-r--r-- | package/wprobe/src/exporter/wprobe-export.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/package/wprobe/src/exporter/wprobe-export.h b/package/wprobe/src/exporter/wprobe-export.h deleted file mode 100644 index 89da9e8..0000000 --- a/package/wprobe/src/exporter/wprobe-export.h +++ /dev/null @@ -1,34 +0,0 @@ -#include <inttypes.h> -#include <stdint.h> -#include <stdbool.h> - -/** - * struct wprobe_value: data structure for attribute values - * see kernel api netlink attributes for more information - */ -struct wprobe_value { - /* attribute value */ - union data { - const char *STRING; - uint8_t U8; - uint16_t U16; - uint32_t U32; - uint64_t U64; - int8_t S8; - int16_t S16; - int32_t S32; - int64_t S64; - } data; - /* statistics */ - int64_t s, ss; - double avg, stdev; - unsigned int n; - void *usedata; /* Pointer to used data.something */ -}; - -struct exporter_data { - int id; /* ipfix id */ - int userid; /* focus or global */ - int size; /* size in byte*/ - struct wprobe_value val; -}; |