Loading...
Searching...
No Matches
globus_xio_udp_driver.h
Go to the documentation of this file.
/*
* Copyright 1999-2006 University of Chicago
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef GLOBUS_XIO_UDP_DRIVER_H
#define GLOBUS_XIO_UDP_DRIVER_H
#include "globus_xio_system.h"
#define GLOBUS_XIO_UDP_INVALID_HANDLE GLOBUS_XIO_SYSTEM_INVALID_SOCKET
typedef enum
{
GLOBUS_XIO_UDP_ERROR_NO_ADDRS,
GLOBUS_XIO_UDP_ERROR_SHORT_WRITE
} globus_xio_udp_error_type_t;
* UDP driver specific cntls
* @ingroup globus_xio_udp_driver_cntls
*/
typedef enum
{
/* globus_xio_system_socket_t handle */
GLOBUS_XIO_UDP_SET_HANDLE,
/* const char * service_name */
GLOBUS_XIO_UDP_SET_SERVICE,
/* char ** service_name_out */
GLOBUS_XIO_UDP_GET_SERVICE,
/* int listener_port */
GLOBUS_XIO_UDP_SET_PORT,
/* int * listener_port_out */
GLOBUS_XIO_UDP_GET_PORT,
/* int listener_min_port,
* int listener_max_port */
GLOBUS_XIO_UDP_SET_LISTEN_RANGE,
/* int * listener_min_port_out,
* int * listener_max_port_out */
GLOBUS_XIO_UDP_GET_LISTEN_RANGE,
/* const char * interface */
GLOBUS_XIO_UDP_SET_INTERFACE,
/* char ** interface_out */
GLOBUS_XIO_UDP_GET_INTERFACE,
/* globus_bool_t restrict_port */
GLOBUS_XIO_UDP_SET_RESTRICT_PORT,
/* globus_bool_t * restrict_port_out */
GLOBUS_XIO_UDP_GET_RESTRICT_PORT,
/* globus_bool_t resuseaddr */
GLOBUS_XIO_UDP_SET_REUSEADDR,
/* globus_bool_t * resuseaddr_out */
GLOBUS_XIO_UDP_GET_REUSEADDR,
/* globus_bool_t no_ipv6 */
GLOBUS_XIO_UDP_SET_NO_IPV6,
/* globus_bool_t * no_ipv6_out */
GLOBUS_XIO_UDP_GET_NO_IPV6,
/* globus_xio_system_socket_t * handle_out */
GLOBUS_XIO_UDP_GET_HANDLE,
/* int sndbuf */
GLOBUS_XIO_UDP_SET_SNDBUF,
/* int * sndbuf_out */
GLOBUS_XIO_UDP_GET_SNDBUF,
/* int rcvbuf */
GLOBUS_XIO_UDP_SET_RCVBUF,
/* int * rcvbuf_out */
GLOBUS_XIO_UDP_GET_RCVBUF,
/* char ** contact_string_out */
GLOBUS_XIO_UDP_GET_CONTACT,
/* char ** contact_string_out */
GLOBUS_XIO_UDP_GET_NUMERIC_CONTACT,
/* char * contact_string */
GLOBUS_XIO_UDP_SET_CONTACT,
/* char * contact_string */
GLOBUS_XIO_UDP_CONNECT,
/* char * contact_string */
GLOBUS_XIO_UDP_SET_MULTICAST
} globus_xio_udp_cmd_t;
#endif
globus_xio_udp_cmd_t
globus_xio_udp_cmd_t
Definition globus_xio_udp_driver.h:192
GLOBUS_XIO_UDP_GET_HANDLE
@ GLOBUS_XIO_UDP_GET_HANDLE
Definition globus_xio_udp_driver.h:255
GLOBUS_XIO_UDP_GET_SERVICE
@ GLOBUS_XIO_UDP_GET_SERVICE
Definition globus_xio_udp_driver.h:203
GLOBUS_XIO_UDP_SET_INTERFACE
@ GLOBUS_XIO_UDP_SET_INTERFACE
Definition globus_xio_udp_driver.h:223
GLOBUS_XIO_UDP_GET_CONTACT
@ GLOBUS_XIO_UDP_GET_CONTACT
Definition globus_xio_udp_driver.h:275
GLOBUS_XIO_UDP_GET_NO_IPV6
@ GLOBUS_XIO_UDP_GET_NO_IPV6
Definition globus_xio_udp_driver.h:251
GLOBUS_XIO_UDP_GET_LISTEN_RANGE
@ GLOBUS_XIO_UDP_GET_LISTEN_RANGE
Definition globus_xio_udp_driver.h:219
GLOBUS_XIO_UDP_SET_NO_IPV6
@ GLOBUS_XIO_UDP_SET_NO_IPV6
Definition globus_xio_udp_driver.h:247
GLOBUS_XIO_UDP_GET_RESTRICT_PORT
@ GLOBUS_XIO_UDP_GET_RESTRICT_PORT
Definition globus_xio_udp_driver.h:235
GLOBUS_XIO_UDP_GET_PORT
@ GLOBUS_XIO_UDP_GET_PORT
Definition globus_xio_udp_driver.h:211
GLOBUS_XIO_UDP_SET_CONTACT
@ GLOBUS_XIO_UDP_SET_CONTACT
Definition globus_xio_udp_driver.h:283
GLOBUS_XIO_UDP_GET_RCVBUF
@ GLOBUS_XIO_UDP_GET_RCVBUF
Definition globus_xio_udp_driver.h:271
GLOBUS_XIO_UDP_GET_SNDBUF
@ GLOBUS_XIO_UDP_GET_SNDBUF
Definition globus_xio_udp_driver.h:263
GLOBUS_XIO_UDP_SET_LISTEN_RANGE
@ GLOBUS_XIO_UDP_SET_LISTEN_RANGE
Definition globus_xio_udp_driver.h:215
GLOBUS_XIO_UDP_GET_REUSEADDR
@ GLOBUS_XIO_UDP_GET_REUSEADDR
Definition globus_xio_udp_driver.h:243
GLOBUS_XIO_UDP_SET_PORT
@ GLOBUS_XIO_UDP_SET_PORT
Definition globus_xio_udp_driver.h:207
GLOBUS_XIO_UDP_SET_REUSEADDR
@ GLOBUS_XIO_UDP_SET_REUSEADDR
Definition globus_xio_udp_driver.h:239
GLOBUS_XIO_UDP_SET_SNDBUF
@ GLOBUS_XIO_UDP_SET_SNDBUF
Definition globus_xio_udp_driver.h:259
GLOBUS_XIO_UDP_SET_RCVBUF
@ GLOBUS_XIO_UDP_SET_RCVBUF
Definition globus_xio_udp_driver.h:267
GLOBUS_XIO_UDP_SET_SERVICE
@ GLOBUS_XIO_UDP_SET_SERVICE
Definition globus_xio_udp_driver.h:199
GLOBUS_XIO_UDP_SET_HANDLE
@ GLOBUS_XIO_UDP_SET_HANDLE
Definition globus_xio_udp_driver.h:195
GLOBUS_XIO_UDP_SET_RESTRICT_PORT
@ GLOBUS_XIO_UDP_SET_RESTRICT_PORT
Definition globus_xio_udp_driver.h:231
GLOBUS_XIO_UDP_GET_INTERFACE
@ GLOBUS_XIO_UDP_GET_INTERFACE
Definition globus_xio_udp_driver.h:227
GLOBUS_XIO_UDP_SET_MULTICAST
@ GLOBUS_XIO_UDP_SET_MULTICAST
Definition globus_xio_udp_driver.h:291
GLOBUS_XIO_UDP_GET_NUMERIC_CONTACT
@ GLOBUS_XIO_UDP_GET_NUMERIC_CONTACT
Definition globus_xio_udp_driver.h:279
GLOBUS_XIO_UDP_CONNECT
@ GLOBUS_XIO_UDP_CONNECT
Definition globus_xio_udp_driver.h:287
globus_xio_udp_error_type_t
globus_xio_udp_error_type_t
Definition globus_xio_udp_driver.h:168
GLOBUS_XIO_UDP_ERROR_SHORT_WRITE
@ GLOBUS_XIO_UDP_ERROR_SHORT_WRITE
Definition globus_xio_udp_driver.h:178
GLOBUS_XIO_UDP_ERROR_NO_ADDRS
@ GLOBUS_XIO_UDP_ERROR_NO_ADDRS
Definition globus_xio_udp_driver.h:173