18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/* AFS Cache Manager definitions
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
58c2ecf20Sopenharmony_ci * Written by David Howells (dhowells@redhat.com)
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef AFS_CM_H
98c2ecf20Sopenharmony_ci#define AFS_CM_H
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#define AFS_CM_PORT		7001	/* AFS file server port */
128c2ecf20Sopenharmony_ci#define CM_SERVICE		1	/* AFS File Service ID */
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_cienum AFS_CM_Operations {
158c2ecf20Sopenharmony_ci	CBCallBack		= 204,	/* break callback promises */
168c2ecf20Sopenharmony_ci	CBInitCallBackState	= 205,	/* initialise callback state */
178c2ecf20Sopenharmony_ci	CBProbe			= 206,	/* probe client */
188c2ecf20Sopenharmony_ci	CBGetLock		= 207,	/* get contents of CM lock table */
198c2ecf20Sopenharmony_ci	CBGetCE			= 208,	/* get cache file description */
208c2ecf20Sopenharmony_ci	CBGetXStatsVersion	= 209,	/* get version of extended statistics */
218c2ecf20Sopenharmony_ci	CBGetXStats		= 210,	/* get contents of extended statistics data */
228c2ecf20Sopenharmony_ci	CBInitCallBackState3	= 213,	/* initialise callback state, version 3 */
238c2ecf20Sopenharmony_ci	CBProbeUuid		= 214,	/* check the client hasn't rebooted */
248c2ecf20Sopenharmony_ci	CBTellMeAboutYourself	= 65538, /* get client capabilities */
258c2ecf20Sopenharmony_ci};
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci#define AFS_CAP_ERROR_TRANSLATION	0x1
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci#endif /* AFS_FS_H */
30