lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #8994] dhcp: add support for vendor specific options


From: Jan Breuer
Subject: [lwip-devel] [patch #8994] dhcp: add support for vendor specific options 43 and 60
Date: Tue, 24 May 2016 09:42:27 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36

Follow-up Comment #5, patch #8994 (project lwip):

Yes, there is no retry and it will be lost.
Problem is, that passing just pbuf in callback is not much user friendly
outside lwip core but still ok. Passing also offset and length is something, I
would like to avoid. Somebody can also call pbuf_coalesce in the callback and
I think that it will break dhcp code. It forces dhcp to pass it as const
pbuf.

Calling mem_calloc is also not good solution.

Is there any other possibility to pass larger buffer to user callback. Is
there something already in LwIP so I can take inspiration?


Problem of shared vendor_class_identifier is, that we already have in-house
proprietary dhcpv6. I can't push it upstream (sad). So, this is just my
egoistic need to have one field for both.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?8994>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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