OpenMPI  0.1.1
mtl_psm_endpoint.h
1 /*
2  * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
3  * University Research and Technology
4  * Corporation. All rights reserved.
5  * Copyright (c) 2004-2005 The University of Tennessee and The University
6  * of Tennessee Research Foundation. All rights
7  * reserved.
8  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
9  * University of Stuttgart. All rights reserved.
10  * Copyright (c) 2004-2006 The Regents of the University of California.
11  * All rights reserved.
12  * Copyright (c) 2006 QLogic Corporation. All rights reserved.
13  * $COPYRIGHT$
14  *
15  * Additional copyrights may follow
16  *
17  * $HEADER$
18  */
19 
20 #ifndef MCA_MTL_PSM_ENDPOINT_H
21 #define MCA_MTL_PSM_ENDPOINT_H
22 
23 #include "opal/class/opal_list.h"
24 #include "opal/mca/event/event.h"
25 #include "ompi/mca/mtl/mtl.h"
26 #include "mtl_psm.h"
27 
28 #include "psm.h"
29 
30 BEGIN_C_DECLS
31 
33 
34 /**
35  * An abstraction that represents a connection to a endpoint process.
36  * An instance of mca_mtl_base_endpoint_t is associated w/ each process
37  * and MTL pair at startup. However, connections to the endpoint
38  * are established dynamically on an as-needed basis:
39  */
40 
42  opal_list_item_t super;
43 
45  /**< MTL instance that created this connection */
46 
47  psm_epid_t peer_epid;
48  /**< The unique epid for the opened port */
49 
50  psm_epaddr_t peer_addr;
51  /**< The connected endpoint handle*/
52 };
53 
56 OBJ_CLASS_DECLARATION(mca_mtl_psm_endpoint);
57 
58 END_C_DECLS
59 #endif
psm_epaddr_t peer_addr
The connected endpoint handle.
Definition: mtl_psm_endpoint.h:50
MTL Module Interface.
Definition: mtl_psm_types.h:40
The opal_list_t interface is used to provide a generic doubly-linked list container for Open MPI...
Definition: opal_list.h:98
An abstraction that represents a connection to a endpoint process.
Definition: mtl_mx_endpoint.h:50
struct mca_mtl_psm_module_t * mtl_psm_module
MTL instance that created this connection.
Definition: mtl_psm_endpoint.h:44
Matching Transport Layer.
psm_epid_t peer_epid
The unique epid for the opened port.
Definition: mtl_psm_endpoint.h:47
#define OBJ_CLASS_DECLARATION(NAME)
Declaration for class descriptor.
Definition: opal_object.h:236