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.
15 #include <UKERNEL/rx_kcommon.h>
18 #ifndef _RX_KCOMMON_H_
19 #define _RX_KCOMMON_H_
24 typedef unsigned short etap_event_t;
29 #ifndef AFS_LINUX22_ENV
34 #include "h/vfs.h" /* stops SUN56 socketvar.h warnings */
35 #include "h/stropts.h" /* stops SUN56 socketvar.h warnings */
36 #include "h/stream.h" /* stops SUN56 socketvar.h errors */
40 #if !defined(AFS_LINUX22_ENV) && !defined(AFS_OBSD_ENV)
41 #include "h/socketvar.h"
42 #if !defined(AFS_SUN5_ENV) && !defined(AFS_XBSD_ENV)
44 #if !defined(AFS_HPUX110_ENV)
48 #if !defined(AFS_HPUX110_ENV)
51 #else /* !defined(AFS_SUN5_ENV) && !defined(AFS_XBSD_ENV) */
52 #if defined(AFS_FBSD_ENV)
56 #if defined(AFS_FBSD50_ENV)
61 #endif /* AFS_FBSD_ENV */
62 #endif /* !defined(AFS_SUN5_ENV) && !defined(AFS_XBSD_ENV) */
63 #endif /* !defined(AFS_LINUX22_ENV) && !defined(AFS_OBSD_ENV) */
65 #include "h/hashing.h"
75 #include "h/signalvar.h"
76 #endif /* AFS_OBSD_ENV */
77 #include "netinet/in.h"
78 #include "net/route.h"
79 #include "netinet/in_systm.h"
80 #include "netinet/ip.h"
81 #if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX22_ENV) && !defined(AFS_DARWIN60_ENV) && !defined(AFS_OBSD_ENV)
82 #include "netinet/in_pcb.h"
83 #endif /* ! AFS_HPUX110_ENV && ! AFS_LINUX22_ENV */
84 #ifndef AFS_LINUX22_ENV
85 #if !defined(AFS_DARWIN60_ENV)
86 #include "netinet/ip_var.h"
88 #include "netinet/ip_icmp.h"
89 #endif /* AFS_LINUX22_ENV */
90 #include "netinet/udp.h"
91 #if !defined(AFS_SGI62_ENV) && !defined(AFS_LINUX22_ENV) && !defined(AFS_DARWIN60_ENV)
92 #include "netinet/udp_var.h"
94 #if defined(AFS_HPUX102_ENV) || (defined(AFS_SGI62_ENV) && !defined(AFS_SGI64_ENV))
97 #ifdef AFS_LINUX22_ENV
98 #define _LINUX_CODA_FS_I
99 struct coda_inode_info {};
101 #include "h/netdevice.h"
103 #if !defined(AFS_OBSD_ENV)
109 #if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX22_ENV) && !defined(AFS_DARWIN60_ENV)
110 #include "netinet/in_var.h"
111 #endif /* ! AFS_HPUX110_ENV && ! AFS_LINUX22_ENV */
112 #if !defined(AFS_LINUX22_ENV) && !defined(AFS_DUX40_ENV)
113 #include "rpc/types.h"
115 #include "afs/afs_osi.h"
116 #include "rx_kmutex.h"
117 #include "afs/lock.h"
120 #include "rx/rx_globals.h"
121 #include "afs/longc_procs.h"
122 #include "afs/afs_stats.h"
125 #include "afs/sysincludes.h"
126 #include "afsincludes.h"
128 #if defined(AFS_OBSD_ENV)
129 #include "afs/sysincludes.h"
130 #include "netinet/in_pcb.h"
133 #define MAXRXPORTS 20
134 typedef unsigned short rxk_ports_t[MAXRXPORTS];
135 typedef char *rxk_portRocks_t[MAXRXPORTS];
136 extern rxk_ports_t rxk_ports;
137 extern rxk_portRocks_t rxk_portRocks;
139 #if defined(AFS_XBSD_ENV)
140 extern struct domain inetdomain;
141 #endif /* AFS_XBSD_ENV */
143 #endif /* _RX_KCOMMON_H_ */