2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 /* RX Authentication Stress test: private shared structures. */
13 #include "stress_errs.h"
15 extern struct ktc_encryptionKey serviceKey;
16 extern long serviceKeyVersion;
18 #define RXKST_SERVER_NAME "rxkad_stress_test_server"
19 #define RXKST_SERVER_INST ""
20 #define RXKST_CLIENT_NAME "rxkad_stress_test_client"
21 #define RXKST_CLIENT_INST ""
28 int authentication; /* minimum level of auth to permit */
35 u_long sendLen; /* parameters for call to Copious */
37 u_long fastCalls; /* number of calls to perform */
40 int noExit; /* don't exit after successful end */
41 int printStats; /* print rx statistics before exit */
42 int printTiming; /* print timings for calls */
43 int callTest; /* check call number preservation */
44 int hijackTest; /* check hijack prevention measures */
45 int stopServer; /* send stop server RPC */
46 int authentication; /* type of authentication to use */
47 u_long repeatInterval; /* secs between load test activity */
48 u_long repeatCount; /* times load test activity repeated */
51 long rxkst_StartClient(INOUT struct clientParms *parms);
52 long rxkst_StartServer(INOUT struct serverParms *parms);
59 /* For backward compatibility with AFS3.0 release. */
63 (!(x) ? (fprintf (stderr, "assertion failed: line %d, file %s\n",\
64 __LINE__,__FILE__), fflush(stderr), abort(), 0) : 0)
78 #ifndef rx_GetPacketCksum
79 #define rxs_Release(a) RXS_Close(a)
82 /* to keep GCC happy */
84 extern int LWP_CreateProcess();
85 extern char *lcstring();
87 extern int cmd_AddParm();
88 extern int cmd_Dispatch();