Get RDNSS option information from kernel instead of Netd.
Refactor the current way of getting RDNSS option info from netd, instead, just parsing the RDNSS option via netlink message from kenernl diretly and update the corresponding LinkProperties. Besides, update with an experiment flag to control the refactor. Alao change the IpClientLinkObserver constructor signature, add a new parameter: IpClient.Dependencies to control the refactor flag on or off, which is helpful for testing. Bug: 163492391 Test: atest NetworkStackTests NetworkStackIntegrationTests Change-Id: I0abc8ac14638e60fdcd5a7f27158a3290f326243
Loading
Please register or sign in to comment