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_
20 typedef unsigned short etap_event_t;
23 #include "../h/types.h"
24 #include "../h/param.h"
25 #ifndef AFS_LINUX22_ENV
26 #include "../h/systm.h"
28 #include "../h/time.h"
30 #include "../h/vfs.h" /* stops SUN56 socketvar.h warnings */
31 #include "../h/stropts.h" /* stops SUN56 socketvar.h warnings */
32 #include "../h/stream.h" /* stops SUN56 socketvar.h errors */
33 #include "../h/disp.h"
35 #include "../h/socket.h"
36 #ifndef AFS_LINUX22_ENV
37 #include "../h/socketvar.h"
38 #include "../h/protosw.h"
39 #if !defined(AFS_SUN5_ENV) && !defined(AFS_XBSD_ENV)
40 #include "../h/domain.h"
43 #include "../h/mbuf.h"
45 #if defined(AFS_XBSD_ENV)
46 #include "../h/dirent.h"
47 #include "../h/socket.h"
48 #include "../h/domain.h"
50 #include "../h/mbuf.h"
51 #endif /* AFS_XBSD_ENV */
53 #endif /* AFS_LINUX22_ENV */
55 #include "../h/hashing.h"
58 #include "../h/sysctl.h"
60 #include "../netinet/in.h"
61 #include "../net/route.h"
62 #include "../netinet/in_systm.h"
63 #include "../netinet/ip.h"
64 #if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX22_ENV) && !defined(AFS_DARWIN60_ENV)
65 #include "../netinet/in_pcb.h"
66 #endif /* ! AFS_HPUX110_ENV && ! AFS_LINUX22_ENV */
67 #ifndef AFS_LINUX22_ENV
68 #if !defined(AFS_DARWIN60_ENV)
69 #include "../netinet/ip_var.h"
71 #include "../netinet/ip_icmp.h"
72 #endif /* AFS_LINUX22_ENV */
73 #include "../netinet/udp.h"
74 #if !defined(AFS_SGI62_ENV) && !defined(AFS_LINUX22_ENV) && !defined(AFS_DARWIN60_ENV)
75 #include "../netinet/udp_var.h"
77 #if defined(AFS_HPUX102_ENV) || (defined(AFS_SGI62_ENV) && !defined(AFS_SGI64_ENV))
78 #include "../h/user.h"
80 #ifdef AFS_LINUX22_ENV
81 #define _LINUX_CODA_FS_I
82 struct coda_inode_info {};
83 #include "../h/sched.h"
84 #include "../h/netdevice.h"
86 #include "../h/proc.h"
87 #include "../h/file.h"
89 #include "../net/if.h"
90 #if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX22_ENV) && !defined(AFS_DARWIN60_ENV)
91 #include "../netinet/in_var.h"
92 #endif /* ! AFS_HPUX110_ENV && ! AFS_LINUX22_ENV */
93 #ifndef AFS_LINUX22_ENV
94 #include "../rpc/types.h"
96 #include "../afs/afs_osi.h"
97 #include "../rx/rx_kmutex.h"
98 #include "../afs/lock.h"
99 #include "../rx/xdr.h"
100 #include "../rx/rx.h"
101 #include "../rx/rx_globals.h"
102 #include "../afs/longc_procs.h"
103 #include "../afs/afs_stats.h"
104 #include "../h/errno.h"
106 #include "../afs/afsincludes.h"
109 #define MAXRXPORTS 20
110 typedef unsigned short rxk_ports_t[MAXRXPORTS];
111 typedef char *rxk_portRocks_t[MAXRXPORTS];
112 extern rxk_ports_t rxk_ports;
113 extern rxk_portRocks_t rxk_portRocks;
115 #if defined(AFS_XBSD_ENV)
116 extern struct domain inetdomain;
117 #endif /* AFS_XBSD_ENV */
119 #endif /* _RX_KCOMMON_H_ */