diff options
| author | Lorenzo Colitti <lorenzo@google.com> | 2020-05-29 21:34:47 +0900 |
|---|---|---|
| committer | Maciej Żenczykowski <maze@google.com> | 2020-05-30 16:30:03 -0700 |
| commit | 64bb803cd3cd46dac90633e974a9d45c7392cf62 (patch) | |
| tree | 0439d24f0c0a040b27b5c3f6bb9dc11927c69a3b /server/TetherController.cpp | |
| parent | 0b2cc7ae6cfc5855c6a486addca1add1e37990d2 (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
Merged-In: Ic2e46bb864978b969ae5c1b8c2bdc5379d298f5a
Diffstat (limited to 'server/TetherController.cpp')
0 files changed, 0 insertions, 0 deletions
