Blog
Community
Development
Documentation
CNDP
22.08.0
cne_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) 2019-2022 Intel Corporation.
5
* All rights reserved.
6
*/
7
14
#ifndef _CNE_SCTP_H_
15
#define _CNE_SCTP_H_
16
17
#include <stdint.h>
18
19
#include <
cne_byteorder.h
>
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
28
struct
cne_sctp_hdr
{
29
cne_be16_t
src_port
;
30
cne_be16_t
dst_port
;
31
cne_be32_t
tag
;
32
cne_be32_t
cksum
;
33
} __attribute__((__packed__));
34
35
#ifdef __cplusplus
36
}
37
#endif
38
39
#endif
/* CNE_SCTP_H_ */
cne_byteorder.h
cne_be16_t
uint16_t cne_be16_t
Definition:
cne_byteorder.h:23
cne_be32_t
uint32_t cne_be32_t
Definition:
cne_byteorder.h:24
cne_sctp_hdr
Definition:
cne_sctp.h:28
cne_sctp_hdr::tag
cne_be32_t tag
Definition:
cne_sctp.h:31
cne_sctp_hdr::cksum
cne_be32_t cksum
Definition:
cne_sctp.h:32
cne_sctp_hdr::dst_port
cne_be16_t dst_port
Definition:
cne_sctp.h:30
cne_sctp_hdr::src_port
cne_be16_t src_port
Definition:
cne_sctp.h:29
lib
include
net
cne_sctp.h
Generated by
1.9.1