19 #ifndef MCA_BTL_TCP_HDR_H
20 #define MCA_BTL_TCP_HDR_H
23 #include "ompi_config.h"
33 #define MCA_BTL_TCP_HDR_TYPE_SEND 1
34 #define MCA_BTL_TCP_HDR_TYPE_PUT 2
35 #define MCA_BTL_TCP_HDR_TYPE_GET 3
45 #define MCA_BTL_TCP_HDR_HTON(hdr) \
47 hdr.count = htons(hdr.count); \
48 hdr.size = htonl(hdr.size); \
51 #define MCA_BTL_TCP_HDR_NTOH(hdr) \
53 hdr.count = ntohs(hdr.count); \
54 hdr.size = ntohl(hdr.size); \
Definition: btl_tcp_hdr.h:37