commit | 8abd098670d87c2dd80282cecb846393c88411f5 | [log] [tgz] |
---|---|---|
author | Joshua Liebow-Feeser <joshlf@google.com> | Thu Feb 14 16:45:56 2019 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Fri Feb 15 22:53:24 2019 +0000 |
tree | 9b40bca24a2573e288e594a13099ee3c779ba0e4 | |
parent | e6b55ec295e25587ae2ba24e24bfa0d92bc571b8 [diff] |
[recovery-netstack] Finish changes to EtherType, IpProto - EtherType and IpProto were given an "Other" enum variant in a previous commit (3d0e87a9), but we mistakenly omitted some of the things that needed to be changed - Remove EtherType::from_u16 function - Have EthernetFrame::ethertype return Option<EtherType> rather than Option<Result<EtherType, u16>>, and update callers - Fix documentation on Ipv4Packet::proto Test: Existing tests pass Change-Id: I591343607dd6b2c50fde114c514f91d2e9ffc705
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.