globus_xio
4.15
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
builtins
tcp
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
19
23
#include "globus_xio_system.h"
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
172
#define GLOBUS_XIO_TCP_INVALID_HANDLE GLOBUS_XIO_SYSTEM_INVALID_SOCKET
173
178
typedef
enum
179
{
184
GLOBUS_XIO_TCP_ERROR_NO_ADDRS
185
}
globus_xio_tcp_error_type_t
;
186
202
typedef
enum
203
{
216
/* const char * service_name */
217
GLOBUS_XIO_TCP_SET_SERVICE
,
218
228
/* char ** service_name_out */
229
GLOBUS_XIO_TCP_GET_SERVICE
,
230
244
/* int listener_port */
245
GLOBUS_XIO_TCP_SET_PORT
,
246
254
/* int * listener_port_out */
255
GLOBUS_XIO_TCP_GET_PORT
,
256
269
/* int listener_backlog */
270
GLOBUS_XIO_TCP_SET_BACKLOG
,
271
279
/* int * listener_backlog_out */
280
GLOBUS_XIO_TCP_GET_BACKLOG
,
281
300
/* int listener_min_port,
301
* int listener_max_port */
302
GLOBUS_XIO_TCP_SET_LISTEN_RANGE
,
303
314
/* int * listener_min_port_out,
315
* int * listener_max_port_out */
316
GLOBUS_XIO_TCP_GET_LISTEN_RANGE
,
317
326
/* globus_xio_system_socket_t * handle_out */
327
GLOBUS_XIO_TCP_GET_HANDLE
,
328
339
/* globus_xio_system_socket_t handle */
340
GLOBUS_XIO_TCP_SET_HANDLE
,
341
353
/* const char * interface */
354
GLOBUS_XIO_TCP_SET_INTERFACE
,
355
365
/* char ** interface_out */
366
GLOBUS_XIO_TCP_GET_INTERFACE
,
367
381
/* globus_bool_t restrict_port */
382
GLOBUS_XIO_TCP_SET_RESTRICT_PORT
,
383
391
/* globus_bool_t * restrict_port_out */
392
GLOBUS_XIO_TCP_GET_RESTRICT_PORT
,
393
406
/* globus_bool_t resuseaddr */
407
GLOBUS_XIO_TCP_SET_REUSEADDR
,
408
416
/* globus_bool_t * resuseaddr_out */
417
GLOBUS_XIO_TCP_GET_REUSEADDR
,
418
431
/* globus_bool_t no_ipv6 */
432
GLOBUS_XIO_TCP_SET_NO_IPV6
,
433
441
/* globus_bool_t * no_ipv6_out */
442
GLOBUS_XIO_TCP_GET_NO_IPV6
,
443
460
/* int connector_min_port,
461
* int connector_max_port */
462
GLOBUS_XIO_TCP_SET_CONNECT_RANGE
,
463
474
/* int * connector_min_port_out,
475
* int * connector_max_port_out */
476
GLOBUS_XIO_TCP_GET_CONNECT_RANGE
,
477
492
/* globus_bool_t keepalive */
493
GLOBUS_XIO_TCP_SET_KEEPALIVE
,
494
502
/* globus_bool_t * keepalive_out */
503
GLOBUS_XIO_TCP_GET_KEEPALIVE
,
504
525
/* globus_bool_t linger,
526
* int linger_time */
527
GLOBUS_XIO_TCP_SET_LINGER
,
528
539
/* globus_bool_t * linger_out,
540
* int * linger_time_out */
541
GLOBUS_XIO_TCP_GET_LINGER
,
542
554
/* globus_bool_t oobinline */
555
GLOBUS_XIO_TCP_SET_OOBINLINE
,
556
564
/* globus_bool_t * oobinline_out */
565
GLOBUS_XIO_TCP_GET_OOBINLINE
,
566
579
/* int sndbuf */
580
GLOBUS_XIO_TCP_SET_SNDBUF
,
581
589
/* int * sndbuf_out */
590
GLOBUS_XIO_TCP_GET_SNDBUF
,
591
606
/* int rcvbuf */
607
GLOBUS_XIO_TCP_SET_RCVBUF
,
608
616
/* int * rcvbuf_out */
617
GLOBUS_XIO_TCP_GET_RCVBUF
,
618
633
/* globus_bool_t nodelay */
634
GLOBUS_XIO_TCP_SET_NODELAY
,
635
643
/* globus_bool_t * nodelay_out */
644
GLOBUS_XIO_TCP_GET_NODELAY
,
645
656
/* int send_flags */
657
GLOBUS_XIO_TCP_SET_SEND_FLAGS
,
658
666
/* int * send_flags_out */
667
GLOBUS_XIO_TCP_GET_SEND_FLAGS
,
668
681
/* char ** contact_string_out */
682
GLOBUS_XIO_TCP_GET_LOCAL_CONTACT
,
683
695
/* char ** contact_string_out */
696
GLOBUS_XIO_TCP_GET_LOCAL_NUMERIC_CONTACT
,
697
709
/* char ** contact_string_out */
710
GLOBUS_XIO_TCP_GET_REMOTE_CONTACT
,
711
723
/* char ** contact_string_out */
724
GLOBUS_XIO_TCP_GET_REMOTE_NUMERIC_CONTACT
,
725
740
/* globus_bool_t affect_global */
741
GLOBUS_XIO_TCP_AFFECT_ATTR_DEFAULTS
,
742
752
/* globus_bool_t use_blocking_io */
753
GLOBUS_XIO_TCP_SET_BLOCKING_IO
,
754
762
/* globus_bool_t * use_blocking_io_out */
763
GLOBUS_XIO_TCP_GET_BLOCKING_IO
764
765
}
globus_xio_tcp_cmd_t
;
766
767
773
typedef
enum
774
{
779
GLOBUS_XIO_TCP_SEND_OOB
= MSG_OOB
780
}
globus_xio_tcp_send_flags_t
;
781
782
#ifdef __cplusplus
783
}
784
#endif
785
786
#endif
Generated on Mon Oct 5 2015 14:53:11 for globus_xio by
1.8.1.2