Hannes R. Boehm wrote:
>
> Hi,
>
>
> minor Problems:
>
> *) there is no DLT_RAW, but a DLT_NULL constant (as used in packet.h)
> -> how do we handle ports ? -> should I make a ifdef in the .c file
> or move the whole bunch of system dependend stuff in a header ?
>
This is the same on Digital UNIX. The bpf.h file does not contain this
definition (not supported). See my previous patch that contains a fix
in packet.c
> *) ATTENTION: there is a special pseudo-device bpfilter which
> has to be compiled into the Kernel to enable the promisc mode
> capability of the ethernet card -> maybe I should write a
> README.FreeBSD ?
This is the same on Digital UNIX (MAKEDEV pfilt and PACKETFILTER option
in the kernel configuration file + pfconfig). I think users of tcpdump
are familiar with those configuration steps. But a README might be useful.
Laurent.
--
Laurent DENIEL | E-mail: deniel@xxxxxxxxxxx
Paris, FRANCE | deniel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
| WWW : http://www.worldnet.fr/~deniel
All above opinions are personal, unless stated otherwise.