23 #ifndef _MCA_OOB_TCP_HDR_H_
24 #define _MCA_OOB_TCP_HDR_H_
26 #include "orte_config.h"
31 #define MCA_OOB_TCP_PROBE 1
32 #define MCA_OOB_TCP_CONNECT 2
33 #define MCA_OOB_TCP_IDENT 3
34 #define MCA_OOB_TCP_DATA 4
35 #define MCA_OOB_TCP_PING 5
53 #define MCA_OOB_TCP_HDR_NTOH(h) \
54 ORTE_PROCESS_NAME_NTOH((h)->msg_origin); \
55 ORTE_PROCESS_NAME_NTOH((h)->msg_src); \
56 ORTE_PROCESS_NAME_NTOH((h)->msg_dst); \
57 (h)->msg_type = ntohl((h)->msg_type); \
58 (h)->msg_size = ntohl((h)->msg_size); \
59 (h)->msg_tag = ntohl((h)->msg_tag);
64 #define MCA_OOB_TCP_HDR_HTON(h) \
65 ORTE_PROCESS_NAME_HTON((h)->msg_origin); \
66 ORTE_PROCESS_NAME_HTON((h)->msg_src); \
67 ORTE_PROCESS_NAME_HTON((h)->msg_dst); \
68 (h)->msg_type = htonl((h)->msg_type); \
69 (h)->msg_size = htonl((h)->msg_size); \
70 (h)->msg_tag = htonl((h)->msg_tag);
uint32_t msg_type
type of message
Definition: oob_tcp_hdr.h:44
Header used by tcp oob protocol.
Definition: oob_tcp_hdr.h:40
uint32_t msg_size
the total size of the message body - excluding header
Definition: oob_tcp_hdr.h:45
int32_t msg_tag
user provided tag
Definition: oob_tcp_hdr.h:46