Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
promiscuous.h File Reference

Network interface promiscuous mode support. More...

#include <net/net_pkt.h>
#include <net/net_if.h>

Go to the source code of this file.

Functions

static struct net_pktnet_promisc_mode_wait_data (k_timeout_t timeout)
 Start to wait received network packets. More...
 
static int net_promisc_mode_on (struct net_if *iface)
 Enable promiscuous mode for a given network interface. More...
 
static int net_promisc_mode_off (struct net_if *iface)
 Disable promiscuous mode for a given network interface. More...
 

Detailed Description

Network interface promiscuous mode support.

An API for applications to start listening network traffic. This requires support from network device driver and from application.