RaResponder: add support for NS/NA for tests

Add support to respond to neighbor solicitations in addition to router
solicitations. This is useful for tests that need to send IPv6 traffic
through a tap interface. I have previously experimented with the target
link-layer address option in the RA, but it did not seem to prevent a
subsequent NS.

As a TODO, this class should be renamed to NdResponder (and possibly
rewritten in Kotlin).

Test: test only change

Bug: 235559605
Bug: 259849956

Change-Id: I33bac507082fa89d1a5ae02cbe671ce7f5f09b07
Merged-In: I33bac507082fa89d1a5ae02cbe671ce7f5f09b07
1 file changed
tree: a731de5702608d112e668686528feab044e755f5
  1. client-libs/
  2. common/
  3. .gitignore
  4. OWNERS
  5. PREUPLOAD.cfg
  6. TEST_MAPPING