/* Copyright (c) 1993 Xerox Corporation. All rights reserved. */ /* */ #ifndef __XR_sys_sockio_h #define __XR_sys_sockio_h #include /* * This one is heavy, but reading of SunOS4.1.3 and 5.2 headers * suggests they agree on everything but the I_XXXX definitions, * and those are pretty easy ... */ #if defined(PCR_OS_SUNOS4) || defined(PCR_OS_SUNOS5) #define XR_sys_sockio_IOCtlCmdP(cmd) (\ (((cmd) & 0xff00) == ('i'<<8)) || (((cmd) & 0xff00) == ('s'<<8)) ) # define XR_sys_sockio_IOCtlCmdToHost(cmd) (cmd) #else # error os ? #endif #endif /*!__XR_sys_sockio_h*/