afs_cm.h 1006 B

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