Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shell/gnrc_icmpv6_echo: test for ICMPv6 echo reply corruption
The Linux ping utility has the nice feature that fills the ICMPv6 echo request payload with a pattern `payload_index & 0xFF`. Then the ICMPv6 echo response payload is checked to verify that the pattern is still intact. This way corrupted messages can be detected. In the past that revealed some 6lo-fragmentation bugs in Linux when corrupted replies arrived. This feature is also useful for RIOT, so implement it in RIOTs `ping` command.
- Loading branch information
Showing
1 changed file
with
51 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters