You've already opened the device with pcap_open_live(), and assigned the
result to descr, right? (You have to do that before you call
pcap_setdirection.)
Ok, that was the problem.
It's fully functionnal now.
Thanks for the help.
Johan Mazel
-
This is the tcpdump-workers list.
Visit
- Original Message -
From: Chris Morgan chmor...@gmail.com
To: tcpdump-workers@lists.tcpdump.org
Sent: Tuesday, March 03, 2009 7:33 PM
Subject: Re: [tcpdump-workers] Hardware mac address with pcap/winpcap
...
Is the development of pcap such that such a feature might be present
in
On Mar 4, 2009, at 9:19 AM, Gianluca Varenni wrote:
In the case of Windows/WinPcap, we have an internal Packet API to
get the MAC address, the main problem is exposing such MAC address
at the pcap API level. I actually didn't know that findalldevs was
returning the MAC address on (some
On Wed, Mar 4, 2009 at 1:21 PM, Guy Harris g...@alum.mit.edu wrote:
On Mar 4, 2009, at 9:19 AM, Gianluca Varenni wrote:
In the case of Windows/WinPcap, we have an internal Packet API to get the
MAC address, the main problem is exposing such MAC address at the pcap API
level. I actually
I checked, and none of them (AF_LINK, PF_PACKET, sockaddr_ll) is defined in
the windows include files. Same for the Cygwin include files.
GV
- Original Message -
From: Guy Harris g...@alum.mit.edu
To: tcpdump-workers@lists.tcpdump.org
Sent: Wednesday, March 04, 2009 10:21 AM
Subject: