19 #ifndef MCA_BTL_SCTP_HDR_H
20 #define MCA_BTL_SCTP_HDR_H
23 #include "ompi_config.h"
26 #include "opal/types.h"
34 #define MCA_BTL_SCTP_HDR_TYPE_SEND 1
35 #define MCA_BTL_SCTP_HDR_TYPE_PUT 2
36 #define MCA_BTL_SCTP_HDR_TYPE_GET 3
43 #if OPAL_ENABLE_HETEROGENEOUS_SUPPORT
51 #define MCA_BTL_SCTP_HDR_HTON(hdr) \
53 hdr.count = htons(hdr.count); \
54 hdr.size = hton64(hdr.size); \
57 #define MCA_BTL_SCTP_HDR_NTOH(hdr) \
59 hdr.count = ntohs(hdr.count); \
60 hdr.size = ntoh64(hdr.size); \
Definition: btl_sctp_hdr.h:39