39 #ifndef _RTE_VERSION_H_ 40 #define _RTE_VERSION_H_ 53 #define RTE_VER_PREFIX "RTE" 58 #define RTE_VER_MAJOR 2 63 #define RTE_VER_MINOR 2 68 #define RTE_VER_PATCH_LEVEL 0 73 #define RTE_VER_SUFFIX "" 80 #define RTE_VER_PATCH_RELEASE 16 85 #define RTE_VERSION_NUM(a,b,c,d) ((a) << 24 | (b) << 16 | (c) << 8 | (d)) 90 #define RTE_VERSION RTE_VERSION_NUM( \ 93 RTE_VER_PATCH_LEVEL, \ 94 RTE_VER_PATCH_RELEASE) 101 static inline const char *
104 static char version[32];
108 snprintf(version,
sizeof(version),
"%s %d.%d.%d",
114 snprintf(version,
sizeof(version),
"%s %d.%d.%d%s%d",
static const char * rte_version(void)
#define RTE_VER_PATCH_RELEASE
#define RTE_VER_PATCH_LEVEL