OpenMPI  0.1.1
btl_sctp_addr.h
Go to the documentation of this file.
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-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  * @file
20  */
21 #ifndef MCA_BTL_SCTP_ADDR_H
22 #define MCA_BTL_SCTP_ADDR_H
23 
24 #ifdef HAVE_SYS_TYPES_H
25 #include <sys/types.h>
26 #endif
27 #ifdef HAVE_SYS_SOCKET_H
28 #include <sys/socket.h>
29 #endif
30 #ifdef HAVE_NETINET_IN_H
31 #include <netinet/in.h>
32 #endif
33 
34 
35 /**
36  * Structure used to publish SCTP connection information to peers.
37  */
39  struct in_addr addr_inet; /**< IPv4 address in network byte order */
40  in_port_t addr_port; /**< listen port */
41  unsigned short addr_inuse; /**< local meaning only */
42 };
44 
45 #endif
46 
struct in_addr addr_inet
IPv4 address in network byte order.
Definition: btl_sctp_addr.h:39
unsigned short addr_inuse
local meaning only
Definition: btl_sctp_addr.h:41
Structure used to publish SCTP connection information to peers.
Definition: btl_sctp_addr.h:38
in_port_t addr_port
listen port
Definition: btl_sctp_addr.h:40