New issue
Advanced search Search tips

Issue 768600 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Fuchsia
Pri: 3
Type: Bug



Sign in to add a comment

Fuchsia: Implement net::GetNetworkList() and NetworkChangeNotifier

Project Member Reported by sergeyu@chromium.org, Sep 25 2017

Issue description

Currently there is no implementation of NetworkChangeNotifier on Fuchsia. Also GetNetworkList() is broken: the POSIX implementation uses getifaddrs() which is not implemented on Fuchsia, see https://fuchsia.atlassian.net/browse/ZX-766 .

netstack implements FIDL interface that allows to get list of network interfaces, see Netstack::GetInterfaces() in garnet/public/lib/netstack/fidl/netstack.fidl . It can be used to implement GetNetworkList(). NetworkChangeNotifier could be implemented using the same API as well (polling it on a timer), but it would be better to extend Netstack interface to monitor for network changes. Filed https://fuchsia.atlassian.net/browse/NET-189 to track that issue.



 
Cc: kmarshall@chromium.org
 Issue 783432  has been merged into this issue.
Cc: -kmarshall@chromium.org
Owner: kmarshall@chromium.org
Status: Assigned (was: Untriaged)
Status: Fixed (was: Assigned)

Sign in to add a comment