summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/ext/ext_test.go
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2019-10-29 10:28:55 -0700
committergVisor bot <gvisor-bot@google.com>2019-10-29 10:30:21 -0700
commit41e2df1bdee527eccdc4622ef2013201afc8e2cc (patch)
treef538e7fe2563b66651bbde47820257a330c676bb /pkg/sentry/fsimpl/ext/ext_test.go
parent29273b03842a85bce8314799348231520ceb6e9c (diff)
Support iterating an NDP options buffer.
This change helps support iterating over an NDP options buffer so that implementations can handle all the NDP options present in an NDP packet. Note, this change does not yet actually handle these options, it just provides the tools to do so (in preparation for NDP's Prefix, Parameter, and a complete implementation of Neighbor Discovery). Tests: Unittests to make sure we can iterate over a valid NDP options buffer that may contain multiple options. Also tests to check an iterator before using it to see if the NDP options buffer is malformed. PiperOrigin-RevId: 277312487
Diffstat (limited to 'pkg/sentry/fsimpl/ext/ext_test.go')
0 files changed, 0 insertions, 0 deletions