lwip: Update the undi driver so it handles (in theory) all network types supported...
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 12 Apr 2011 06:30:45 +0000 (23:30 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 12 Apr 2011 21:41:24 +0000 (14:41 -0700)
commit52bf1d13548a86cc00012d30eb6af1179b363123
tree5ecc2fdc74ceaada8e545f89050bf8192b02ca51
parent787ca77736848e5d3967e5823d009cfe1ddcb833
lwip: Update the undi driver so it handles (in theory) all network types supported by undi

This involves on transmmit using theundi protocol types and letting
the undi layer put on the link level header,  On receive this
involves using the undi parsing of the link level header and generation
of the link level type.  This involves cloning etharp into undi.c
so we have our own set of arp functions that don't care how long
your hardware address is.

Using ethernet link layer frames directly removes a number of weird
limmitations so I do that by default when I know I am on ethernet
but that is not necessary, and a quick hack to change
undi_is_ethernet to always return false show that this code works
on whatever flavor of network adapter you have.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
core/lwip/src/api/tcpip.c
core/lwip/src/include/lwipopts.h
core/lwip/src/netif/undiif.c