19 #ifndef MCA_BTL_MX_ENDPOINT_H
20 #define MCA_BTL_MX_ENDPOINT_H
23 #include "opal/mca/event/event.h"
24 #include "btl_mx_frag.h"
31 #define MCA_BTL_MX_NOT_CONNECTED 0x0000
32 #define MCA_BTL_MX_NOT_REACHEABLE 0x0001
33 #define MCA_BTL_MX_CONNECTION_PENDING 0x0002
34 #define MCA_BTL_MX_CONNECTED 0x0004
42 uint32_t unique_network_id;
46 #define BTL_MX_ADDR_HTON(h) \
48 h.nic_id = hton64(h.nic_id); \
49 h.endpoint_id = htonl(h.endpoint_id); \
50 h.unique_network_id = htonl(h.unique_network_id); \
53 #define BTL_MX_ADDR_NTOH(h) \
55 h.nic_id = ntoh64(h.nic_id); \
56 h.endpoint_id = ntohl(h.endpoint_id); \
57 h.unique_network_id = ntohl(h.unique_network_id); \
mx_endpoint_addr_t mx_peer_addr
the address as reported by the peer
Definition: btl_mx_endpoint.h:80
The opal_list_t interface is used to provide a generic doubly-linked list container for Open MPI...
Macros to help interaction between hwloc and Myrinet Express.
Structure used to publish MX information to peers.
Definition: btl_mx_endpoint.h:39
Definition: opal_list.h:98
int status
the remote MX endpoint address
Definition: btl_mx_endpoint.h:83
State of ELAN endpoint connection.
Definition: btl_elan_endpoint.h:33
BTL Module Interface.
Definition: btl_mx.h:115
struct mca_btl_mx_proc_t * endpoint_proc
proc structure corresponding to endpoint
Definition: btl_mx_endpoint.h:74
struct mca_btl_mx_module_t * endpoint_btl
BTL instance that created this connection.
Definition: btl_mx_endpoint.h:71
#define OBJ_CLASS_DECLARATION(NAME)
Declaration for class descriptor.
Definition: opal_object.h:236
Represents the state of a remote process and the set of addresses that it exports.
Definition: btl_mx_proc.h:34