diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2019-10-29 10:28:55 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-10-29 10:30:21 -0700 |
commit | 41e2df1bdee527eccdc4622ef2013201afc8e2cc (patch) | |
tree | f538e7fe2563b66651bbde47820257a330c676bb /pkg/tcpip/transport/tcp | |
parent | 29273b03842a85bce8314799348231520ceb6e9c (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/tcpip/transport/tcp')
0 files changed, 0 insertions, 0 deletions