NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
pcc_common_dev.h File Reference
#include <doca_pcc_dev_utils.h>
#include "utils.h"
Include dependency graph for pcc_common_dev.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  bytes_ts_t
 

Macros

#define __unused   __attribute__((__unused__))
 
#define UDP_HDR_SIZE   (8)
 

Functions

ALWAYS_INLINE uint32_t diff_with_wrap32 (uint32_t greater_num, uint32_t smaller_num)
 

Macro Definition Documentation

◆ __unused

#define __unused   __attribute__((__unused__))

< Unused attribute UDP header size in bytes

Definition at line 35 of file pcc_common_dev.h.

◆ UDP_HDR_SIZE

#define UDP_HDR_SIZE   (8)

Struct holding bytes and timestamp

Definition at line 38 of file pcc_common_dev.h.

Function Documentation

◆ diff_with_wrap32()

ALWAYS_INLINE uint32_t diff_with_wrap32 ( uint32_t  greater_num,
uint32_t  smaller_num 
)

Definition at line 51 of file pcc_common_dev.h.