K 10 svn:author V 4 emax K 8 svn:date V 27 2006-05-20T00:44:00.000000Z K 7 svn:log V 491 MFC v1.59 and v1.60 Add kqueue(2) support on if_tap(4) interfaces. While I'm here, replace K&R style function declarations with ANSI style. Also fix endian bugs accessing ioctl arguments that are passed by value. Do not call knlist_destroy() in tapclose(). Instead call it when device is actually destroyed. Also move call to knlist_init() into tapcreate(). This should fix panic described in kern/95357. PR: kern/93897, kern/95357 Submitted by: Vilmos Nebehaj < vili at huwico dot hu > END