|
From: | Ashley Duncan |
Subject: | [lwip-devel] [task #15393] Support scoped literal IPv6 addresses in getaddrinfo |
Date: | Thu, 19 Sep 2019 00:20:17 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0 |
URL: <https://savannah.nongnu.org/task/?15393> Summary: Support scoped literal IPv6 addresses in getaddrinfo Project: lwIP - A Lightweight TCP/IP stack Submitted by: ashesman Submitted on: Thu 19 Sep 2019 04:20:16 AM UTC Category: socket/netconn Should Start On: Thu 19 Sep 2019 12:00:00 AM UTC Should be Finished on: Thu 19 Sep 2019 12:00:00 AM UTC Priority: 5 - Normal Status: None Privacy: Public Percent Complete: 0% Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: None Effort: 0.00 _______________________________________________________ Details: It would be great if you could bind to a linklocal ip address used a scoped literal type address through the APIs that just take a URI string. E.g. fe80::1ff:fe23:4567:890a%en1 or fe80::1ff:fe23:4567:890a%2. mbedtls net abstraction layer only offers a bind that takes a char *. Passing a scoped link local IP address in causes the socket to be incorrectly bound to zone 0 and hence cannot accept incoming packets. Currently I cannot see a way to do this in a portable manner using the existing APIs. Of course, you can achieve this functionality through lower layer calls... Please excuse if I have missed something... _______________________________________________________ Reply to this item at: <https://savannah.nongnu.org/task/?15393> _______________________________________________ Message sent via Savannah https://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |