OpenMPI  0.1.1
btl_sctp_utils.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-2006 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-2005 The Regents of the University of California.
11  * All rights reserved.
12  * $COPYRIGHT$
13  *
14  * Additional copyrights may follow
15  *
16  * $HEADER$
17  */
18 
19 #ifndef MCA_BTL_SCTP_UTILS_H
20 #define MCA_BTL_SCTP_UTILS_H
21 
22 #include "btl_sctp.h"
23 #include "btl_sctp_frag.h"
24 #include "btl_sctp_endpoint.h"
25 #include "btl_sctp_addr.h"
26 #include <string.h>
27 #include <sys/socket.h>
28 #include <netinet/sctp.h>
29 
30 struct sockaddr_in mca_btl_sctp_utils_sockaddr_from_frag(struct mca_btl_sctp_frag_t *frag);
31 struct sockaddr_in mca_btl_sctp_utils_sockaddr_from_endpoint(struct mca_btl_base_endpoint_t *ep);
32 int mca_btl_sctp_utils_writev(int sd, struct iovec *vec, size_t len,
33  struct sockaddr *to_addr, socklen_t to_len, uint16_t stream_no);
34 
35 #endif
SCTP fragment derived type.
Definition: btl_sctp_frag.h:43
Definition: ompi_uio.h:29
State of ELAN endpoint connection.
Definition: btl_elan_endpoint.h:33