Hi,

> Hi all,
>
> > - GetNetInfo *is* Win32 specific, like packet.dll. On the other side,
> > wpcap.dll exports a superset of the the libpcap library, which is
> > system independent. Providing link layer information on the
> > pcap_if_t structure means offering a method to retrieve it in the
> > same (simple) way under all the OSes supported by libpcap, which in
> > my opnion is a very useful thing (and incidentally is one of the goals
> > that I have when I develop WinPcap).
> True, but there's more than just Ethernet, so if it's done at the Pcap
> level, it has to be fully generic, meaning, not just for all supported
> platforms, but also for all supported link layers.  Which makes the code
> even more bloated...

IP Helper API provides for this purpose a generic array of bytes with
variable length, whose maximum size is 8 bytes.

Loris

>--f




==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]
==================================================================

Reply via email to