14#ifndef ZEPHYR_INCLUDE_NET_PROMISCUOUS_H_
15#define ZEPHYR_INCLUDE_NET_PROMISCUOUS_H_
38#if defined(CONFIG_NET_PROMISCUOUS_MODE)
56#if defined(CONFIG_NET_PROMISCUOUS_MODE)
74#if defined(CONFIG_NET_PROMISCUOUS_MODE)
static int net_promisc_mode_off(struct net_if *iface)
Disable promiscuous mode for a given network interface.
Definition: promiscuous.h:77
static struct net_pkt * net_promisc_mode_wait_data(k_timeout_t timeout)
Start to wait received network packets.
Definition: promiscuous.h:41
static int net_promisc_mode_on(struct net_if *iface)
Enable promiscuous mode for a given network interface.
Definition: promiscuous.h:59
#define ENOTSUP
Unsupported value.
Definition: errno.h:114
Public API for network interface.
Network packet buffer descriptor API.
Kernel timeout type.
Definition: sys_clock.h:65
Network Interface structure.
Definition: net_if.h:678
Network packet.
Definition: net_pkt.h:67
struct net_if * iface
Network interface.
Definition: net_pkt.h:90