1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-or-later */ 2*4882a593Smuzhiyun /* AFS Cache Manager definitions 3*4882a593Smuzhiyun * 4*4882a593Smuzhiyun * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. 5*4882a593Smuzhiyun * Written by David Howells (dhowells@redhat.com) 6*4882a593Smuzhiyun */ 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun #ifndef AFS_CM_H 9*4882a593Smuzhiyun #define AFS_CM_H 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun #define AFS_CM_PORT 7001 /* AFS file server port */ 12*4882a593Smuzhiyun #define CM_SERVICE 1 /* AFS File Service ID */ 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun enum AFS_CM_Operations { 15*4882a593Smuzhiyun CBCallBack = 204, /* break callback promises */ 16*4882a593Smuzhiyun CBInitCallBackState = 205, /* initialise callback state */ 17*4882a593Smuzhiyun CBProbe = 206, /* probe client */ 18*4882a593Smuzhiyun CBGetLock = 207, /* get contents of CM lock table */ 19*4882a593Smuzhiyun CBGetCE = 208, /* get cache file description */ 20*4882a593Smuzhiyun CBGetXStatsVersion = 209, /* get version of extended statistics */ 21*4882a593Smuzhiyun CBGetXStats = 210, /* get contents of extended statistics data */ 22*4882a593Smuzhiyun CBInitCallBackState3 = 213, /* initialise callback state, version 3 */ 23*4882a593Smuzhiyun CBProbeUuid = 214, /* check the client hasn't rebooted */ 24*4882a593Smuzhiyun CBTellMeAboutYourself = 65538, /* get client capabilities */ 25*4882a593Smuzhiyun }; 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun #define AFS_CAP_ERROR_TRANSLATION 0x1 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun #endif /* AFS_FS_H */ 30