net: update licence for network headers
[dpdk.git] / lib / librte_net / rte_sctp.h
1 /*
2  * SPDX-License-Identifier: BSD-3-Clause
3  *
4  * Copyright (c) 1982, 1986, 1990, 1993
5  *      The Regents of the University of California.
6  * Copyright (c) 2010-2014 Intel Corporation.
7  * All rights reserved.
8  */
9
10 /**
11  * @file
12  *
13  * SCTP-related defines
14  */
15
16 #ifndef _RTE_SCTP_H_
17 #define _RTE_SCTP_H_
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22
23 #include <stdint.h>
24
25 /**
26  * SCTP Header
27  */
28 struct sctp_hdr {
29         uint16_t src_port; /**< Source port. */
30         uint16_t dst_port; /**< Destin port. */
31         uint32_t tag;      /**< Validation tag. */
32         uint32_t cksum;    /**< Checksum. */
33 } __attribute__((__packed__));
34
35 #ifdef __cplusplus
36 }
37 #endif
38
39 #endif /* RTE_SCTP_H_ */