rte_version.h
Contents
Detailed Description
Definitions of DPDK version numbers
Definition in file rte_version.h.
Function Documentation
constchar*rte_version_prefix(void)
Function to return DPDK version prefix string
unsignedintrte_version_year(void)
Function to return DPDK version year
unsignedintrte_version_month(void)
Function to return DPDK version month
unsignedintrte_version_minor(void)
Function to return DPDK minor version number
constchar*rte_version_suffix(void)
Function to return DPDK version suffix for any release candidates
unsignedintrte_version_release(void)
Function to return DPDK version release candidate value
constchar*rte_version(void)
Function returning version string
Returns
DPDK version string
Macro Definition Documentation
#defineRTE_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 23 of file rte_version.h.
#defineRTE_VERSIONValue:.PP
RTE_VERSION_NUM( \
RTE_VER_YEAR, \
RTE_VER_MONTH, \
RTE_VER_MINOR, \
RTE_VER_RELEASE)
All version numbers in one to compare with RTE_VERSION_NUM()
Definition at line 28 of file rte_version.h.
Name
rte_version.h
Synopsis
#include <string.h>
#include <stdio.h>
Macros
#define RTE_VERSION_NUM(a, b, c, d) ((a) << 24 | (b) << 16 | (c) << 8 | (d))
#define RTE_VERSIONFunctions
const char * rte_version_prefix (void)
unsigned int rte_version_year (void)
unsigned int rte_version_month (void)
unsigned int rte_version_minor (void)
const char * rte_version_suffix (void)
unsigned int rte_version_release (void)
const char * rte_version (void)
