commit | 54520a0206f086fadda861fdabde3afbc4318960 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Fri Feb 09 18:39:16 2018 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Wed Feb 14 15:20:22 2018 +0900 |
tree | 49f9e1440ae78736ccc86be919be0e1477f981e0 | |
parent | 330822b899d83241b273ee008c90793eb05e266a [diff] |
Make TunInterface more useful. - Support more than one TunInterface per process by adding some randomness to the interface name. - Export include files so it can be used from other directories. - Add a method to get the interface index. Bug: 73032258 Test: netd_unit_test passes, netd_integration_test has no new failures Change-Id: I0968cd394e18e51aec6b48f07ac626ba2496160f