Subject: Re: CVS commit: src/sys/net
To: None <darrenr@NetBSD.org>
From: MOCHIZUKI Tomomitsu <mochi@thn.ne.jp>
List: source-changes
Date: 05/29/2004 22:14:34
From: Darren Reed <darrenr@NetBSD.org>
Subject: CVS commit: src/sys/net
Date: Sat, 29 May 2004 08:56:19 +0000 (UTC)
Message-ID: <20040529085619.E10AF2DA1D@cvs.netbsd.org>

darrenr san,
With the correction which you did, it had become a compilation error.

/home/cross/evbppc/bin/powerpc--netbsd-gcc -mcpu=403 -msoft-float -ffreestanding -O2 -Wreturn-type -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -D__obs405__ -Devbppc=evbppc -I. -I/local/src/NetBSD/evbppc/current/src/sys/arch -I/local/src/NetBSD/evbppc/current/src/sys -nostdinc -DPPC_INTR_IMPL=<powerpc/ibm4xx/ibm4xx_intr.h> -DPPC_PCI_MACHDEP_IMPL=<powerpc/ibm4xx/pci_machdep.h> -DKERNBASE=0x25000 -DSPILLSTK=1024 -DTRAP_PANICWAIT -DNMBCLUSTERS=1024 -DEMAC_EVENT_COUNTERS -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /local/src/NetBSD/evbppc/current/src/sys/net/bpf.c
/local/src/NetBSD/evbppc/current/src/sys/net/bpf.c: In function `bpf_waitfordata':
/local/src/NetBSD/evbppc/current/src/sys/net/bpf.c:503: error: `ioflag' undeclared (first use in this function)
/local/src/NetBSD/evbppc/current/src/sys/net/bpf.c:503: error: (Each undeclared identifier is reported only once
/local/src/NetBSD/evbppc/current/src/sys/net/bpf.c:503: error: for each function it appears in.)
/local/src/NetBSD/evbppc/current/src/sys/net/bpf.c:511: error: `timed_out' undeclared (first use in this function)
/local/src/NetBSD/evbppc/current/src/sys/net/bpf.c:523: error: `s' undeclared (first use in this function)
/local/src/NetBSD/evbppc/current/src/sys/net/bpf.c: In function `bpf_setdlt':
/local/src/NetBSD/evbppc/current/src/sys/net/bpf.c:1675: warning: no previous prototype for `bpfmmap'
/local/src/NetBSD/evbppc/current/src/sys/net/bpf.c:1700: warning: function declaration isn't a prototype
/local/src/NetBSD/evbppc/current/src/sys/net/bpf.c: At top level:
/local/src/NetBSD/evbppc/current/src/sys/net/bpf.c:125: warning: `bpf_mmapinfo' declared `static' but never defined

*** Failed target:  bpf.o

regards,


darrenr> 
darrenr> Module Name:	src
darrenr> Committed By:	darrenr
darrenr> Date:		Sat May 29 08:56:19 UTC 2004
darrenr> 
darrenr> Modified Files:
darrenr> 	src/sys/net: bpf.c bpf.h bpfdesc.h
darrenr> 
darrenr> Log Message:
darrenr> add mmap(2) interface to bpf(4) devices, along with BIOCMMAPINFO ioctl call
darrenr> for applications to interact with the bpf device for the purpose of using
darrenr> mmap to examinen captured data.
darrenr> 
darrenr> 
darrenr> To generate a diff of this commit:
darrenr> cvs rdiff -r1.98 -r1.99 src/sys/net/bpf.c
darrenr> cvs rdiff -r1.37 -r1.38 src/sys/net/bpf.h
darrenr> cvs rdiff -r1.18 -r1.19 src/sys/net/bpfdesc.h
darrenr> 
darrenr> Please note that diffs are not public domain; they are subject to the
darrenr> copyright notices on the relevant files.
darrenr> 
darrenr> 


--
;; T.Mochizuki mailto:mochi@thn.ne.jp
;;