tree: 3d0c589603c575c2828017e24bc90dab9b1b916b [path history] [tgz]
  1. tests/
  2. address_resolve.gni
  3. AddressResolve.cpp
  4. AddressResolve.h
  5. AddressResolve_DefaultImpl.cpp
  6. AddressResolve_DefaultImpl.h
  7. BUILD.gn
  8. README.md
  9. tool.cpp
  10. TracingStructs.h
src/lib/address_resolve/README.md

Content

This library defines methods for resolving addresses of CHIP Nodes/Peers.

While dnssd is used for discovery, that method generally can yield several IP addresses due to:

  • multiple IP addresses per interface (e.g. LL, GUA, ULA or even IPv4)
  • multiple interfaces per device

The purpose of address resolution is to find a single ip address to use for the given lookup. It employs a set of heuristics to determine what the best IP (the most likely to route correctly) is and allows custom implementations from applications by not including the default implementation.