DPDK
19.11.14
lib
librte_net
rte_sctp.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) 2010-2014 Intel Corporation.
5
* All rights reserved.
6
*/
7
14
#ifndef _RTE_SCTP_H_
15
#define _RTE_SCTP_H_
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
21
#include <stdint.h>
22
23
#include <
rte_byteorder.h
>
24
28
struct
rte_sctp_hdr
{
29
rte_be16_t
src_port
;
30
rte_be16_t
dst_port
;
31
rte_be32_t
tag
;
32
rte_be32_t
cksum
;
33
} __attribute__((__packed__));
34
35
#ifdef __cplusplus
36
}
37
#endif
38
39
#endif
/* RTE_SCTP_H_ */
rte_byteorder.h
rte_be32_t
uint32_t rte_be32_t
Definition:
rte_byteorder.h:111
rte_sctp_hdr::dst_port
rte_be16_t dst_port
Definition:
rte_sctp.h:30
rte_sctp_hdr::src_port
rte_be16_t src_port
Definition:
rte_sctp.h:29
rte_sctp_hdr
Definition:
rte_sctp.h:28
rte_sctp_hdr::cksum
rte_be32_t cksum
Definition:
rte_sctp.h:32
rte_be16_t
uint16_t rte_be16_t
Definition:
rte_byteorder.h:110
rte_sctp_hdr::tag
rte_be32_t tag
Definition:
rte_sctp.h:31
Generated by
1.8.13