rxrpc.h 861 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* rx.h: Rx RPC interface
  2. *
  3. * Copyright (C) 2002 Red Hat, Inc. All Rights Reserved.
  4. * Written by David Howells (dhowells@redhat.com)
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License
  8. * as published by the Free Software Foundation; either version
  9. * 2 of the License, or (at your option) any later version.
  10. */
  11. #ifndef _LINUX_RXRPC_RXRPC_H
  12. #define _LINUX_RXRPC_RXRPC_H
  13. #ifdef __KERNEL__
  14. extern __be32 rxrpc_epoch;
  15. #ifdef CONFIG_SYSCTL
  16. extern int rxrpc_ktrace;
  17. extern int rxrpc_kdebug;
  18. extern int rxrpc_kproto;
  19. extern int rxrpc_knet;
  20. #else
  21. #define rxrpc_ktrace 0
  22. #define rxrpc_kdebug 0
  23. #define rxrpc_kproto 0
  24. #define rxrpc_knet 0
  25. #endif
  26. extern int rxrpc_sysctl_init(void);
  27. extern void rxrpc_sysctl_cleanup(void);
  28. #endif /* __KERNEL__ */
  29. #endif /* _LINUX_RXRPC_RXRPC_H */