Skip to content

Commit

Permalink
shell_commands: adapt ping6 to original-ping-like implementation
Browse files Browse the repository at this point in the history
Loosely based on [the original ping] and [netutil]'s ping

New features (compared to old RIOT version):
 - non-positional parameters
 - Better duplicate detection (addresses #9387)
 - Better asynchronous behavior
 - Potential for future move to `sock_ip`
 - (Optional) DNS-support
 - Multithreading-safe (in case shell-command handler gets called
   from multiple threads)

[the original ping]: http://ftp.arl.army.mil/~mike/ping.html
[netutil]: https://www.gnu.org/software/inetutils/
  • Loading branch information
miri64 committed Jul 9, 2018
1 parent e2ab6cf commit 2d73d12
Show file tree
Hide file tree
Showing 4 changed files with 407 additions and 350 deletions.
2 changes: 1 addition & 1 deletion sys/shell/commands/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ifneq (,$(filter gnrc_ipv6_blacklist,$(USEMODULE)))
endif
ifneq (,$(filter gnrc_icmpv6_echo,$(USEMODULE)))
ifneq (,$(filter xtimer,$(USEMODULE)))
SRC += sc_icmpv6_echo.c
SRC += sc_gnrc_icmpv6_echo.c
endif
endif
ifneq (,$(filter gnrc_pktbuf_cmd,$(USEMODULE)))
Expand Down
Loading

0 comments on commit 2d73d12

Please sign in to comment.