Ethereal-users: Re: [Ethereal-users] Where is bpf_config?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Michael Wyatt <wyatt@xxxxxxxxxx>
Date: Wed, 18 Aug 2004 10:31:43 -0400

Guy,

Thanks for the response.  I do have the header file "/usr/include/net/bpf.h" but it looks like it came from libpcap-0.6.1 and doesn't have struct bpf_config  defined.

I've grep'd through every header file I can find on the machine and still can't find any reference to bpf_config.  I've even searched through headers files on some other AIX machines we have here but none of them have it.  It must be part of some AIX package that I can't find, just not sure which one or how to get it.


Thanks again,
michael




Guy Harris <gharris@xxxxxxxxx>
Sent by: ethereal-users-bounces@xxxxxxxxxxxx

08/18/2004 02:35 AM
Please respond to
Ethereal user support

To
Ethereal user support <ethereal-users@xxxxxxxxxxxx>
cc
Subject
Re: [Ethereal-users] Where is bpf_config?





Michael Wyatt wrote:

> Seems to work fine.  However, when I type make I get the following error:
>
>         cc -O -I.  -I/usr/local/include -DHAVE_CONFIG_H  -D_U_="" -c
> ./pcap-bpf.c
> "./pcap-bpf.c", line 356.16: 1506-007 (S) "struct bpf_config" is undefined.
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
>
>
> I've tried to find a bpf.h file that include the bpf_config struct but
> no luck.

Is there a "/usr/include/net/bpf.h" file on your system?

If so, does it have an indication that it comes from AIX, or is it one
that might have been installed by libpcap?

If it looks as if it came from AIX, does it define "struct bpf_config",
or does any of the header files it includes (or any they include, etc.),
define "struct bpf_config"?

If so, is there also a "bpf.h" in "/usr/local/include", and does it
define "struct bpf_config"?

_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users