commit | 0003f5129526067b9368472864d28c28da18eb80 | [log] [tgz] |
---|---|---|
author | markchien <markchien@google.com> | Thu Aug 26 19:46:35 2021 +0800 |
committer | Mark Chien <markchien@google.com> | Tue Aug 31 07:42:45 2021 +0000 |
tree | 11c07a2c73ba6c71ceaf50fd9b6f4f6090861258 | |
parent | 74edf5abe40649c730c4cd9d2913cda4e92f56ad [diff] |
Add initTestNetwork with a list of LinkAddress To support setup test network with both ipv4 and ipv6. Add overloading function for initTestNetwork to allow specify mutiple addresses. Also allow to get TestNetworkInterface from this test network, so the caller can use it to send and write packets. Test: atest EthernetTetheringTest Change-Id: Ic7626582c021dee824f95900e4de8efee861a9ea