Import Upstream version 1.8.5
[hcoop/debian/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/afs_stats.h"
26
27 extern struct usr_ifnet *usr_ifnet;
28 extern struct usr_in_ifaddr *usr_in_ifaddr;
29 extern struct usr_domain inetdomain;
30 extern struct usr_protosw udp_protosw;
31
32 #define MAXRXPORTS 20
33 typedef unsigned short rxk_ports_t[MAXRXPORTS];
34 typedef char *rxk_portRocks_t[MAXRXPORTS];
35 extern rxk_ports_t rxk_ports;
36 extern rxk_portRocks_t rxk_portRocks;
37
38 #define rx_ifaddr_t struct usr_ifaddr *
39 #define rx_ifnet_t struct usr_ifnet *
40 #endif /* _RX_KCOMMON_H_ */