diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2019-12-10 18:03:43 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-10 18:05:23 -0800 |
commit | 4ff71b5be462f3f16808abea11de1f5e01567e5d (patch) | |
tree | 9cfbb058445079046a871fc071aeb2bafcca660c /pkg/sentry/fsimpl/ext/extent_test.go | |
parent | a0aa784ecfb0d5ef94decf3c2be3e1cd44b6cbc6 (diff) |
Inform the integrator on receipt of an NDP Recursive DNS Server option
This change adds support to let an integrator know when it receives an NDP
Router Advertisement message with the NDP Recursive DNS Server option with at
least one DNS server's address. The stack will not maintain any state related to
the DNS servers - the integrator is expected to maintain any required state and
invalidate the servers after its valid lifetime expires, or refresh the lifetime
when a new one is received for a known DNS server.
Test: Unittest to make sure that an event is sent to the integrator when an NDP
Recursive DNS Server option is received with at least one address.
PiperOrigin-RevId: 284890502
Diffstat (limited to 'pkg/sentry/fsimpl/ext/extent_test.go')
0 files changed, 0 insertions, 0 deletions