OpenMPI 0.1.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Macros | Typedefs
oob_tcp_hdr.h File Reference

Contains header used by tcp oob. More...

`#include "orte_config.h"`
`#include "orte/types.h"`

Go to the source code of this file.

## Data Structures
struct | mca_oob_tcp_hdr_t
| Header used by tcp oob protocol. More...

## Macros
#define | MCA_OOB_TCP_PROBE 1
#define | MCA_OOB_TCP_CONNECT 2
#define | MCA_OOB_TCP_IDENT 3
#define | MCA_OOB_TCP_DATA 4
#define | MCA_OOB_TCP_PING 5
#define | MCA_OOB_TCP_HDR_NTOH(h)
| Convert the message header to host byte order. More...
#define | MCA_OOB_TCP_HDR_HTON(h)
| Convert the message header to network byte order. More...

## Typedefs
typedef struct mca_oob_tcp_hdr_t | mca_oob_tcp_hdr_t

## Detailed Description

Contains header used by tcp oob.

## Macro Definition Documentation

#define MCA_OOB_TCP_HDR_HTON | ( |  | h | ) |

Value:
ORTE_PROCESS_NAME_HTON((h)->msg_origin); \
ORTE_PROCESS_NAME_HTON((h)->msg_src); \
ORTE_PROCESS_NAME_HTON((h)->msg_dst); \
(h)->msg_type = htonl((h)->msg_type); \
(h)->msg_size = htonl((h)->msg_size); \
(h)->msg_tag = htonl((h)->msg_tag);

Convert the message header to network byte order.

Referenced by mca_oob_tcp_ping().

#define MCA_OOB_TCP_HDR_NTOH | ( |  | h | ) |

Value:
ORTE_PROCESS_NAME_NTOH((h)->msg_origin); \
ORTE_PROCESS_NAME_NTOH((h)->msg_src); \
ORTE_PROCESS_NAME_NTOH((h)->msg_dst); \
(h)->msg_type = ntohl((h)->msg_type); \
(h)->msg_size = ntohl((h)->msg_size); \
(h)->msg_tag = ntohl((h)->msg_tag);

Convert the message header to host byte order.

Referenced by mca_oob_tcp_msg_recv_handler(), and mca_oob_tcp_ping().