I have some code that sets up a tunnel device and registers a kqueue filter for it ... ending roughly in:
EV_SET(&kqev, cons->tunSocket, EVFILT_READ, EV_ADD | EV_ENABLE, 0, 0, &cons->fsdkq); kevent(fsd->kq, &kqev, 1, NULL, 0, NULL); This event never fires. In another part of a the code, I have a timer --- so I call the tunnel reading function from there and (low and behold) there is a packet. Does EVFILT_READ just not work on tunnel devices? Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can be | |Mail: [EMAIL PROTECTED] | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================ _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

