aboutsummaryrefslogtreecommitdiff
path: root/include/rxrpc/rxrpc.h
blob: 8d9874cef991a4d4d6ef8a13fe5e062e489eaeba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* rx.h: Rx RPC interface
 *
 * Copyright (C) 2002 Red Hat, Inc. All Rights Reserved.
 * Written by David Howells (dhowells@redhat.com)
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version
 * 2 of the License, or (at your option) any later version.
 */

#ifndef _LINUX_RXRPC_RXRPC_H
#define _LINUX_RXRPC_RXRPC_H

#ifdef __KERNEL__

extern __be32 rxrpc_epoch;

#ifdef CONFIG_SYSCTL
extern int rxrpc_ktrace;
extern int rxrpc_kdebug;
extern int rxrpc_kproto;
extern int rxrpc_knet;
#else
#define rxrpc_ktrace	0
#define rxrpc_kdebug	0
#define rxrpc_kproto	0
#define rxrpc_knet	0
#endif

extern int rxrpc_sysctl_init(void);
extern void rxrpc_sysctl_cleanup(void);

#endif /* __KERNEL__ */

#endif /* _LINUX_RXRPC_RXRPC_H */