globus_xio  6.5
globus_xio_tcp_driver.h
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2006 University of Chicago
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef GLOBUS_XIO_TCP_DRIVER_INCLUDE
18 #define GLOBUS_XIO_TCP_DRIVER_INCLUDE
23 #include "globus_xio_system.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
181 #define GLOBUS_XIO_TCP_INVALID_HANDLE GLOBUS_XIO_SYSTEM_INVALID_SOCKET
182 
187 typedef enum
188 {
195 
211 typedef enum
212 {
225  /* const char * service_name */
227 
237  /* char ** service_name_out */
239 
253  /* int listener_port */
255 
263  /* int * listener_port_out */
265 
278  /* int listener_backlog */
280 
288  /* int * listener_backlog_out */
290 
309  /* int listener_min_port,
310  * int listener_max_port */
312 
323  /* int * listener_min_port_out,
324  * int * listener_max_port_out */
326 
335  /* globus_xio_system_socket_t * handle_out */
337 
348  /* globus_xio_system_socket_t handle */
350 
362  /* const char * interface */
364 
374  /* char ** interface_out */
376 
390  /* globus_bool_t restrict_port */
392 
400  /* globus_bool_t * restrict_port_out */
402 
415  /* globus_bool_t resuseaddr */
417 
425  /* globus_bool_t * resuseaddr_out */
427 
440  /* globus_bool_t no_ipv6 */
442 
450  /* globus_bool_t * no_ipv6_out */
452 
469  /* int connector_min_port,
470  * int connector_max_port */
472 
483  /* int * connector_min_port_out,
484  * int * connector_max_port_out */
486 
501  /* globus_bool_t keepalive */
503 
511  /* globus_bool_t * keepalive_out */
513 
534  /* globus_bool_t linger,
535  * int linger_time */
537 
548  /* globus_bool_t * linger_out,
549  * int * linger_time_out */
551 
563  /* globus_bool_t oobinline */
565 
573  /* globus_bool_t * oobinline_out */
575 
588  /* int sndbuf */
590 
598  /* int * sndbuf_out */
600 
615  /* int rcvbuf */
617 
625  /* int * rcvbuf_out */
627 
642  /* globus_bool_t nodelay */
644 
652  /* globus_bool_t * nodelay_out */
654 
665  /* int send_flags */
667 
675  /* int * send_flags_out */
677 
690  /* char ** contact_string_out */
692 
704  /* char ** contact_string_out */
706 
718  /* char ** contact_string_out */
720 
732  /* char ** contact_string_out */
734 
749  /* globus_bool_t affect_global */
751 
761  /* globus_bool_t use_blocking_io */
763 
771  /* globus_bool_t * use_blocking_io_out */
773 
775 
776 
782 typedef enum
783 {
788  GLOBUS_XIO_TCP_SEND_OOB = MSG_OOB
790 
791 #ifdef __cplusplus
792 }
793 #endif
794 
795 #endif
globus_xio_tcp_cmd_t
Definition: globus_xio_tcp_driver.h:208
@ GLOBUS_XIO_TCP_SET_CONNECT_RANGE
Definition: globus_xio_tcp_driver.h:283
@ GLOBUS_XIO_TCP_GET_REUSEADDR
Definition: globus_xio_tcp_driver.h:271
@ GLOBUS_XIO_TCP_SET_LISTEN_RANGE
Definition: globus_xio_tcp_driver.h:235
@ GLOBUS_XIO_TCP_GET_CONNECT_RANGE
Definition: globus_xio_tcp_driver.h:287
@ GLOBUS_XIO_TCP_GET_BLOCKING_IO
Definition: globus_xio_tcp_driver.h:371
@ GLOBUS_XIO_TCP_SET_RESTRICT_PORT
Definition: globus_xio_tcp_driver.h:259
@ GLOBUS_XIO_TCP_SET_INTERFACE
Definition: globus_xio_tcp_driver.h:251
@ GLOBUS_XIO_TCP_SET_RCVBUF
Definition: globus_xio_tcp_driver.h:323
@ GLOBUS_XIO_TCP_SET_NO_IPV6
Definition: globus_xio_tcp_driver.h:275
@ GLOBUS_XIO_TCP_GET_INTERFACE
Definition: globus_xio_tcp_driver.h:255
@ GLOBUS_XIO_TCP_SET_SNDBUF
Definition: globus_xio_tcp_driver.h:315
@ GLOBUS_XIO_TCP_SET_BACKLOG
Definition: globus_xio_tcp_driver.h:227
@ GLOBUS_XIO_TCP_AFFECT_ATTR_DEFAULTS
Definition: globus_xio_tcp_driver.h:363
@ GLOBUS_XIO_TCP_GET_HANDLE
Definition: globus_xio_tcp_driver.h:243
@ GLOBUS_XIO_TCP_GET_PORT
Definition: globus_xio_tcp_driver.h:223
@ GLOBUS_XIO_TCP_SET_SEND_FLAGS
Definition: globus_xio_tcp_driver.h:339
@ GLOBUS_XIO_TCP_SET_LINGER
Definition: globus_xio_tcp_driver.h:299
@ GLOBUS_XIO_TCP_GET_LISTEN_RANGE
Definition: globus_xio_tcp_driver.h:239
@ GLOBUS_XIO_TCP_SET_BLOCKING_IO
Definition: globus_xio_tcp_driver.h:367
@ GLOBUS_XIO_TCP_GET_LOCAL_CONTACT
Definition: globus_xio_tcp_driver.h:347
@ GLOBUS_XIO_TCP_GET_SEND_FLAGS
Definition: globus_xio_tcp_driver.h:343
@ GLOBUS_XIO_TCP_SET_NODELAY
Definition: globus_xio_tcp_driver.h:331
@ GLOBUS_XIO_TCP_SET_OOBINLINE
Definition: globus_xio_tcp_driver.h:307
@ GLOBUS_XIO_TCP_GET_LINGER
Definition: globus_xio_tcp_driver.h:303
@ GLOBUS_XIO_TCP_GET_REMOTE_CONTACT
Definition: globus_xio_tcp_driver.h:355
@ GLOBUS_XIO_TCP_GET_SNDBUF
Definition: globus_xio_tcp_driver.h:319
@ GLOBUS_XIO_TCP_SET_REUSEADDR
Definition: globus_xio_tcp_driver.h:267
@ GLOBUS_XIO_TCP_GET_RCVBUF
Definition: globus_xio_tcp_driver.h:327
@ GLOBUS_XIO_TCP_SET_HANDLE
Definition: globus_xio_tcp_driver.h:247
@ GLOBUS_XIO_TCP_GET_RESTRICT_PORT
Definition: globus_xio_tcp_driver.h:263
@ GLOBUS_XIO_TCP_SET_PORT
Definition: globus_xio_tcp_driver.h:219
@ GLOBUS_XIO_TCP_GET_REMOTE_NUMERIC_CONTACT
Definition: globus_xio_tcp_driver.h:359
@ GLOBUS_XIO_TCP_GET_KEEPALIVE
Definition: globus_xio_tcp_driver.h:295
@ GLOBUS_XIO_TCP_SET_KEEPALIVE
Definition: globus_xio_tcp_driver.h:291
@ GLOBUS_XIO_TCP_GET_NODELAY
Definition: globus_xio_tcp_driver.h:335
@ GLOBUS_XIO_TCP_GET_NO_IPV6
Definition: globus_xio_tcp_driver.h:279
@ GLOBUS_XIO_TCP_GET_BACKLOG
Definition: globus_xio_tcp_driver.h:231
@ GLOBUS_XIO_TCP_SET_SERVICE
Definition: globus_xio_tcp_driver.h:211
@ GLOBUS_XIO_TCP_GET_SERVICE
Definition: globus_xio_tcp_driver.h:215
@ GLOBUS_XIO_TCP_GET_OOBINLINE
Definition: globus_xio_tcp_driver.h:311
@ GLOBUS_XIO_TCP_GET_LOCAL_NUMERIC_CONTACT
Definition: globus_xio_tcp_driver.h:351
globus_xio_tcp_error_type_t
Definition: globus_xio_tcp_driver.h:188
@ GLOBUS_XIO_TCP_ERROR_NO_ADDRS
Definition: globus_xio_tcp_driver.h:193
globus_xio_tcp_send_flags_t
Definition: globus_xio_tcp_driver.h:382
@ GLOBUS_XIO_TCP_SEND_OOB
Definition: globus_xio_tcp_driver.h:387