-- Start of PGP signed section. [ Charset ISO-8859-1 unsupported, converting... ] > On Tue, May 18, 2004 at 04:54:23PM -0500, David Bogen wrote: > > Has anyone gotten ipfilter to compile on Linux, and if so, how did you do > > it? > > We were not able to clear this. Darren seems to have a header > file called: /usr/include/sys/filio.h on his system, that we > SuSE-useres don't have. I tried it on SuSE-9.0 Kernel 2.4.21. > Darren didn't tell me what kind of system he was successfully > compiling on.
Redhat 9.0 > It would be nice if Darrenn could make a: > > % rpm -q -f /usr/include/sys/filio.h > > on this system ( if it has rpm ), so we can see what package > this file belongs to. Actually, I think I might have been wrong. It comes in these files: # find /usr/include -print | xargs grep -l FIONREAD /usr/include/asm/ioctls.h /usr/include/linux/sockios.h # rpm -q -f /usr/include/asm/ioctls.h glibc-kernheaders-2.4-8.10 # rpm -q -f /usr/include/linux/sockios.h glibc-kernheaders-2.4-8.10 You should not have to include termios.h to get FIONREAD. That is just wrong. FIONREAD (as an ioctl) can work for any device - it returns the number of bytes that can be read without the device blocking the process in wait for more data. Darren
