1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

treewide: s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/

Replace the deprecated module gnrc_pktbuf_cmd with the new
shell_cmd_gnrc_pktbuf module.
This commit is contained in:
Marian Buschsieweke 2022-09-24 14:50:43 +02:00
parent d9e881e73a
commit 77731c5f7b
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94
11 changed files with 12 additions and 12 deletions

View File

@ -2,7 +2,7 @@
=============== ===============
This parses the output of the command `pktbuf` provided by the module This parses the output of the command `pktbuf` provided by the module
`gnrc_pktbuf_cmd` for the `gnrc_pktbuf_static` implementation. `shell_cmd_gnrc_pktbuf` for the `gnrc_pktbuf_static` implementation.
The command expects the ELF file of the binary the `pktbuf` command was executed The command expects the ELF file of the binary the `pktbuf` command was executed
in to get some binary information on structs potentially stored in the packet in to get some binary information on structs potentially stored in the packet

View File

@ -9,7 +9,7 @@
# @author Martine Lenders <m.lenders@fu-berlin.de> # @author Martine Lenders <m.lenders@fu-berlin.de>
""" """
Script to parse the output of the `pktbuf` (provided by the `gnrc_pktbuf_cmd` Script to parse the output of the `pktbuf` (provided by the `shell_cmd_gnrc_pktbuf`
pseudo-module) command and the `gnrc_pktbuf_stats()` function. pseudo-module) command and the `gnrc_pktbuf_stats()` function.
""" """

View File

@ -433,7 +433,7 @@ ifneq (,$(filter gnrc_pktbuf, $(USEMODULE)))
ifeq (,$(filter gnrc_pktbuf_%, $(USEMODULE))) ifeq (,$(filter gnrc_pktbuf_%, $(USEMODULE)))
USEMODULE += gnrc_pktbuf_static USEMODULE += gnrc_pktbuf_static
endif endif
ifeq (gnrc_pktbuf_cmd,$(filter gnrc_pktbuf_%, $(USEMODULE))) ifeq (shell_cmd_gnrc_pktbuf,$(filter gnrc_pktbuf_%, $(USEMODULE)))
USEMODULE += gnrc_pktbuf_static USEMODULE += gnrc_pktbuf_static
endif endif
DEFAULT_MODULE += auto_init_gnrc_pktbuf DEFAULT_MODULE += auto_init_gnrc_pktbuf
@ -444,7 +444,7 @@ ifneq (,$(filter gnrc_pktbuf_%, $(USEMODULE)))
USEMODULE += gnrc_pktbuf # make MODULE_GNRC_PKTBUF macro available for all implementations USEMODULE += gnrc_pktbuf # make MODULE_GNRC_PKTBUF macro available for all implementations
endif endif
ifneq (,$(filter gnrc_pktbuf_cmd,$(USEMODULE))) ifneq (,$(filter shell_cmd_gnrc_pktbuf,$(USEMODULE)))
ifneq (,$(filter gnrc_pktbuf_static,$(USEMODULE))) ifneq (,$(filter gnrc_pktbuf_static,$(USEMODULE)))
USEMODULE += od USEMODULE += od
endif endif

View File

@ -19,7 +19,7 @@ USEMODULE += auto_init_gnrc_netif
USEMODULE += gnrc_ipv6_router_default USEMODULE += gnrc_ipv6_router_default
USEMODULE += gnrc_icmpv6_error USEMODULE += gnrc_icmpv6_error
USEMODULE += gnrc_pktdump USEMODULE += gnrc_pktdump
USEMODULE += gnrc_pktbuf_cmd USEMODULE += shell_cmd_gnrc_pktbuf
# IPv6 extension headers # IPv6 extension headers
USEMODULE += gnrc_ipv6_ext USEMODULE += gnrc_ipv6_ext
USEMODULE += od USEMODULE += od

View File

@ -23,7 +23,7 @@ USEMODULE += netdev_test
USEMODULE += gnrc_ipv6_router_default USEMODULE += gnrc_ipv6_router_default
USEMODULE += gnrc_icmpv6_error USEMODULE += gnrc_icmpv6_error
USEMODULE += gnrc_pktdump USEMODULE += gnrc_pktdump
USEMODULE += gnrc_pktbuf_cmd USEMODULE += shell_cmd_gnrc_pktbuf
# IPv6 extension headers # IPv6 extension headers
USEMODULE += gnrc_ipv6_ext_frag USEMODULE += gnrc_ipv6_ext_frag
# UDP support for payload # UDP support for payload

View File

@ -18,7 +18,7 @@ USEMODULE += auto_init_gnrc_netif
USEMODULE += gnrc_ipv6_default USEMODULE += gnrc_ipv6_default
USEMODULE += gnrc_icmpv6_error USEMODULE += gnrc_icmpv6_error
USEMODULE += gnrc_pktdump USEMODULE += gnrc_pktdump
USEMODULE += gnrc_pktbuf_cmd USEMODULE += shell_cmd_gnrc_pktbuf
# IPv6 extension headers # IPv6 extension headers
USEMODULE += gnrc_ipv6_ext_opt USEMODULE += gnrc_ipv6_ext_opt
USEMODULE += od USEMODULE += od

View File

@ -3,7 +3,7 @@ include ../Makefile.tests_common
USEMODULE += gnrc_ipv6_router_default USEMODULE += gnrc_ipv6_router_default
USEMODULE += gnrc_netif USEMODULE += gnrc_netif
USEMODULE += gnrc_pktbuf_cmd USEMODULE += shell_cmd_gnrc_pktbuf
USEMODULE += netdev_eth USEMODULE += netdev_eth
USEMODULE += netdev_test USEMODULE += netdev_test
USEMODULE += od USEMODULE += od

View File

@ -21,7 +21,7 @@ USEMODULE += auto_init_gnrc_netif
USEMODULE += gnrc_ipv6_router_default USEMODULE += gnrc_ipv6_router_default
USEMODULE += gnrc_icmpv6_error USEMODULE += gnrc_icmpv6_error
USEMODULE += gnrc_pktdump USEMODULE += gnrc_pktdump
USEMODULE += gnrc_pktbuf_cmd USEMODULE += shell_cmd_gnrc_pktbuf
# IPv6 extension headers # IPv6 extension headers
USEMODULE += gnrc_rpl_srh USEMODULE += gnrc_rpl_srh
USEMODULE += od USEMODULE += od

View File

@ -25,7 +25,7 @@ endif
USEMODULE += auto_init_gnrc_netif USEMODULE += auto_init_gnrc_netif
USEMODULE += gnrc_ipv6_default USEMODULE += gnrc_ipv6_default
USEMODULE += gnrc_sock_tcp USEMODULE += gnrc_sock_tcp
USEMODULE += gnrc_pktbuf_cmd USEMODULE += shell_cmd_gnrc_pktbuf
USEMODULE += gnrc_netif_single # Only one interface used and it makes USEMODULE += gnrc_netif_single # Only one interface used and it makes
# shell commands easier # shell commands easier
USEMODULE += shell USEMODULE += shell

View File

@ -30,7 +30,7 @@ endif
USEMODULE += auto_init_gnrc_netif USEMODULE += auto_init_gnrc_netif
USEMODULE += gnrc_ipv6_default USEMODULE += gnrc_ipv6_default
USEMODULE += gnrc_tcp USEMODULE += gnrc_tcp
USEMODULE += gnrc_pktbuf_cmd USEMODULE += shell_cmd_gnrc_pktbuf
USEMODULE += gnrc_netif_single # Only one interface used and it makes USEMODULE += gnrc_netif_single # Only one interface used and it makes
# shell commands easier # shell commands easier
USEMODULE += shell USEMODULE += shell

View File

@ -4,7 +4,7 @@ USEMODULE += netdev_default
USEMODULE += auto_init_gnrc_netif USEMODULE += auto_init_gnrc_netif
USEMODULE += gnrc_ipv6_router_default USEMODULE += gnrc_ipv6_router_default
USEMODULE += gnrc_ipv6_ext_frag USEMODULE += gnrc_ipv6_ext_frag
USEMODULE += gnrc_pktbuf_cmd USEMODULE += shell_cmd_gnrc_pktbuf
USEMODULE += gnrc_udp USEMODULE += gnrc_udp
USEMODULE += gnrc_rpl USEMODULE += gnrc_rpl
USEMODULE += auto_init_gnrc_rpl USEMODULE += auto_init_gnrc_rpl