2 * Copyright 2000, International Business Machines Corporation and others.
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
11 * rx_kcommon.h - Common kernel RX header for all system types.
14 #ifndef _RX_KCOMMON_H_
15 #define _RX_KCOMMON_H_
17 #include "afs/sysincludes.h"
18 #include "afsincludes.h"
19 #include "afsincludes.h"
20 #include "rx/rx_globals.h"
21 #include "rx_kmutex.h"
24 #include "rx/rx_globals.h"
25 #include "afs/longc_procs.h"
26 #include "afs/afs_stats.h"
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;
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;
40 #define ifnet_flags(x) (x?(x)->if_flags:0)
43 #endif /* _RX_KCOMMON_H_ */