Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
Promiscuous mode support. More...
Functions | |
static struct net_pkt * | net_promisc_mode_wait_data (k_timeout_t timeout) |
Start to wait received network packets. | |
static int | net_promisc_mode_on (struct net_if *iface) |
Enable promiscuous mode for a given network interface. | |
static int | net_promisc_mode_off (struct net_if *iface) |
Disable promiscuous mode for a given network interface. | |
Promiscuous mode support.
|
inlinestatic |
#include <include/zephyr/net/promiscuous.h>
Disable promiscuous mode for a given network interface.
iface | Network interface |
|
inlinestatic |
#include <include/zephyr/net/promiscuous.h>
Enable promiscuous mode for a given network interface.
iface | Network interface |
|
inlinestatic |
#include <include/zephyr/net/promiscuous.h>
Start to wait received network packets.
timeout | How long to wait before returning. |