DPDK 22.11.6
|
#include <string.h>
#include <stdio.h>
#include <rte_compat.h>
Go to the source code of this file.
Macros | |
#define | RTE_VERSION_NUM(a, b, c, d) ((a) << 24 | (b) << 16 | (c) << 8 | (d)) |
#define | RTE_VERSION |
Functions | |
__rte_experimental const char * | rte_version_prefix (void) |
__rte_experimental unsigned int | rte_version_year (void) |
__rte_experimental unsigned int | rte_version_month (void) |
__rte_experimental unsigned int | rte_version_minor (void) |
__rte_experimental const char * | rte_version_suffix (void) |
__rte_experimental unsigned int | rte_version_release (void) |
const char * | rte_version (void) |
Definitions of DPDK version numbers
Definition in file rte_version.h.
#define RTE_VERSION_NUM | ( | a, | |
b, | |||
c, | |||
d | |||
) | ((a) << 24 | (b) << 16 | (c) << 8 | (d)) |
Macro to compute a version number usable for comparisons
Definition at line 24 of file rte_version.h.
#define RTE_VERSION |
All version numbers in one to compare with RTE_VERSION_NUM()
Definition at line 29 of file rte_version.h.
__rte_experimental const char * rte_version_prefix | ( | void | ) |
Function to return DPDK version prefix string
__rte_experimental unsigned int rte_version_year | ( | void | ) |
Function to return DPDK version year
__rte_experimental unsigned int rte_version_month | ( | void | ) |
Function to return DPDK version month
__rte_experimental unsigned int rte_version_minor | ( | void | ) |
Function to return DPDK minor version number
__rte_experimental const char * rte_version_suffix | ( | void | ) |
Function to return DPDK version suffix for any release candidates
__rte_experimental unsigned int rte_version_release | ( | void | ) |
Function to return DPDK version release candidate value
const char * rte_version | ( | void | ) |
Function returning version string