2 * Copyright 2000, International Business Machines Corporation and others.
3 * Copyright 2011, Your File System Inc
6 * This software has been released under the terms of the IBM Public
7 * License. For details, see the LICENSE file in the top-level source
8 * directory or online at http://www.openafs.org/dl/license10.html
11 #include <afsconfig.h>
12 #include <afs/param.h>
20 struct rx_connection *
21 rx_ConnectionOf(struct rx_call *call)
27 rx_Error(struct rx_call *call)
33 rx_GetRemoteStatus(struct rx_call *call)
35 return call->remoteStatus;
39 rx_SetLocalStatus(struct rx_call *call, int status)
41 call->localStatus = status;
45 rx_GetCallAbortCode(struct rx_call *call)
47 return call->abortCode;
51 rx_SetCallAbortCode(struct rx_call *call, int code)
53 call->abortCode = code;
57 rx_RecordCallStatistics(struct rx_call *call, unsigned int rxInterface,
58 unsigned int currentFunc, unsigned int totalFunc,
65 clock_Sub(&exec, &call->startTime);
66 queue = call->startTime;
67 clock_Sub(&queue, &call->queueTime);
69 rx_IncrementTimeAndCount(call->conn->peer, rxInterface, currentFunc,
70 totalFunc, &queue, &exec, &call->bytesSent,