Merge branch 'master' into upstream
[linux-2.6/kmemtrace.git] / include / rxrpc / rxrpc.h
blob8d9874cef991a4d4d6ef8a13fe5e062e489eaeba
1 /* rx.h: Rx RPC interface
3 * Copyright (C) 2002 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
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.
12 #ifndef _LINUX_RXRPC_RXRPC_H
13 #define _LINUX_RXRPC_RXRPC_H
15 #ifdef __KERNEL__
17 extern __be32 rxrpc_epoch;
19 #ifdef CONFIG_SYSCTL
20 extern int rxrpc_ktrace;
21 extern int rxrpc_kdebug;
22 extern int rxrpc_kproto;
23 extern int rxrpc_knet;
24 #else
25 #define rxrpc_ktrace 0
26 #define rxrpc_kdebug 0
27 #define rxrpc_kproto 0
28 #define rxrpc_knet 0
29 #endif
31 extern int rxrpc_sysctl_init(void);
32 extern void rxrpc_sysctl_cleanup(void);
34 #endif /* __KERNEL__ */
36 #endif /* _LINUX_RXRPC_RXRPC_H */