4f29d240076d9bfa7f42ebcc9db36d113db951c7
[openafs.git] / src / rx / UKERNEL / rx_kcommon.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  * 
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 /*
11  * rx_kcommon.h - Common kernel RX header for all system types.
12  */
13
14 #ifndef _RX_KCOMMON_H_
15 #define _RX_KCOMMON_H_
16
17 #include "afs/sysincludes.h"
18 #include "afsincludes.h"
19 #include "afsincludes.h"
20 #include "rx/rx_globals.h"
21 #include "rx_kmutex.h"
22 #include "afs/lock.h"
23 #include "rx/rx.h"
24 #include "rx/rx_globals.h"
25 #include "afs/longc_procs.h"
26 #include "afs/afs_stats.h"
27
28 extern struct usr_ifnet *usr_ifnet;
29 extern struct usr_in_ifaddr *usr_in_ifaddr;
30 extern struct usr_domain inetdomain;
31 extern struct usr_protosw udp_protosw;
32
33 #define        MAXRXPORTS  20
34 typedef unsigned short rxk_ports_t[MAXRXPORTS];
35 typedef char *rxk_portRocks_t[MAXRXPORTS];
36 extern rxk_ports_t rxk_ports;
37 extern rxk_portRocks_t rxk_portRocks;
38
39 #ifndef ifnet_flags
40 #define ifnet_flags(x) (x?(x)->if_flags:0)
41 #endif
42
43 #endif /* _RX_KCOMMON_H_ */