DPDK
22.11.7
Toggle main menu visibility
Main Page
Related Pages
Data Structures
Data Structures
Data Fields
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Functions
_
c
g
r
Variables
a
c
d
e
l
r
s
Typedefs
a
c
d
e
h
l
m
p
r
s
t
Enumerations
d
r
Enumerator
c
e
f
r
s
w
Macros
_
b
c
i
l
m
o
p
r
s
t
u
v
Examples
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
lib
net
rte_net_crc.h
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2017-2020 Intel Corporation
3
*/
4
5
#ifndef _RTE_NET_CRC_H_
6
#define _RTE_NET_CRC_H_
7
8
#include <stdint.h>
9
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
15
enum
rte_net_crc_type {
16
RTE_NET_CRC16_CCITT = 0,
17
RTE_NET_CRC32_ETH,
18
RTE_NET_CRC_REQS
19
};
20
22
enum
rte_net_crc_alg {
23
RTE_NET_CRC_SCALAR = 0,
24
RTE_NET_CRC_SSE42,
25
RTE_NET_CRC_NEON,
26
RTE_NET_CRC_AVX512,
27
};
28
41
void
42
rte_net_crc_set_alg(
enum
rte_net_crc_alg alg);
43
57
uint32_t
58
rte_net_crc_calc(
const
void
*data,
59
uint32_t data_len,
60
enum
rte_net_crc_type type);
61
62
#ifdef __cplusplus
63
}
64
#endif
65
66
67
#endif
/* _RTE_NET_CRC_H_ */
Generated by
1.9.4