fa620b86e3
To be compliant with the DPDK licensing guidelines, switch to BSD-3-Clause. It can be done safely since the BSD headers from which these files derive also exist as a BSD-3-Clause license in FreeBSD. Link: https://raw.githubusercontent.com/freebsd/freebsd/78a6b0861813af31e1354fa407c5701e8764b4d6/sys/netinet/ip_icmp.h Link: https://raw.githubusercontent.com/freebsd/freebsd/78a6b0861813af31e1354fa407c5701e8764b4d6/sys/netinet/ip.h Link: https://raw.githubusercontent.com/freebsd/freebsd/78a6b0861813af31e1354fa407c5701e8764b4d6/sys/netinet/sctp.h Link: https://raw.githubusercontent.com/freebsd/freebsd/78a6b0861813af31e1354fa407c5701e8764b4d6/sys/netinet/tcp.h Link: https://raw.githubusercontent.com/freebsd/freebsd/78a6b0861813af31e1354fa407c5701e8764b4d6/sys/netinet/udp.h Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
38 lines
647 B
C
38 lines
647 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright(c) 1982, 1986, 1990, 1993
|
|
* The Regents of the University of California.
|
|
* Copyright(c) 2010-2014 Intel Corporation.
|
|
* All rights reserved.
|
|
*/
|
|
|
|
/**
|
|
* @file
|
|
*
|
|
* SCTP-related defines
|
|
*/
|
|
|
|
#ifndef _RTE_SCTP_H_
|
|
#define _RTE_SCTP_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
|
|
/**
|
|
* SCTP Header
|
|
*/
|
|
struct sctp_hdr {
|
|
uint16_t src_port; /**< Source port. */
|
|
uint16_t dst_port; /**< Destin port. */
|
|
uint32_t tag; /**< Validation tag. */
|
|
uint32_t cksum; /**< Checksum. */
|
|
} __attribute__((__packed__));
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* RTE_SCTP_H_ */
|