X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Flibrte_net%2Frte_sctp.h;h=ab38be76895b940dfe107917d24ac6336de9faac;hb=8c559a928fed12f481640b361ea6a871248ffcf4;hp=bfb7165a6897601641054f2c0292996b71639e54;hpb=fa620b86e3fae5e0539d68beaa588cedf51b9d9e;p=dpdk.git diff --git a/lib/librte_net/rte_sctp.h b/lib/librte_net/rte_sctp.h index bfb7165a68..ab38be7689 100644 --- a/lib/librte_net/rte_sctp.h +++ b/lib/librte_net/rte_sctp.h @@ -20,14 +20,16 @@ extern "C" { #include +#include + /** * 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. */ +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. */ } __attribute__((__packed__)); #ifdef __cplusplus