[tcpdump-workers] How to use specific protocol filters in pcap programming

2009-04-28 Thread Javier Gálvez Guerrero
Hi there, I'm trying to catch DHCP Requests/ACK and IEEE 802.11Probe Requests and Association ACK packets in a custom C program using libpcap but I'm facing some problems when applying filter chains different than simple ones like 'ether dst X' or 'port Y'. I would like to know what should I do in

Re: [tcpdump-workers] How to use specific protocol filters in pcap programming

2009-04-28 Thread Guy Harris
On Apr 28, 2009, at 2:26 AM, Javier Gálvez Guerrero wrote: I'm trying to catch DHCP Requests/ACK and IEEE 802.11Probe Requests and Association ACK packets in a custom C program using libpcap but I'm facing some problems when applying filter chains different than simple ones like 'ether dst