Date: Mon, 11 Jan 1999 09:55:30 -0800 (PST) From: Jin Guojun (FTG staff) <jin@george.lbl.gov> To: casper@acc.am, freebsd-bugs@FreeBSD.ORG Subject: Re: Example (BPF device programming) Message-ID: <199901111755.JAA20153@george.lbl.gov>
next in thread | raw e-mail | index | archive | help
> Here is a small program, that demonstrates basic programming of BPF device. > I think it must go to the /usr/share/examples You should test your program before submiting: /tmp/temp/bpf: make gcc -c -g -DDEBUG -I/usr/include -I/usr/local/include bpf.c -o bpf.o bpf.c:24: parse error before `.' bpf.c: In function `main': bpf.c:139: `if_data' undeclared (first use this function) bpf.c:139: (Each undeclared identifier is reported only once bpf.c:139: for each function it appears in.) bpf.c: At top level: bpf.c:205: parse error before `.' *** Error code 1 bpf.c 25:char *if_type(); net/if.h 171:#define if_type if_data.ifi_type To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901111755.JAA20153>