lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Re: [lwip] arp_query() and network drivers design


From: Adam Dunkels
Subject: [lwip-users] Re: [lwip] arp_query() and network drivers design
Date: Wed, 08 Jan 2003 23:49:52 -0000

Hi Leon!

On Tuesday 22 January 2002 17.04, 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 :)

Ok :-)

> > 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.

Do you think the name ->linkoutput() is good? If so, I'll add this to the 
netif structure.

/adam
-- 
Adam Dunkels <address@hidden>
http://www.sics.se/~adam
[This message was sent through the lwip discussion list.]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]