Export
rxi_nRecvFrags @2008 DATA
rxi_nSendFrags @2009 DATA
rx_initReceiveWindow @2010 DATA
rx_initSendWindow @2011 DATA
rx_intentionallyDroppedPacketsPer100 @2012 DATA
rx_intentionallyDroppedOnReadPer100 @2013 DATA
so they can be referenced from pthreaded builds of src/rx/test tools.
Exported variables must be present in both FREE and CHECKED builds.
Change-Id: Ia7f3ee0143679bab1ce74f71dc3a996cda1f18a8
Reviewed-on: http://gerrit.openafs.org/2779
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
rx_TSFPQLocalMax @2002 DATA
rx_TSFPQMaxProcs @2003 DATA
rxi_MorePackets @2007
+ rxi_nRecvFrags @2008 DATA
+ rxi_nSendFrags @2009 DATA
+ rx_initReceiveWindow @2010 DATA
+ rx_initSendWindow @2011 DATA
+ rx_intentionallyDroppedPacketsPer100 @2012 DATA
+ rx_intentionallyDroppedOnReadPer100 @2013 DATA
; for debugging
rx_DumpCalls @9998
* Normally we wait and send a hard ack when the receiver consumes the packet */
EXT struct clock rx_softAckDelay;
-/* Variable to allow introduction of network unreliability */
-#ifdef RXDEBUG
+#if defined(RXDEBUG) || defined(AFS_NT40_ENV)
+/* Variable to allow introduction of network unreliability; exported from libafsrpc */
EXT int rx_intentionallyDroppedPacketsPer100 GLOBALSINIT(0); /* Dropped on Send */
EXT int rx_intentionallyDroppedOnReadPer100 GLOBALSINIT(0); /* Dropped on Read */
#endif