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