Lines Matching full:capture

15 #include <zephyr/net/capture.h>
83 PR_INFO("Network packet capture %s\n", "not configured"); in cmd_net_capture()
89 PR_INFO("Network packet capture %s\n", in cmd_net_capture()
102 "CONFIG_NET_CAPTURE", "network packet capture"); in cmd_net_capture()
132 PR_INFO("Capture already setup, cleaning up settings.\n"); in cmd_net_capture_setup()
139 PR_WARNING("Capture cannot be setup (%d)\n", ret); in cmd_net_capture_setup()
143 PR_INFO("Capture setup done, next enable it by " in cmd_net_capture_setup()
144 "\"net capture enable <idx>\"\n"); in cmd_net_capture_setup()
150 "CONFIG_NET_CAPTURE", "network packet capture"); in cmd_net_capture_setup()
170 PR_WARNING("Capture %s failed (%d)\n", "cleanup", ret); in cmd_net_capture_cleanup()
177 "CONFIG_NET_CAPTURE", "network packet capture"); in cmd_net_capture_cleanup()
216 PR_WARNING("Capture %s failed (%d)\n", "enable", ret); in cmd_net_capture_enable()
221 "CONFIG_NET_CAPTURE", "network packet capture"); in cmd_net_capture_enable()
241 PR_WARNING("Capture %s failed (%d)\n", "disable", ret); in cmd_net_capture_disable()
246 "CONFIG_NET_CAPTURE", "network packet capture"); in cmd_net_capture_disable()
253 SHELL_CMD(setup, NULL, "Setup network packet capture.\n"
254 "'net capture setup <remote-ip-addr> <local-addr> <peer-addr>'\n"
261 SHELL_CMD(cleanup, NULL, "Cleanup network packet capture.",
263 SHELL_CMD(enable, NULL, "Enable network packet capture for a given "
265 "'net capture enable <interface index>'",
267 SHELL_CMD(disable, NULL, "Disable network packet capture.",
272 SHELL_SUBCMD_ADD((net), capture, &net_cmd_capture,
273 "Configure network packet capture.", cmd_net_capture, 1, 0);