commit | 48dec38972f57e424c939770ac41f731fb792b80 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Fri May 29 21:34:47 2020 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Fri May 29 23:11:04 2020 +0900 |
tree | 9bc2b1911c4f3fe09c795e35ace8a49f59ccb2e1 | |
parent | ed20ec3d6111412ca4751d884dd429a3ceaa80cb [diff] |
Add tap support to TunInterface. This allows callers to create a tap interface instead of a tun. Also specify IFF_NO_PI in order to make it easier for users of this class to read data from the tun. No existing users actually check the data, so this is safe. Bug: 150736748 Test: atest netd_integration_test Change-Id: Ic2e46bb864978b969ae5c1b8c2bdc5379d298f5a