/*************************************************************************\ * Copyright (c) 2002 The University of Chicago, as Operator of Argonne * National Laboratory. * Copyright (c) 2002 The Regents of the University of California, as * Operator of Los Alamos National Laboratory. * SPDX-License-Identifier: EPICS * EPICS BASE is distributed subject to a Software License Agreement found * in file LICENSE that is included with this distribution. \*************************************************************************/ /* * Linux specific socket include */ #ifndef osdSockH #define osdSockH #include #include #include /* for MAXHOSTNAMELEN */ #include #include #include #include #include #include #include #include #include /* close() and others */ #ifndef IPPORT_USERRESERVED #define IPPORT_USERRESERVED 5000 #endif typedef int SOCKET; #define INVALID_SOCKET (-1) #define SOCKERRNO errno #define socket_ioctl(A,B,C) ioctl(A,B,C) typedef int osiSockIoctl_t; typedef socklen_t osiSocklen_t; typedef int osiSockOptMcastLoop_t; typedef int osiSockOptMcastTTL_t; #define FD_IN_FDSET(FD) ((FD)ifr_name)) #endif /*osdSockH*/