On Apr 3, 2011, at 4:24 PM, Bob wrote:
> Yes, I'm checking the whole linked list. I get an AF_LINK and AF_INET6 per
> interface but no AF_NET. Works great on Ubuntu. Probably something simple
> I'll keep debugging.
The program I was running was the findalldevstest program, the source to which
Yes, I'm checking the whole linked list. I get an AF_LINK and AF_INET6 per
interface but no AF_NET. Works great on Ubuntu. Probably something simple I'll
keep debugging.
-Rob
On Apr 3, 2011, at 10:14 AM, Guy Harris wrote:
>
> On Apr 2, 2011, at 7:40 PM, Bob wrote:
>
>> Hello, I just noticed
On Apr 2, 2011, at 7:40 PM, Bob wrote:
> Hello, I just noticed that no AF_INET address is returned when getting an
> interface list (from pcap_findalldevs) on OSX even when an IPv4 address is
> assigned to that interface. An AF_INET6 address is however returned. Is this
> the expect behavior?
On Sat, Apr 2, 2011 at 7:40 PM, Bob wrote:
> Also, any suggestions for a cross-platform means of getting a MAC address
> (AF_LINK). On BSD i can use socketaddr_dl from if_dl.h, but Linux doesn't
> have this. I'm not even sure about windows.
libnet has a libnet_get_hwaddr(), might work across yo
Hello, I just noticed that no AF_INET address is returned when getting an
interface list (from pcap_findalldevs) on OSX even when an IPv4 address is
assigned to that interface. An AF_INET6 address is however returned. Is this
the expect behavior? Am I do something wrong?
Also, any suggestions