Commit | Line | Data |
---|---|---|
1da177e4 LT |
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 | ||
12 | #ifndef _LINUX_RXRPC_RXRPC_H | |
13 | #define _LINUX_RXRPC_RXRPC_H | |
14 | ||
15 | #ifdef __KERNEL__ | |
16 | ||
17 | extern __be32 rxrpc_epoch; | |
18 | ||
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 | |
30 | ||
31 | extern int rxrpc_sysctl_init(void); | |
32 | extern void rxrpc_sysctl_cleanup(void); | |
33 | ||
34 | #endif /* __KERNEL__ */ | |
35 | ||
36 | #endif /* _LINUX_RXRPC_RXRPC_H */ |