lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #61230] Improve Dual-Stack support for getaddrinfo, re


From: Simon Kueppers
Subject: [lwip-devel] [bug #61230] Improve Dual-Stack support for getaddrinfo, return both IPv4 and IPv6 results
Date: Wed, 6 Oct 2021 15:43:09 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0

Follow-up Comment #1, bug #61230 (project lwip):

I have been busy and I think I have a good solution. 
I have created a python script to generate reference output of some test cases
for getaddrinfo. I then wrote a C function, that I compiled with lwIP using
the same getaddrinfo calls and then I compared the output to the reference
output of the python script.

See attached the patch to lwIP and the test outputs (can be compared using
diff).

(file #52057, file #52058, file #52059, file #52060)
    _______________________________________________________

Additional Item Attachment:

File name: lwip_getaddrinfo.patch         Size:17 KB
   
<https://file.savannah.nongnu.org/file/lwip_getaddrinfo.patch?file_id=52057>

File name: getaddrinfo.pc.txt             Size:3 KB
    <https://file.savannah.nongnu.org/file/getaddrinfo.pc.txt?file_id=52058>

File name: getaddrinfo.lwip-old.txt       Size:2 KB
   
<https://file.savannah.nongnu.org/file/getaddrinfo.lwip-old.txt?file_id=52059>

File name: getaddrinfo.lwip-new.txt       Size:3 KB
   
<https://file.savannah.nongnu.org/file/getaddrinfo.lwip-new.txt?file_id=52060>



    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?61230>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

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