Home
last modified time | relevance | path

Searched refs:capture_dev (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/subsys/net/lib/shell/
Dcapture.c19 static const struct device *capture_dev; variable
63 PR("%s\t%c %d %s\t%s\n", info->capture_dev->name, in capture_cb()
78 if (capture_dev == NULL) { in cmd_net_capture()
79 capture_dev = device_get_binding(DEFAULT_DEV_NAME); in cmd_net_capture()
82 if (capture_dev == NULL) { in cmd_net_capture()
88 ret = net_capture_is_enabled(capture_dev); in cmd_net_capture()
131 if (capture_dev != NULL) { in cmd_net_capture_setup()
133 net_capture_cleanup(capture_dev); in cmd_net_capture_setup()
134 capture_dev = NULL; in cmd_net_capture_setup()
137 ret = net_capture_setup(remote, local, peer, &capture_dev); in cmd_net_capture_setup()
[all …]
/Zephyr-latest/samples/net/capture/src/
Dmain.c216 const struct device *capture_dev; in init_app() local
219 ret = net_capture_setup(remote, local, peer, &capture_dev); in init_app()
239 ret = net_capture_enable(capture_dev, net_if_get_by_index(ifindex)); in init_app()
/Zephyr-latest/include/zephyr/net/
Dcapture.h337 const struct device *capture_dev; member
/Zephyr-latest/subsys/net/lib/capture/
Dcapture.c128 info.capture_dev = ctx->dev; in net_capture_foreach()