19 #ifndef MCA_BTL_GM_ENDPOINT_H
20 #define MCA_BTL_GM_ENDPOINT_H
23 #include "opal/mca/event/event.h"
24 #include "btl_gm_frag.h"
27 #ifdef HAVE_ARPA_INET_H
28 #include <arpa/inet.h>
38 #if GM_API_VERSION > 0x200
39 unsigned int global_id;
41 char global_id[GM_MAX_HOST_NAME_LEN];
48 #if GM_API_VERSION > 0x200
49 #define MCA_BTL_GM_ADDR_HTON(addr) \
50 addr.global_id = htonl(addr.global_id); \
51 addr.node_id = htonl(addr.node_id); \
52 addr.port_id = htonl(addr.port_id);
54 #define MCA_BTL_GM_ADDR_NTOH(addr) \
55 addr.global_id = ntohl(addr.global_id); \
56 addr.node_id = ntohl(addr.node_id); \
57 addr.port_id = ntohl(addr.port_id);
59 #define MCA_BTL_GM_ADDR_HTON(addr) \
60 addr.node_id = htonl(addr.node_id); \
61 addr.port_id = htonl(addr.port_id);
63 #define MCA_BTL_GM_ADDR_NTOH(addr) \
64 addr.node_id = ntohl(addr.node_id); \
65 addr.port_id = ntohl(addr.port_id);
struct mca_btl_gm_proc_t * endpoint_proc
proc structure corresponding to endpoint
Definition: btl_gm_endpoint.h:81
The opal_list_t interface is used to provide a generic doubly-linked list container for Open MPI...
Definition: opal_list.h:98
Represents the state of a remote process and the set of addresses that it exports.
Definition: btl_gm_proc.h:36
struct mca_btl_gm_module_t * endpoint_btl
BTL instance that created this connection.
Definition: btl_gm_endpoint.h:78
Structure used to publish GM id information to peers.
Definition: btl_gm_endpoint.h:37
State of ELAN endpoint connection.
Definition: btl_elan_endpoint.h:33
BTL Module Interface.
Definition: btl_gm.h:77
#define OBJ_CLASS_DECLARATION(NAME)
Declaration for class descriptor.
Definition: opal_object.h:236