[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Re: [lwip] arp_query() and network drivers design
From: |
leon . woestenberg |
Subject: |
[lwip-users] Re: [lwip] arp_query() and network drivers design |
Date: |
Thu, 09 Jan 2003 01:21:12 -0000 |
Hello Adam,
On Friday 18 January 2002 10.39, you wrote:
> > considering ARP and network device drivers.
> I'm not quite sure I get your point. The current design is as follows:
> ...
> * netif->output() uses arp_lookup() to find the MAC address of an IP
address.
> ...
>
What I meant to say is that the netif->output() is IP dependent, i.e. it
accepts
an IP packet. I thought of using netif->output() to send my arp query but
that
approach won't work :)
> Since your DHCP client needs to send an ARP query, I guess the best way
would
> be (just as you suggest) to add a netif->linkoutput() and send the pbuf
> returned by arp_query().
>
Will do just that.
Bye, Leon.
[This message was sent through the lwip discussion list.]