Re: [tcpdump-workers] Devices and adresses in libpcap

2008-04-12 Thread Guy Harris
David Rosal wrote: As far as I know, each network interface (for example eth0), can have different adresses, because in pcap_findalldevs(), a pcap_if_t does not hold a single pcap_addr_t but a linked list of all addresses for each interface/device. Yes, it can have multiple addresses, and, ye

[tcpdump-workers] Devices and adresses in libpcap

2008-04-12 Thread David Rosal
Hello. Let me present myself: I am David Rosal, from Barcelona. I have written a C++ wrapper for libpcap, called libpcap++. I have implemented almost all pcap functions in the library, and now I am trying to implement pcap_lookupnet(). But after reading the pcap man page carefully, there's still