/* RX: Extended Remote Procedure Call */
#include <afsconfig.h>
-#include "afs/param.h"
+#include <afs/param.h>
#ifdef KERNEL
# include "afs/sysincludes.h"
# include "afs/rxgen_consts.h"
#else /* KERNEL */
# include <roken.h>
-# include <sys/types.h>
-# include <string.h>
-# include <stdarg.h>
-# include <errno.h>
-# ifdef HAVE_STDINT_H
-# include <stdint.h>
-# endif
+
# ifdef AFS_NT40_ENV
-# include <stdlib.h>
-# include <fcntl.h>
# include <afs/afsutil.h>
# include <WINNT\afsreg.h>
-# else
-# include <sys/socket.h>
-# include <sys/file.h>
-# include <netdb.h>
-# include <sys/stat.h>
-# include <netinet/in.h>
-# include <sys/time.h>
# endif
+
# include "rx_user.h"
#endif /* KERNEL */
/* See rx_clock.h for calling conventions */
#include <afsconfig.h>
-#include "afs/param.h"
+#include <afs/param.h>
#ifdef AFS_SUN59_ENV
#include <sys/time_impl.h>
# include "afsincludes.h"
# endif /* !UKERNEL */
#else /* KERNEL */
-# include <sys/time.h>
-# ifdef HAVE_SIGNAL_H
-# include <signal.h>
-# endif
-# include <stdio.h>
-# include <errno.h>
-# include <stdlib.h>
+# include <roken.h>
#endif
#include "rx.h"
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#ifdef AFS_NT40_ENV
-#include <stdio.h>
-#include <stdlib.h>
#include <windef.h>
#include <winbase.h>
#include "rx_clock.h"
#include <afsconfig.h>
#include <afs/param.h>
-#ifndef KERNEL
-# include <roken.h>
-#endif /* KERNEL */
+#include <roken.h>
-#include <sys/types.h>
-#include <errno.h>
#include "rx.h"
/*
*/
#include <afsconfig.h>
-#include "afs/param.h"
+#include <afs/param.h>
#ifdef AFS_SUN59_ENV
# include <sys/time_impl.h>
# endif
#else /* KERNEL */
# include <roken.h>
-# include <stdio.h>
# include "rx_user.h"
# ifdef AFS_PTHREAD_ENV
# include "rx_pthread.h"
# else
# include "rx_lwp.h"
# endif
-# ifdef AFS_NT40_ENV
-# include <malloc.h>
-# endif
#endif /* KERNEL */
#include "rx.h"
#include <afsconfig.h>
#include <afs/param.h>
-
#ifndef KERNEL
+
+# include <roken.h>
# ifndef AFS_NT40_ENV
-# include <sys/types.h>
-# include <sys/socket.h>
-# include <sys/time.h>
-# include <net/if.h>
-# include <netinet/in.h>
-# include <sys/ioctl.h>
-# include <string.h>
+# include <net/if.h>
# if defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV)
# include <sys/sysctl.h>
# ifndef AFS_ARM_DARWIN_ENV
#endif
#include <afsconfig.h>
-#include "afs/param.h"
+#include <afs/param.h>
/* Enable data initialization when the header file is included */
#define GLOBALSINIT(stuff) = stuff
#ifndef KERNEL
# include <roken.h>
-# include <sys/types.h>
-# include <string.h>
#else
# include "afs/sysincludes.h"
# include "afsincludes.h"
*/
#include <afsconfig.h>
-#include "afs/param.h"
+#include <afs/param.h>
#include "rx/rx_kcommon.h"
#include <afsconfig.h>
#include <afs/param.h>
-#ifndef KERNEL
-# include <roken.h>
-#endif /* KERNEL */
+#include <roken.h>
-#include <sys/types.h> /* fd_set on older platforms */
-#include <errno.h>
-#include <signal.h>
-#ifdef AFS_NT40_ENV
-# include <winsock2.h>
-#else
-# include <unistd.h> /* select() prototype */
-# include <sys/time.h> /* struct timeval, select() prototype */
-# ifndef FD_SET
-# include <sys/select.h> /* fd_set on newer platforms */
-# endif
-# include <sys/socket.h>
-# include <sys/file.h>
-# include <netdb.h>
-# include <sys/stat.h>
-# include <netinet/in.h>
-# include <net/if.h>
-# include <sys/ioctl.h>
-# include <sys/time.h>
-#endif
+#include <lwp.h>
#include "rx.h"
#include "rx_atomic.h"
#include "rx_globals.h"
#include "rx_stats.h"
-#include <lwp.h>
#define MAXTHREADNAMELENGTH 64
# include <afsincludes.h>
#else
# include <roken.h>
-# ifdef AFS_NT40_ENV
-# include <winsock2.h>
-# include <malloc.h>
-# else
-# include <sys/param.h>
-# endif
-# include <errno.h>
# include <afs/errors.h>
# include "xdr.h"
# ifdef AFS_PTHREAD_ENV
# include "rx.h"
# endif /* AFS_PTHREAD_ENV */
-# include <stdlib.h>
-# include <string.h>
-# ifdef HAVE_UNISTD_H
-# include <unistd.h>
-# endif
# ifdef AFS_NT40_ENV
# ifndef EDQUOT
# define EDQUOT WSAEDQUOT
#include <afs/param.h>
#ifdef KERNEL
-#include "afs/sysincludes.h"
+# include "afs/sysincludes.h"
#else /* KERNEL */
# include <roken.h>
#endif /* KERNEL */
*/
#include <afsconfig.h>
-#include "afs/param.h"
+#include <afs/param.h>
#ifdef KERNEL
# ifndef UKERNEL
#ifndef KERNEL
# include <roken.h>
-# include <sys/types.h>
-# include <string.h>
-# include <errno.h>
#else
# include "afs/sysincludes.h"
# include "afsincludes.h"
# endif /* defined(UKERNEL) */
#else /* KERNEL */
# include <roken.h>
-# include <sys/types.h>
-# include <sys/stat.h>
-# include <errno.h>
-# include <stdlib.h>
# include <assert.h>
-# include <string.h>
-# ifdef HAVE_UNISTD_H
-# include <unistd.h>
-# endif
# if defined(AFS_NT40_ENV)
-# include <winsock2.h>
# ifndef EWOULDBLOCK
# define EWOULDBLOCK WSAEWOULDBLOCK
# endif
# include "rx_user.h"
# include "rx_xmit_nt.h"
-# else
-# include <sys/socket.h>
-# include <netinet/in.h>
# endif
# include <lwp.h>
#endif /* KERNEL */
#include <afsconfig.h>
#include <afs/param.h>
-#ifndef KERNEL
-# include <roken.h>
-#endif /* KERNEL */
-
-#include <sys/types.h>
-#include <errno.h>
-#include <signal.h>
-#include <string.h>
-#ifdef HAVE_STDINT_H
-# include <stdint.h>
-#endif
-#ifndef AFS_NT40_ENV
-# include <sys/socket.h>
-# include <sys/file.h>
-# include <netdb.h>
-# include <netinet/in.h>
-# include <net/if.h>
-# include <sys/ioctl.h>
-# include <sys/time.h>
-# include <unistd.h>
-# include <assert.h>
-#endif
-#include <sys/stat.h>
+#include <roken.h>
+
+#include <assert.h>
#include "rx.h"
#include "rx_globals.h"
# include "afs/lock.h"
#else /* KERNEL */
# include <roken.h>
-# include <sys/types.h>
-# include <string.h>
-# ifdef AFS_NT40_ENV
-# include <winsock2.h>
-# else /* !AFS_NT40_ENV */
-# include <sys/socket.h>
-# include <sys/file.h>
-# include <netdb.h>
-# include <netinet/in.h>
-# include <sys/stat.h>
-# include <sys/time.h>
-# include <unistd.h>
-# endif /* !AFS_NT40_ENV */
#endif /* KERNEL */
#include "rx.h"
#if !defined(KERNEL)
#include <roken.h>
-#include <string.h>
#endif
#ifdef KERNEL
#include <afsconfig.h>
#include <afs/param.h>
-#ifndef KERNEL
-# include <roken.h>
-#endif /* KERNEL */
+#include <roken.h>
#ifndef RXDEBUG
char rxi_tracename[80] = "\0Tracing not compiled in";
}
#endif
#else
-#include <string.h>
-#ifdef AFS_NT40_ENV
-#include <fcntl.h>
-#include <io.h>
-#else
-#include <sys/file.h>
-#include <unistd.h>
-#endif
#include "rx.h"
#include "rx_atomic.h"
#include <afsconfig.h>
#include <afs/param.h>
-#ifndef KERNEL
-# include <roken.h>
-#endif /* KERNEL */
-
-#include <sys/types.h>
-#include <errno.h>
-#include <signal.h>
-#include <string.h>
+#include <roken.h>
+
#ifdef AFS_NT40_ENV
# include <WINNT/syscfg.h>
#else
-# include <sys/socket.h>
-# include <sys/file.h>
-# include <netdb.h>
-# include <sys/stat.h>
-# include <netinet/in.h>
-# include <sys/time.h>
# include <net/if.h>
-# include <sys/ioctl.h>
-# include <unistd.h>
#endif
-#include <fcntl.h>
#if !defined(AFS_AIX_ENV) && !defined(AFS_NT40_ENV)
# include <sys/syscall.h>
#endif
#endif
#endif
-#ifndef AFS_NT40_ENV
-# include <sys/time.h>
-#endif
-
#include "rx.h"
#include "rx_atomic.h"
#include "rx_globals.h"
#ifndef KERNEL
# include <roken.h>
-# include <string.h>
#endif
#ifndef AFS_LINUX20_ENV
#include <sys/systm.h>
#endif
-#else
-#include <stdio.h>
#endif
#include "xdr.h"
#include "rx.h"
*/
#include <afsconfig.h>
-#include "afs/param.h"
-
+#include <afs/param.h>
#if defined(KERNEL) && !defined(UKERNEL)
#ifdef AFS_LINUX20_ENV
#include "h/string.h"
-#if 0
-#define bzero(A, C) memset((A), 0, (C))
-#endif
#else
#include <sys/param.h>
#include <sys/systm.h>
#endif
-#else
-#include <stdio.h>
+#include <roken.h>
#endif
#include "xdr.h"
#include <sys/param.h>
#ifdef AFS_LINUX20_ENV
#include "h/string.h"
-#if 0
-#define bzero(A,C) memset((A), 0, (C))
-#endif
#else
#ifndef AFS_DARWIN90_ENV
#include <sys/systm.h>
#endif
#endif /* AFS_LINUX20_ENV */
-#else
-#include <stdio.h>
-#include <string.h>
#endif
#include "xdr.h"
#include <sys/param.h>
#ifdef AFS_LINUX20_ENV
#include "h/string.h"
-#if 0
-#define bzero(A,C) memset((A), 0, (C))
-#endif
#else
#include <sys/systm.h>
#endif
#else
-#include <stdio.h>
-#include <string.h>
+#include <roken.h>
#endif
#include "xdr.h"
*/
#include <afsconfig.h>
-#ifdef KERNEL
-#include "afs/param.h"
-#else
#include <afs/param.h>
-#endif
#ifndef NeXT
#if defined(KERNEL) && !defined(UKERNEL)
#include <sys/param.h>
#else
-#include <stdio.h>
+#include <roken.h>
#endif
#include "xdr.h"
#include <sys/systm.h>
#endif
#else
-#include <stdio.h>
+#include <roken.h>
#endif
#include "xdr.h"
#ifdef KERNEL
# include "afs/sysincludes.h"
#else
-# include <stdlib.h>
+# include <roken.h>
#endif
#include "xdr.h"
#ifdef KERNEL
# include "afs/sysincludes.h"
#else
-# include <string.h>
+# include <roken.h>
# include <limits.h>
-# ifndef AFS_NT40_ENV
-# include <netinet/in.h>
-# endif
#endif
#include "xdr.h"
#include <afsconfig.h>
#include <afs/param.h>
-
-#include <stdio.h>
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
+#include <roken.h>
#include "xdr.h"
-#ifndef AFS_NT40_ENV
-#include <sys/time.h>
-#include <netinet/in.h>
-#endif
-
-#include <string.h>
-
/* * A record is composed of one or more record fragments.
* A record fragment is a two-byte header followed by zero to
# endif /* !UKERNEL */
#else /* KERNEL */
# include <roken.h>
-# include <sys/types.h>
-# include <stdio.h>
-# ifndef AFS_NT40_ENV
-# include <netinet/in.h>
-# endif
#endif /* KERNEL */
#include "rx.h"