#include "afs/kautils.h"
#include "afs/auth.h"
#include "afs/pthread_glock.h"
+#include "afs/afsutil.h"
#else /* defined(UKERNEL) */
#include <afs/stds.h>
#include <sys/types.h>
#include "afs/kauth.h"
#include "afs/kautils.h"
#include "afs/afsutil.h"
+#include "afs/ptuser.h"
+#include "des.h"
#else /* defined(UKERNEL) */
#include <afs/stds.h>
#include <signal.h>
#include <afs/cellconfig.h>
#include "ptclient.h"
#include "pterror.h"
+#include "display.h"
#include <afs/afsutil.h>
#include "afs/ptclient.h"
#include "afs/ptuser.h"
#include "afs/pterror.h"
+#include "afs/com_err.h"
#else /* defined(UKERNEL) */
#include <afs/stds.h>
#include <ctype.h>
afs_int32 scIndex;
static struct afsconf_cell info;
afs_int32 i;
+#if !defined(UKERNEL)
char cellstr[64];
+#endif
afs_int32 gottdir = 0;
afs_int32 refresh = 0;
struct usr_in_ifaddr *usr_in_ifaddr = NULL;
void rxk_InitializeSocket(void);
+extern int afs_osi_CheckTimedWaits(void);
void
afs_rxevent_daemon(void)
#ifdef AFS_USR_AIX_ENV
unsigned long len, optval, optval0, optlen;
#else /* AFS_USR_AIX_ENV */
- int len, optval, optval0, optlen;
+ socklen_t len, optlen;
+ int optval, optval0;
#endif /* AFS_USR_AIX_ENV */
struct usr_socket *usockp;
struct sockaddr_in lcladdr;
#define rxi_ReScheduleEvents 0 /* Not needed by kernel */
/* This is a no-op, because the kernel server procs are pre-allocated */
-#define rxi_StartServerProcs(x) 0
+#define rxi_StartServerProcs(x) (void)0
/* Socket stuff */
typedef struct socket *osi_socket;
afs_int32 ahost, short aport,
afs_int32 istack);
-static int rxi_FreeDataBufsToQueue(struct rx_packet *p,
- afs_uint32 first,
- struct rx_queue * q);
#ifdef RX_ENABLE_TSFPQ
static int
rxi_FreeDataBufsTSFPQ(struct rx_packet *p, afs_uint32 first, int flush_global);
+#else
+static int rxi_FreeDataBufsToQueue(struct rx_packet *p,
+ afs_uint32 first,
+ struct rx_queue * q);
#endif
/* some rules about packets:
#if !defined(clock_UpdateTime)
extern void clock_UpdateTime(void);
#endif
+#if defined(UKERNEL) && !defined(osi_GetTime)
+extern int osi_GetTime(struct timeval *tv);
+#endif
/* rx_clock_nt.c */
#endif
extern void osi_StopListener(void);
extern int rxi_FindIfMTU(afs_uint32 addr);
+#if defined(UKERNEL)
+extern void rxi_ListenerProc(osi_socket usockp, int *tnop,
+ struct rx_call **newcallp);
+#endif
+
#ifndef RXK_LISTENER_ENV
extern void rxk_init();
#endif
extern int rxi_Recvmsg(osi_socket socket, struct msghdr *msg_p, int flags);
extern int rxi_Sendmsg(osi_socket socket, struct msghdr *msg_p, int flags);
-
/* rx_rdwr.c */
extern int rxi_ReadProc(struct rx_call *call, char *buf,
int nbytes);