From owner-freebsd-bugs Tue Jan 12 13:10:02 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA11443 for freebsd-bugs-outgoing; Tue, 12 Jan 1999 13:10:02 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from wind.freenet.am ([194.151.101.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA11345 for ; Tue, 12 Jan 1999 13:09:04 -0800 (PST) (envelope-from casper@acc.am) Received: from lemming.acc.am (acc.freenet.am [194.151.101.251]) by wind.freenet.am (8.9.1/8.9.1) with ESMTP id BAA10549; Wed, 13 Jan 1999 01:07:15 +0400 (GMT) Received: from acc.am (nightmar.acc.am [192.168.100.108]) by lemming.acc.am (8.9.1a/8.9.1) with ESMTP id BAA17728; Wed, 13 Jan 1999 01:21:05 +0400 (AMT) Message-ID: <369B0AEA.EE5408E6@acc.am> Date: Tue, 12 Jan 1999 12:42:18 +0400 From: Casper Organization: Armenian Computer Center X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: ru,en MIME-Version: 1.0 To: "Jin Guojun (FTG staff)" CC: freebsd-bugs@FreeBSD.ORG Subject: Re: Example (BPF device programming) References: <199901112129.NAA25777@george.lbl.gov> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'll change it , but in my 3.0 box it compiles without any errors :) i'm using gcc-2.7.x .No changes in /etc/make.conf ... "Jin Guojun (FTG staff)" wrote: > > > It seems to compile just OK on my FBSD 3.0 - RELEASE > > 3.0 moved if_type into the if_var.h, so you are OK: > /sys/net/if_var.h:145:#define if_type if_data.ifi_type > > The best thing is no to use the system name, so you may use name like > > iF_type() > if_type_str() > > etc. > > -Jin > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-bugs" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message