netbsd.h
上传用户:wxp200602
上传日期:2007-10-30
资源大小:4028k
文件大小:1k
- #include "bsd.h"
- #include <sys/param.h>
- #define PCB_TABLE 1
- #undef TCP_SYMBOL
- #define TCP_SYMBOL "tcbtable"
- #undef TCP_TTL_SYMBOL
- #define TCP_TTL_SYMBOL "ip_defttl"
- #undef UDB_SYMBOL
- #define UDB_SYMBOL "udbtable"
- #undef NPROC_SYMBOL
- #undef PROC_SYMBOL
- #define MBPOOL_SYMBOL "mbpool"
- #define MCLPOOL_SYMBOL "mclpool"
- /*
- * inp_next symbol
- */
- #undef INP_NEXT_SYMBOL
- #define INP_NEXT_SYMBOL inp_queue.cqe_next
- #undef INP_PREV_SYMBOL
- #define INP_PREV_SYMBOL inp_queue.cqe_prev
- #define HAVE_INPCBTABLE 1
- #if __NetBSD_Version__ >= 106300000 /* NetBSD 1.6ZD */
- #undef IFADDR_SYMBOL
- #define IFADDR_SYMBOL "in_ifaddrhead"
- #undef TOTAL_MEMORY_SYMBOL
- #endif
- #define UTMP_FILE _PATH_UTMP
- #ifndef netbsd1
- # define netbsd1 1
- #endif