[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [task #12722] Improve IPv4/v6 address handling
From: |
Ivan Delamer |
Subject: |
[lwip-devel] [task #12722] Improve IPv4/v6 address handling |
Date: |
Wed, 03 Jul 2013 15:20:54 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:21.0) Gecko/20100101 Firefox/21.0 |
Follow-up Comment #4, task #12722 (project lwip):
PCBs have the isipv6 member, we can use the same macros we use in tcp/udp code
to handle addresses.
Or for example if this application will only support IPv4 we can just make it
char* ipa = ip_ntoa(ipX_2_ip(&pcb->local_ip));
or
char* ipa = ip_ntoa(((ip_addr_t*))&pcb->local_ip);
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?12722>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/