From owner-freebsd-sparc64@FreeBSD.ORG Thu Jul 31 05:54:08 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7547537B401 for ; Thu, 31 Jul 2003 05:54:08 -0700 (PDT) Received: from klingler.ch (netra.klingler.ch [212.182.218.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAFDA43F75 for ; Thu, 31 Jul 2003 05:54:06 -0700 (PDT) (envelope-from richard@uclinux.net) Received: from 192.168.1.3 (dsl-X-115.kotikaista.weppi.fi [80.74.202.115]) by klingler.ch (8.12.2/8.12.2) with ESMTP id h6VCrFrx020520 for ; Thu, 31 Jul 2003 15:53:26 +0300 (EEST) Date: Thu, 31 Jul 2003 15:54:04 +0300 From: richard@uclinux.net To: freebsd-sparc64@freebsd.org X-Priority: 3 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailer: Mailsmith 2.0 (Blindsider) Subject: Re: ipfilter/ipmon... X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2003 12:54:08 -0000 Tracked down to ipmon.c... if (ioctl(fd[i], FIONREAD, &tr) == -1) { if (opts & OPT_SYSLOG) syslog(LOG_CRIT, "ioctl(FIONREAD): %m"); else perror("ioctl(FIONREAD)"); exit(1); /* NOTREACHED */ } FIONREAD always returns 0 although I can dump the binary representation of /dev/ipl... Also correctly flushes the log buffer from /dev/ipl when calling with "-F" option... don't expect an answer though...since this list is sort of dead anyway (o; rick