arc: net: Add IP configs to all active network events
This patch adds to all active network events sent to ARC++ over mojo the complete IP v4 and v6 configurations of the host if they exist. This relies on the shill Device "IPConfigs" DBUS property which is the only consistent way to get current v4 and v6 configurations from shill. This allows to: - Correctly set DNS inside Android for the default network and all secondary networks. - Track inside Android WiFi roaming over the same prefix to avoid spurious network disconnection. BUG=b:112245108 BUG=b:140812279 BUG=b:143247361 BUG=b:143258259 TEST=Deployed Chrome and ARC++. Connected device to eth and wifi. Manually changed DNS between "Google" and manual entries both both eth (as the default network) and wifi. Observed that ARC++ consistently gets correct DNS settings for active network events. Change-Id: I40b654c5dba0fdf722971b7c12437991b1a5c374 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1892474 Commit-Queue: Hugo Benichi <hugobenichi@google.com> Reviewed-by:Hidehiko Abe <hidehiko@chromium.org> Cr-Commit-Position: refs/heads/master@{#712850}
Showing
Please register or sign in to comment