]>
Commit | Line | Data |
---|---|---|
9f95a23c TL |
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. | |
7c673cae FG |
6 | */ |
7 | ||
8 | /** | |
9 | * @file | |
10 | * | |
11 | * SCTP-related defines | |
12 | */ | |
13 | ||
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 | /** | |
24 | * SCTP Header | |
25 | */ | |
26 | struct sctp_hdr { | |
27 | uint16_t src_port; /**< Source port. */ | |
28 | uint16_t dst_port; /**< Destin port. */ | |
29 | uint32_t tag; /**< Validation tag. */ | |
30 | uint32_t cksum; /**< Checksum. */ | |
31 | } __attribute__((__packed__)); | |
32 | ||
33 | #ifdef __cplusplus | |
34 | } | |
35 | #endif | |
36 | ||
37 | #endif /* RTE_SCTP_H_ */ |