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_HPUX1122_ENV)
51 #else /* !defined(AFS_SUN5_ENV) && !defined(AFS_XBSD_ENV) */
52 #if defined(AFS_FBSD_ENV)
58 #endif /* AFS_FBSD_ENV */
59 #endif /* !defined(AFS_SUN5_ENV) && !defined(AFS_XBSD_ENV) */
60 #endif /* !defined(AFS_LINUX22_ENV) && !defined(AFS_OBSD_ENV) */
62 #include "h/hashing.h"
72 #include "h/signalvar.h"
73 #endif /* AFS_OBSD_ENV */
74 #include "netinet/in.h"
75 #include "net/route.h"
76 #include "netinet/in_systm.h"
77 #include "netinet/ip.h"
78 #if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX22_ENV) && !defined(AFS_DARWIN60_ENV) && !defined(AFS_OBSD_ENV)
79 #include "netinet/in_pcb.h"
80 #endif /* ! AFS_HPUX110_ENV && ! AFS_LINUX22_ENV */
81 #ifndef AFS_LINUX22_ENV
82 #if !defined(AFS_DARWIN60_ENV)
83 #include "netinet/ip_var.h"
85 #include "netinet/ip_icmp.h"
86 #endif /* AFS_LINUX22_ENV */
87 #include "netinet/udp.h"
88 #if !defined(AFS_SGI62_ENV) && !defined(AFS_LINUX22_ENV) && !defined(AFS_DARWIN60_ENV)
89 #include "netinet/udp_var.h"
91 #if defined(AFS_HPUX102_ENV) || (defined(AFS_SGI62_ENV) && !defined(AFS_SGI64_ENV))
94 #ifdef AFS_LINUX22_ENV
95 #define _LINUX_CODA_FS_I
96 struct coda_inode_info {};
98 #include "h/netdevice.h"
100 #if !defined(AFS_OBSD_ENV)
106 #if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX22_ENV) && !defined(AFS_DARWIN60_ENV)
107 #include "netinet/in_var.h"
108 #endif /* ! AFS_HPUX110_ENV && ! AFS_LINUX22_ENV */
109 #if !defined(AFS_LINUX22_ENV) && !defined(AFS_DUX40_ENV)
110 #include "rpc/types.h"
112 #include "afs/afs_osi.h"
113 #include "rx_kmutex.h"
114 #include "afs/lock.h"
117 #include "rx/rx_globals.h"
118 #include "afs/longc_procs.h"
119 #include "afs/afs_stats.h"
122 #include "afs/sysincludes.h"
123 #include "afsincludes.h"
125 #if defined(AFS_OBSD_ENV)
126 #include "../netinet/in_pcb.h"
129 #define MAXRXPORTS 20
130 typedef unsigned short rxk_ports_t[MAXRXPORTS];
131 typedef char *rxk_portRocks_t[MAXRXPORTS];
132 extern rxk_ports_t rxk_ports;
133 extern rxk_portRocks_t rxk_portRocks;
135 #if defined(AFS_XBSD_ENV)
136 extern struct domain inetdomain;
137 #endif /* AFS_XBSD_ENV */
139 #endif /* _RX_KCOMMON_H_ */