NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
apsh_netscan_get_sample.c File Reference
#include <inttypes.h>
#include <doca_apsh.h>
#include <doca_log.h>
#include "apsh_common.h"
Include dependency graph for apsh_netscan_get_sample.c:

Go to the source code of this file.

Macros

#define BUFFER_SIZE   2048
 

Functions

 DOCA_LOG_REGISTER (NETSCAN_GET)
 
void collect_interface_data (struct doca_apsh_netscan *connection, char *buffer)
 
doca_error_t netscan_get (const char *dma_device_name, const char *pci_vuid, enum doca_apsh_system_os os_type, const char *mem_region, const char *os_symbols)
 

Macro Definition Documentation

◆ BUFFER_SIZE

#define BUFFER_SIZE   2048

Definition at line 34 of file apsh_netscan_get_sample.c.

Function Documentation

◆ collect_interface_data()

void collect_interface_data ( struct doca_apsh_netscan *  connection,
char *  buffer 
)

Definition at line 36 of file apsh_netscan_get_sample.c.

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( NETSCAN_GET  )

◆ netscan_get()

doca_error_t netscan_get ( const char *  dma_device_name,
const char *  pci_vuid,
enum doca_apsh_system_os  os_type,
const char *  mem_region,
const char *  os_symbols 
)

Definition at line 90 of file apsh_netscan_get_sample.c.