NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
telemetry_exporter.h File Reference
#include <stdio.h>
#include <string.h>
#include <rte_ring.h>
#include <doca_telemetry_exporter_netflow.h>
Include dependency graph for telemetry_exporter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NETFLOW_QUEUE_SIZE   1024 /* Netflow queue size */
 

Functions

struct __attribute__ ((packed)) doca_telemetry_exporter_netflow_record
 
doca_error_t send_netflow_record (void)
 
void enqueue_netflow_record_to_ring (const struct doca_telemetry_exporter_netflow_record *record)
 
void destroy_netflow_schema_and_source (void)
 
doca_error_t init_netflow_schema_and_source (uint8_t id, char *source_tag)
 

Macro Definition Documentation

◆ NETFLOW_QUEUE_SIZE

#define NETFLOW_QUEUE_SIZE   1024 /* Netflow queue size */

Definition at line 40 of file telemetry_exporter.h.

Function Documentation

◆ __attribute__()

struct __attribute__ ( (packed)  )

Definition at line 1 of file telemetry_exporter.h.

◆ destroy_netflow_schema_and_source()

void destroy_netflow_schema_and_source ( void  )

Definition at line 230 of file telemetry_exporter.c.

◆ enqueue_netflow_record_to_ring()

void enqueue_netflow_record_to_ring ( const struct doca_telemetry_exporter_netflow_record *  record)

Definition at line 212 of file telemetry_exporter.c.

◆ init_netflow_schema_and_source()

doca_error_t init_netflow_schema_and_source ( uint8_t  id,
char *  source_tag 
)

Definition at line 238 of file telemetry_exporter.c.

◆ send_netflow_record()

doca_error_t send_netflow_record ( void  )

Definition at line 173 of file telemetry_exporter.c.