lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #27157] Preprocessor definitions to exclude IPv6 sourc


From: Joseph Thomas-Kerr
Subject: [lwip-devel] [bug #27157] Preprocessor definitions to exclude IPv6 sources
Date: Mon, 03 Aug 2009 12:43:33 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.33 Safari/530.5

Follow-up Comment #4, bug #27157 (project lwip):

That's very true. In my system *.c discovery is automated, *.h is not (so I
manually choose one include directory or the other).

In other network api's that I have used, ipv6 support is an extension to
ipv4, rather than a replacement. Both are in the same header files and there
are #if's to selectively include ipv6.

But I realise that this is quite different to the way that lwip is currently
structured. Still, you could merge ipv4/lwip/in.h and lpv6/lwip/in.h into a
single file and use #if to choose which half to enable (likewise for the other
ip headers), then you always include the same set of headers.

In any case, I imagine you don't want to consider anything like this at the
stage of rc2.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?27157>

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





reply via email to

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