clock_now @238
clock_UpdateTime @239
clock_haveCurrentTime @240
+ rx_SetRxDeadTime @241
+ rx_GetMinUdpBufSize @242
+ rx_SetUdpBufSize @243
; for performance testing
rx_TSFPQGlobSize @2001 DATA
#endif /* KERNEL */
#include "rx_globals.h"
+
+#ifdef AFS_NT40_ENV
+
+void rx_SetRxDeadTime(int seconds)
+{
+ rx_connDeadTime = seconds;
+}
+
+int rx_GetMinUdpBufSize(void)
+{
+ return 64*1024;
+}
+
+void rx_SetUdpBufSize(int x)
+{
+ if (x > rx_GetMinUdpBufSize())
+ rx_UdpBufSize = x;
+}
+
+#endif /* AFS_NT40_ENV */
/* Time until an unresponsive connection is declared dead */
EXT int rx_connDeadTime GLOBALSINIT(12);
+
/* Set rx default connection dead time; set on both services and connections at creation time */
+#ifdef AFS_NT40_ENV
+void rx_SetRxDeadTime(int seconds);
+#else
#define rx_SetRxDeadTime(seconds) (rx_connDeadTime = (seconds))
+#endif
/* Time until we toss an idle connection */
EXT int rx_idleConnectionTime GLOBALSINIT(700);
/* UDP rcv buffer size */
EXT int rx_UdpBufSize GLOBALSINIT(64 * 1024);
+#ifdef AFS_NT40_ENV
+int rx_GetMinUdpBufSize(void);
+void rx_SetUdpBufSize(int x);
+#else
#define rx_GetMinUdpBufSize() (64*1024)
#define rx_SetUdpBufSize(x) (((x)>rx_GetMinUdpBufSize()) ? (rx_UdpBufSize = (x)):0)
-
+#endif
/*
* Variables to control RX overload management. When the number of calls
* waiting for a thread exceed the threshold, new calls are aborted
$(BUTMLIBS) \
$(DESTDIR)\lib\afs\afsvldb.lib \
$(DESTDIR)\lib\afs\afskauth.lib \
- $(DESTDIR)\lib\afsubik.lib \
$(DESTDIR)\lib\afs\afsauth.lib \
$(DESTDIR)\lib\afsrpc.lib \
$(DESTDIR)\lib\afsrxkad.lib \
- $(DESTDIR)\lib\afslwp.lib \
+ $(DESTDIR)\lib\afsubik.lib \
$(DESTDIR)\lib\afs\afsutil.lib \
$(DESTDIR)\lib\afs\afsusd.lib \
$(DESTDIR)\lib\afs\afspioctl.lib \