DPDK
19.08.0-rc0
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
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
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
h
i
l
m
o
p
r
s
t
u
v
w
+
Functions
_
c
e
p
r
s
t
+
Variables
b
c
l
m
r
+
Typedefs
a
c
d
e
h
l
m
p
r
s
u
+
Enumerations
r
+
Enumerator
c
e
f
i
m
r
s
w
+
Macros
_
b
c
d
e
i
l
m
o
p
r
s
t
u
v
Examples
lib
librte_net
rte_icmp.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 1982, 1986, 1990, 1993
3
* The Regents of the University of California.
4
* Copyright(c) 2013 6WIND S.A.
5
* All rights reserved.
6
*/
7
8
#ifndef _RTE_ICMP_H_
9
#define _RTE_ICMP_H_
10
17
#include <stdint.h>
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
26
struct
rte_icmp_hdr
{
27
uint8_t icmp_type;
/* ICMP packet type. */
28
uint8_t icmp_code;
/* ICMP packet code. */
29
uint16_t icmp_cksum;
/* ICMP packet checksum. */
30
uint16_t icmp_ident;
/* ICMP packet identifier. */
31
uint16_t icmp_seq_nb;
/* ICMP packet sequence number. */
32
} __attribute__((__packed__));
33
34
/* ICMP packet types */
35
#define RTE_IP_ICMP_ECHO_REPLY 0
36
#define RTE_IP_ICMP_ECHO_REQUEST 8
37
38
#ifdef __cplusplus
39
}
40
#endif
41
42
#endif
/* RTE_ICMP_H_ */
rte_icmp_hdr
Definition:
rte_icmp.h:26
Generated by
1.8.15