Support discover/resolve on specific interfaces

Return the netHandle of the interface on which a service was discovered,
and allow resolving services on specific interfaces based on that
information.

This provides basic support to avoid the current situation where
services are discovered on an unknown interface, and resolved on a
possibly different, unspecified interface. mdnsresponder usage is
being deprecated, but the functionality can then be kept when
implementing the NsdManager API with its replacement.

Bug: 190249673
Test: atest NsdManagerTest
Change-Id: I382d460339b0e320aa1441164041f575813e6559
2 files changed
tree: 20a9a67d6860fe4d1cb71fd37be298217ad98c84
  1. bpf_progs/
  2. client/
  3. include/
  4. netutils_wrappers/
  5. server/
  6. tests/
  7. .editorconfig
  8. Android.bp
  9. NOTICE
  10. OWNERS
  11. PREUPLOAD.cfg
  12. TEST_MAPPING