]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/spdk/dpdk/lib/librte_net/rte_sctp.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / spdk / dpdk / lib / librte_net / rte_sctp.h
index bfb7165a6897601641054f2c0292996b71639e54..965682dc2bf3a420ca520ba82ff879c21d99a58d 100644 (file)
@@ -20,15 +20,17 @@ extern "C" {
 
 #include <stdint.h>
 
+#include <rte_byteorder.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__));
+struct rte_sctp_hdr {
+       rte_be16_t src_port; /**< Source port. */
+       rte_be16_t dst_port; /**< Destin port. */
+       rte_be32_t tag;      /**< Validation tag. */
+       rte_be32_t cksum;    /**< Checksum. */
+} __rte_packed;
 
 #ifdef __cplusplus
 }