Lines 109-121
Link Here
|
109 |
|
109 |
|
110 |
#ifdef IPFILTER_LOG |
110 |
#ifdef IPFILTER_LOG |
111 |
|
111 |
|
112 |
# if defined(IPL_SELECT) |
|
|
113 |
# include <machine/sys/user.h> |
114 |
# include <sys/kthread_iface.h> |
115 |
# define READ_COLLISION 0x001 |
116 |
extern int selwait; |
117 |
# endif /* IPL_SELECT */ |
118 |
|
119 |
typedef struct ipf_log_softc_s { |
112 |
typedef struct ipf_log_softc_s { |
120 |
ipfmutex_t ipl_mutex[IPL_LOGSIZE]; |
113 |
ipfmutex_t ipl_mutex[IPL_LOGSIZE]; |
121 |
# if SOLARIS && defined(_KERNEL) |
114 |
# if SOLARIS && defined(_KERNEL) |
Lines 239-248
ipf_log_soft_init(ipf_main_softc_t *softc, void *arg)
Link Here
|
239 |
softl->ipll[i] = NULL; |
232 |
softl->ipll[i] = NULL; |
240 |
softl->iplh[i] = &softl->iplt[i]; |
233 |
softl->iplh[i] = &softl->iplt[i]; |
241 |
bzero((char *)&softl->ipl_crc[i], sizeof(softl->ipl_crc[i])); |
234 |
bzero((char *)&softl->ipl_crc[i], sizeof(softl->ipl_crc[i])); |
242 |
# ifdef IPL_SELECT |
|
|
243 |
softl->iplog_ss[i].read_waiter = 0; |
244 |
softl->iplog_ss[i].state = 0; |
245 |
# endif |
246 |
} |
235 |
} |
247 |
|
236 |
|
248 |
|
237 |
|
Lines 625-633
ipf_log_items(ipf_main_softc_t *softc, int unit, fr_info_t *fin, void **items,
Link Here
|
625 |
POLLWAKEUP(unit); |
614 |
POLLWAKEUP(unit); |
626 |
# endif |
615 |
# endif |
627 |
SPL_X(s); |
616 |
SPL_X(s); |
628 |
# ifdef IPL_SELECT |
|
|
629 |
iplog_input_ready(unit); |
630 |
# endif |
631 |
return (0); |
617 |
return (0); |
632 |
} |
618 |
} |
633 |
|
619 |
|
634 |
- |
|
|
635 |
-- |
636 |
sys/netpfil/ipfilter/netinet/ip_state.c | 12 ------------ |
620 |
sys/netpfil/ipfilter/netinet/ip_state.c | 12 ------------ |
637 |
1 file changed, 12 deletions(-) |
621 |
1 file changed, 12 deletions(-) |