debug.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * linux/include/linux/sunrpc/debug.h
  3. *
  4. * Debugging support for sunrpc module
  5. *
  6. * Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de>
  7. */
  8. #ifndef _LINUX_SUNRPC_DEBUG_H_
  9. #define _LINUX_SUNRPC_DEBUG_H_
  10. /*
  11. * RPC debug facilities
  12. */
  13. #define RPCDBG_XPRT 0x0001
  14. #define RPCDBG_CALL 0x0002
  15. #define RPCDBG_DEBUG 0x0004
  16. #define RPCDBG_NFS 0x0008
  17. #define RPCDBG_AUTH 0x0010
  18. #define RPCDBG_BIND 0x0020
  19. #define RPCDBG_SCHED 0x0040
  20. #define RPCDBG_TRANS 0x0080
  21. #define RPCDBG_SVCXPRT 0x0100
  22. #define RPCDBG_SVCDSP 0x0200
  23. #define RPCDBG_MISC 0x0400
  24. #define RPCDBG_CACHE 0x0800
  25. #define RPCDBG_ALL 0x7fff
  26. /*
  27. * Declarations for the sysctl debug interface, which allows to read or
  28. * change the debug flags for rpc, nfs, nfsd, and lockd. Since the sunrpc
  29. * module currently registers its sysctl table dynamically, the sysctl path
  30. * for module FOO is <CTL_SUNRPC, CTL_FOODEBUG>.
  31. */
  32. enum {
  33. CTL_RPCDEBUG = 1,
  34. CTL_NFSDEBUG,
  35. CTL_NFSDDEBUG,
  36. CTL_NLMDEBUG,
  37. CTL_SLOTTABLE_UDP,
  38. CTL_SLOTTABLE_TCP,
  39. CTL_MIN_RESVPORT,
  40. CTL_MAX_RESVPORT,
  41. };
  42. #endif /* _LINUX_SUNRPC_DEBUG_H_ */