Linux: Use freezer compatibility macros in RX
[openafs.git] / src / rx / rx_misc.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_misc.h - Various RX configuration macros.
12  */
13
14 #ifndef _RX_MISC_H_
15 #define _RX_MISC_H_
16
17 #define MISCMTU
18 #define ADAPT_MTU
19
20 #if defined(AFS_SUN5_ENV)
21 #include <sys/sockio.h>
22 #include <sys/fcntl.h>
23 #endif
24
25 #if     defined(AFS_AIX41_ENV) && defined(KERNEL)
26 #define PIN(a, b) pin(a, b);
27 #define UNPIN(a, b) unpin(a, b);
28 #else
29 #define PIN(a, b) ;
30 #define UNPIN(a, b) ;
31 #endif
32
33
34
35 /* Include the following to use the lock data base. */
36 /* #define RX_LOCKS_DB 1 */
37 /* The lock database uses a file id number and the line number to identify
38  * where in the code a lock was obtained. Each file containing locks
39  * has a separate file id called: rxdb_fileID.
40  */
41 #define RXDB_FILE_RX        1   /* rx.c */
42 #define RXDB_FILE_RX_EVENT  2   /* rx_event.c */
43 #define RXDB_FILE_RX_PACKET 3   /* rx_packet.c */
44 #define RXDB_FILE_RX_RDWR   4   /* rx_rdwr.c */
45
46 #endif /* _RX_MISC_H_ */