summaryrefslogtreecommitdiff
path: root/Tethering/src/android/net/ip/RouterAdvertisementDaemon.java
Commit message (Collapse)AuthorAgeFilesLines
* Deduplicate InterfaceParamsPatrick Rohr2022-03-041-1/+1
| | | | | | | | CS should use InterfaceParams from frameworks/libs/net. Test: builds Bug: 222448728 Change-Id: I1f45d3171b265461a8724b4be7b212c030b63fe9
* Rename tethering util folder and its package namemarkchien2021-11-091-2/+2
| | | | | | | | | | | | | | Move tethering util files from android.net.util into com.android.networkstack.tethering.util. The goal is move all of tethering internal files into its own namespace com.android.networkstack.tethering.util. Bug: 205088391 Test: atest TetheringTests atest CtsTetheringTest atest TetheringPrivilegedTests Change-Id: I6559fb4f873b3cad5b210b10e49df1b6c6914a70
* Apply IPv6 utils struct stuff to build RA packet in the Daemon.Xiao Ma2021-04-081-133/+48
| | | | | | | | | | | Traffic log of testSolicitRouterAdvertisement: fe80::4473:4aff:fecb:7799 > ff02::1: ICMP6, router advertisement, length 88 fe80::1122:3344:5566:7788 > ff02::1: ICMP6, router solicitation, length 16 fe80::4473:4aff:fecb:7799 > fe80::1122:3344:5566:7788: ICMP6, router advertisement, length 88 Bug: 154669942 Test: atest TetheringPrivilegedTests --iterations Change-Id: I7defb80ef9dd1832c9e04d154e1d06aed9e733dc
* Update import class of TAG_SYSTEM_NEIGHBORAaron Huang2021-03-171-2/+2
| | | | | | | | | | | | TrafficStatsConstants.TAG_SYSTEM_NEIGHBOR is moved to NetworkStackConstants so update the import class name for it. Bug: 182349970 Test: FrameworksNetTests NetworkStackTests TetheringTests Change-Id: I8fcd2772ed873d318233d3029184e4352245d4cd Merged-In: I8fcd2772ed873d318233d3029184e4352245d4cd
* tethering: DAD Proxy DaemonTyler Wear2020-09-221-15/+1
| | | | | | | DAD proxy daemon responsible for forwarding NS/NA between tethered iface and upstream iface. Change-Id: I2e58e10e7fa7dba6a6f63ad03b000549f3afc37e
* Fix some @hide usage in Tethering(Cont.)markchien2020-01-091-1/+1
| | | | | | | | Using alternative way to fix @hide usage. Do not have API change. Bug: 144814072 Test: buid Change-Id: Ia23e319ad3779318471d01cbfa17b8c6df4960d3
* Fix some @hide usage in Tetheringmarkchien2020-01-071-7/+3
| | | | | | | | | | Using alternative way to replace some @hide API. Bug: 144814072 Test: build, flash, boot atest TetheringTests Change-Id: I1e12d69db1ad91dff553e142e17c6a70808e1639
* Change tetheroffloadjni to tetheringutilsjnimarkchien2020-01-071-1/+2
| | | | | | | | | | | | Rename tetheroffloadjni to tetheringutilsjni and move setupRaSocket jni method from NetUtils into tetheringutilsjni. Bug: 143195885 Test: -build, flash, boot -atest TetheringTests -Off/On hotspot with ipv6 upstream Change-Id: Ib68eb6999bbe2d3ca97e68712f22b105311ef800
* [Tether03] Migrate IpServer into modulemarkchien2019-10-241-0/+761
Add IpServer which is used to serve ip configuration, dhcp, dns proxy and nat for downstream interface. Bug: 136040414 Test: -build, flash, boot -atest TetheringTests -atest FrameworksNetTests Change-Id: I23652ae0b9509abe7d38da96d523eb22ab00a343