199a2dd95SBruce Richardson /* SPDX-License-Identifier: BSD-3-Clause 299a2dd95SBruce Richardson * Copyright(c) 1982, 1986, 1990, 1993 399a2dd95SBruce Richardson * The Regents of the University of California. 499a2dd95SBruce Richardson * Copyright(c) 2010-2014 Intel Corporation. 599a2dd95SBruce Richardson * All rights reserved. 699a2dd95SBruce Richardson */ 799a2dd95SBruce Richardson 899a2dd95SBruce Richardson /** 999a2dd95SBruce Richardson * @file 1099a2dd95SBruce Richardson * 1199a2dd95SBruce Richardson * SCTP-related defines 1299a2dd95SBruce Richardson */ 1399a2dd95SBruce Richardson 1499a2dd95SBruce Richardson #ifndef _RTE_SCTP_H_ 1599a2dd95SBruce Richardson #define _RTE_SCTP_H_ 1699a2dd95SBruce Richardson 1799a2dd95SBruce Richardson #include <stdint.h> 1899a2dd95SBruce Richardson 1999a2dd95SBruce Richardson #include <rte_byteorder.h> 2099a2dd95SBruce Richardson 2199a2dd95SBruce Richardson /** 2299a2dd95SBruce Richardson * SCTP Header 2399a2dd95SBruce Richardson */ 24*fba98755SAndre Muezerie struct __rte_packed_begin rte_sctp_hdr { 2599a2dd95SBruce Richardson rte_be16_t src_port; /**< Source port. */ 2699a2dd95SBruce Richardson rte_be16_t dst_port; /**< Destin port. */ 2799a2dd95SBruce Richardson rte_be32_t tag; /**< Validation tag. */ 2899a2dd95SBruce Richardson rte_be32_t cksum; /**< Checksum. */ 29*fba98755SAndre Muezerie } __rte_packed_end; 3099a2dd95SBruce Richardson 3199a2dd95SBruce Richardson #endif /* RTE_SCTP_H_ */ 32