tcpdump mailing list archives

Re: MAC address and pcap_findalldevs()


From: "Mustafa Abu Sedera" <tifa_80 () hotmail com>
Date: Tue, 06 Jan 2004 09:48:10 +0000

WOW!
That was a fast reply! Thanks!

It seems that i have an old version of libpcap.

I want to install the newest version now but i need to know if i have to uninstall the old version first or can i just install the new on top of it? and how ?(excuse me but i am a linux newbie)

thanks in advance

From: Guy Harris <guy () alum mit edu>
To: Mustafa Abu Sedera <tifa_80 () hotmail com>
CC: tcpdump-workers () tcpdump org
Subject: Re: [tcpdump-workers] MAC address and pcap_findalldevs()
Date: Tue, 6 Jan 2004 00:06:40 -0800

On Tue, Jan 06, 2004 at 07:36:07AM +0000, Mustafa Abu Sedera wrote:
> 1. I need to know if there is any function in libpcap which retrieves all
> available devices on the system like pcap_findalldevs() in wpcap.

Yes, there is.

It's called...

..."pcap_findalldevs()".

> 2. Is there any way to get the MAC address of the adapter using libpcap?

Unfortunately, no.

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe


Current thread: