This file is indexed.

/usr/src/openafs-1.6.1/include/rx/rxstat.h is in openafs-modules-dkms 1.6.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
/* Machine generated file -- Do NOT edit */

#ifndef	_RXGEN_RXSTAT_
#define	_RXGEN_RXSTAT_

#ifdef	KERNEL
/* The following 'ifndefs' are not a good solution to the vendor's omission of surrounding all system includes with 'ifndef's since it requires that this file is included after the system includes...*/
#include <afsconfig.h>
#include "afs/param.h"
#ifdef	UKERNEL
#include "afs/sysincludes.h"
#include "rx/xdr.h"
#include "rx/rx.h"
#include "rx/rx_globals.h"
#else	/* UKERNEL */
#include "h/types.h"
#ifndef	SOCK_DGRAM  /* XXXXX */
#include "h/socket.h"
#endif
struct ubik_client;
#ifndef	DTYPE_SOCKET  /* XXXXX */
#ifndef AFS_LINUX22_ENV
#include "h/file.h"
#endif
#endif
#ifndef	S_IFMT  /* XXXXX */
#include "h/stat.h"
#endif
#if defined (AFS_OBSD_ENV) && !defined (MLEN)
#include "sys/mbuf.h"
#endif
#ifndef	IPPROTO_UDP /* XXXXX */
#include "netinet/in.h"
#endif
#ifndef	DST_USA  /* XXXXX */
#include "h/time.h"
#endif
#ifndef AFS_LINUX22_ENV
#include "rpc/types.h"
#endif /* AFS_LINUX22_ENV */
#ifndef	XDR_GETLONG /* XXXXX */
#ifdef AFS_LINUX22_ENV
#ifndef quad_t
#define quad_t __quad_t
#define u_quad_t __u_quad_t
#endif
#endif
#include "rx/xdr.h"
#endif /* XDR_GETLONG */
#endif   /* UKERNEL */
#include "afs/rxgen_consts.h"
#include "afs_osi.h"
#include "rx/rx.h"
#include "rx/rx_globals.h"
#else	/* KERNEL */
#include <afs/param.h>
#include <afs/stds.h>
#include <sys/types.h>
#include <rx/xdr.h>
#include <rx/rx.h>
#include <rx/rx_globals.h>
#include <afs/rxgen_consts.h>
#endif	/* KERNEL */

#ifdef AFS_NT40_ENV
#ifndef AFS_RXGEN_EXPORT
#define AFS_RXGEN_EXPORT __declspec(dllimport)
#endif /* AFS_RXGEN_EXPORT */
#else /* AFS_NT40_ENV */
#define AFS_RXGEN_EXPORT
#endif /* AFS_NT40_ENV */


typedef struct rpcStats {
	u_int rpcStats_len;
	afs_uint32 *rpcStats_val;
} rpcStats;
bool_t xdr_rpcStats(XDR *xdrs, rpcStats *objp);

#define RXSTATS_STATINDEX 9

#include <rx/rx_multi.h>
#define multi_RXSTATS_RetrieveProcessRPCStats(clientVersion, serverVersion, clock_sec, clock_usec, stat_count, stats) \
	multi_Body(StartRXSTATS_RetrieveProcessRPCStats(multi_call, clientVersion), EndRXSTATS_RetrieveProcessRPCStats(multi_call, serverVersion, clock_sec, clock_usec, stat_count, stats))


extern int StartRXSTATS_RetrieveProcessRPCStats(
	/*IN */ struct rx_call *z_call,
	/*IN */ afs_uint32 clientVersion);

extern int EndRXSTATS_RetrieveProcessRPCStats(
	/*IN */ struct rx_call *z_call,
	/*OUT*/ afs_uint32 * serverVersion,
	/*OUT*/ afs_uint32 * clock_sec,
	/*OUT*/ afs_uint32 * clock_usec,
	/*OUT*/ afs_uint32 * stat_count,
	/*OUT*/ rpcStats * stats);

extern int RXSTATS_RetrieveProcessRPCStats(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ afs_uint32 clientVersion,
	/*OUT*/ afs_uint32 * serverVersion,
	/*OUT*/ afs_uint32 * clock_sec,
	/*OUT*/ afs_uint32 * clock_usec,
	/*OUT*/ afs_uint32 * stat_count,
	/*OUT*/ rpcStats * stats);

extern afs_int32 MRXSTATS_RetrieveProcessRPCStats(
	/*IN */ struct rx_call *z_call,
	/*IN */ afs_uint32 clientVersion,
	/*OUT*/ afs_uint32 * serverVersion,
	/*OUT*/ afs_uint32 * clock_sec,
	/*OUT*/ afs_uint32 * clock_usec,
	/*OUT*/ afs_uint32 * stat_count,
	/*OUT*/ rpcStats * stats);

#define multi_RXSTATS_RetrievePeerRPCStats(clientVersion, serverVersion, stat_count, clock_sec, clock_usec, stats) \
	multi_Body(StartRXSTATS_RetrievePeerRPCStats(multi_call, clientVersion), EndRXSTATS_RetrievePeerRPCStats(multi_call, serverVersion, stat_count, clock_sec, clock_usec, stats))


extern int StartRXSTATS_RetrievePeerRPCStats(
	/*IN */ struct rx_call *z_call,
	/*IN */ afs_uint32 clientVersion);

extern int EndRXSTATS_RetrievePeerRPCStats(
	/*IN */ struct rx_call *z_call,
	/*OUT*/ afs_uint32 * serverVersion,
	/*OUT*/ afs_uint32 * stat_count,
	/*OUT*/ afs_uint32 * clock_sec,
	/*OUT*/ afs_uint32 * clock_usec,
	/*OUT*/ rpcStats * stats);

extern int RXSTATS_RetrievePeerRPCStats(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ afs_uint32 clientVersion,
	/*OUT*/ afs_uint32 * serverVersion,
	/*OUT*/ afs_uint32 * stat_count,
	/*OUT*/ afs_uint32 * clock_sec,
	/*OUT*/ afs_uint32 * clock_usec,
	/*OUT*/ rpcStats * stats);

extern afs_int32 MRXSTATS_RetrievePeerRPCStats(
	/*IN */ struct rx_call *z_call,
	/*IN */ afs_uint32 clientVersion,
	/*OUT*/ afs_uint32 * serverVersion,
	/*OUT*/ afs_uint32 * stat_count,
	/*OUT*/ afs_uint32 * clock_sec,
	/*OUT*/ afs_uint32 * clock_usec,
	/*OUT*/ rpcStats * stats);

extern int RXSTATS_QueryProcessRPCStats(
	/*IN */ struct rx_connection *z_conn,
	/*OUT*/ afs_int32 * on);

extern afs_int32 MRXSTATS_QueryProcessRPCStats(
	/*IN */ struct rx_call *z_call,
	/*OUT*/ afs_int32 * on);

extern int RXSTATS_QueryPeerRPCStats(
	/*IN */ struct rx_connection *z_conn,
	/*OUT*/ afs_int32 * on);

extern afs_int32 MRXSTATS_QueryPeerRPCStats(
	/*IN */ struct rx_call *z_call,
	/*OUT*/ afs_int32 * on);

extern int RXSTATS_EnableProcessRPCStats(
	/*IN */ struct rx_connection *z_conn);

extern afs_int32 MRXSTATS_EnableProcessRPCStats(
	/*IN */ struct rx_call *z_call);

extern int RXSTATS_EnablePeerRPCStats(
	/*IN */ struct rx_connection *z_conn);

extern afs_int32 MRXSTATS_EnablePeerRPCStats(
	/*IN */ struct rx_call *z_call);

extern int RXSTATS_DisableProcessRPCStats(
	/*IN */ struct rx_connection *z_conn);

extern afs_int32 MRXSTATS_DisableProcessRPCStats(
	/*IN */ struct rx_call *z_call);

extern int RXSTATS_DisablePeerRPCStats(
	/*IN */ struct rx_connection *z_conn);

extern afs_int32 MRXSTATS_DisablePeerRPCStats(
	/*IN */ struct rx_call *z_call);

extern int RXSTATS_QueryRPCStatsVersion(
	/*IN */ struct rx_connection *z_conn,
	/*OUT*/ afs_uint32 * ver);

extern afs_int32 MRXSTATS_QueryRPCStatsVersion(
	/*IN */ struct rx_call *z_call,
	/*OUT*/ afs_uint32 * ver);

extern int RXSTATS_ClearProcessRPCStats(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ afs_uint32 clearFlag);

extern afs_int32 MRXSTATS_ClearProcessRPCStats(
	/*IN */ struct rx_call *z_call,
	/*IN */ afs_uint32 clearFlag);

extern int RXSTATS_ClearPeerRPCStats(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ afs_uint32 clearFlag);

extern afs_int32 MRXSTATS_ClearPeerRPCStats(
	/*IN */ struct rx_call *z_call,
	/*IN */ afs_uint32 clearFlag);

extern int RXSTATS_ExecuteRequest(struct rx_call *);

/* Opcode-related useful stats for package: RXSTATS_ */
#define RXSTATS_LOWEST_OPCODE   0
#define RXSTATS_HIGHEST_OPCODE	10
#define RXSTATS_NUMBER_OPCODES	11

#define RXSTATS_NO_OF_STAT_FUNCS	11

AFS_RXGEN_EXPORT
extern const char *RXSTATS_function_names[];

#endif	/* _RXGEN_RXSTAT_ */