Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 1999 12:42:18 +0400
From:      Casper <casper@acc.am>
To:        "Jin Guojun (FTG staff)" <jin@george.lbl.gov>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: Example (BPF device programming)
Message-ID:  <369B0AEA.EE5408E6@acc.am>
References:  <199901112129.NAA25777@george.lbl.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?369B0AEA.EE5408E6>