Hi *,

Following the latest discussions on this list I gather that I made
some wrong decisions when writing pcap-linux.c - I thought that
libpcap would be most portable by relying on the libc headers. 

Seems like that is wrong since libc includes kernel headers in turn
making everything a nice mess. The question arises if I should change
pcap-linux.c to rely solely on standard libc features and pull the
kernel headers for the remainder (e.g. don't use netpacket/packet.h
but linux/if_packet.h).

BTW: Does anybody know why glibc has a copy of the structures and 
defines from if_packet.h in netpacket/packet.h? This only asks for
getting out of sync. 

Thanks

        Torsten

PGP signature

Reply via email to