android_packages_modules_Co.../staticlibs/device
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Xiao Ma a3d165e814 Support adding an IPv4 address via RTM_NEWADDR netlink message.
Usually we can call InterfaceController.setIPv4Address API to add an
IPv4 address on the interface, in fact it ends up calling the native
Netd API which doesn't support setting deprecation/expiration time. In
user space we already have the netlink infra to send RTM_NEWADDR for
IPv6 address, extend the function to support IPv4 as well, then we can
deprecate the Netd API in IpClient.

Bug: 129660498
Test: atest NetworkStaticLibTests
Change-Id: I9fc7ba8d7035e0ed1df8c1f2baef9ec7e1806be3
2024-01-26 05:40:34 +00:00
..
android/net Add null check for mProvider 2022-04-27 11:25:11 +00:00
com/android/net/module/util Support adding an IPv4 address via RTM_NEWADDR netlink message. 2024-01-26 05:40:34 +00:00