DPDK
25.11.0
Toggle main menu visibility
Loading...
Searching...
No Matches
rte_version.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2010-2014 Intel Corporation
3
*/
4
9
10
#ifndef _RTE_VERSION_H_
11
#define _RTE_VERSION_H_
12
13
#include <string.h>
14
#include <stdio.h>
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
23
#define RTE_VERSION_NUM(a,b,c,d) ((a) << 24 | (b) << 16 | (c) << 8 | (d))
24
28
#define RTE_VERSION RTE_VERSION_NUM( \
29
RTE_VER_YEAR, \
30
RTE_VER_MONTH, \
31
RTE_VER_MINOR, \
32
RTE_VER_RELEASE)
33
37
const
char
*
rte_version_prefix
(
void
);
38
42
unsigned
int
rte_version_year
(
void
);
43
47
unsigned
int
rte_version_month
(
void
);
48
52
unsigned
int
rte_version_minor
(
void
);
53
57
const
char
*
rte_version_suffix
(
void
);
58
62
unsigned
int
rte_version_release
(
void
);
63
69
const
char
*
rte_version
(
void
);
70
71
#ifdef __cplusplus
72
}
73
#endif
74
75
#endif
/* RTE_VERSION_H */
rte_version_prefix
const char * rte_version_prefix(void)
rte_version_release
unsigned int rte_version_release(void)
rte_version_minor
unsigned int rte_version_minor(void)
rte_version_month
unsigned int rte_version_month(void)
rte_version_suffix
const char * rte_version_suffix(void)
rte_version_year
unsigned int rte_version_year(void)
rte_version
const char * rte_version(void)
lib
eal
include
rte_version.h
Generated by
1.17.0