commit | f7bc54375d49702ad184020109b0f323855f1ef6 | [log] [tgz] |
---|---|---|
author | Joshua Liebow-Feeser <joshlf@google.com> | Fri Aug 16 22:35:06 2019 +0000 |
committer | Joshua Liebow-Feeser <joshlf@google.com> | Fri Aug 16 22:35:06 2019 +0000 |
tree | c9e0b26df032f8e816b21776d66e47c4d6e917b1 | |
parent | daf2dfbd801a621746395bca8334ead3c3572c4a [diff] |
[netstack3][icmp] Factor out ICMP error message logic All ICMP error messages are sent by calling `IcmpContext`'s `send_icmp_error_message` method. Instead of calling `should_send_icmpv4_error` and `should_send_icmpv6_error` from each top-level function separately, move that logic into `send_icmp_error_message`. Test: Existing ICMP tests pass Change-Id: I2b21b58d18cfadc7bb096be73116dd7733dab77d
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 fuchsia.dev.