Zephyr API Documentation  3.5.0
A Scalable Open Source RTOS
3.5.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
promiscuous.h File Reference

Network interface promiscuous mode support. More...

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.
 
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.
 

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.