[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Letting BOOTP packet through
From: |
Leon Woestenberg |
Subject: |
Re: [lwip-users] Letting BOOTP packet through |
Date: |
Thu, 21 Sep 2006 23:55:17 +0200 |
Hello Per,
On Thu, 21 Sep 2006 09:41:51 +0200, "Per Zetterlund"
<address@hidden> said:
> Hi all,
>
> I'm implementing a BOOTP client using LWIP. The problem is that LWIP
> doesn't let the BOOTP reply through to the UDP layer, since the
> destination IP of the packet doesn't match the netif IP (since it hasn't
> got one yet). In the DHCP case the problem is solved by letting the
> packet go through if the port is DHCP. Should I add code in ip.c to let
> BOOTP packets through as well, or is there a better way?
>
Yes, but isn't BOOTP exactly the same as DHCP at the UDP level?
AFAIK, DHCP is just an extension to BOOTP, and so I suspect your bootp
packets to already reach the upper layers.
Regards,
Leon.