📄 os.h
字号:
/* * Copyright (C) 2003 by Darren Reed. * * See the IPFILTER.LICENCE file for details on licencing. */#include <sys/sunddi.h>#include <sys/ddi.h>#if SOLARIS2 >= 6# include <net/if_types.h>#endif#undef IPOPT_EOL#undef IPOPT_NOP#undef IPOPT_LSRR#undef IPOPT_RR#undef IPOPT_SSRR#include <inet/common.h>#include <inet/mi.h>#include <inet/led.h>#include <inet/nd.h>#if SOLARIS2 >= 8# include <netinet/ip6.h>#endif#include <inet/ip.h>#define MUTEX_ENTER(x) mutex_enter(x)#define MUTEX_EXIT(x) mutex_exit(x)#define READ_ENTER(x) rw_enter(x, RW_READER)#define WRITE_ENTER(x) rw_enter(x, RW_WRITER)#define RW_DOWNGRADE(x) rw_downgrade(x)#define RW_EXIT(x) rw_exit(x)#define KMALLOC(v,t,z,w) (v) = (t)kmem_zalloc(z, w)#define KMFREE(v, z) kmem_free(v, z)extern caddr_t pfil_nd;#if defined(atomic_add_long) && (SOLARIS2 < 7)# undef atomic_add_long# define atomic_add_long(x,y) atomic_add_32((uint32_t *)x, y)#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -