tree: 4b1c9f9c59c0b836b8eb21a54a4e921b94952702 [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
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.