lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #13729] Convert netif addresses (IPv4 & IPv6) to ip_a


From: Valery Ushakov
Subject: [lwip-devel] [task #13729] Convert netif addresses (IPv4 & IPv6) to ip_addr_t
Date: Fri, 5 Aug 2016 16:44:27 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

Follow-up Comment #4, task #13729 (project lwip):

I know I'm a bit late, but why this was even necessary?  Why pretend that an
IPv6 address of the interface may be anything but an IPv6 address and use
generic ip_addr_t for only to use ip_2_ip6 macro practically every time you
need to use it?

The same goes for IPv4 address/mask.

Note that the functions declared in netif.h specific to IPv4 or IPv6 still use
ip4_addr_t or ip6_addr_t arguments respectively.

So why all the contortions?

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?13729>

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




reply via email to

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