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

Network packet capture definitions. More...

#include <zephyr.h>

Go to the source code of this file.

Functions

int net_capture_setup (const char *remote_addr, const char *my_local_addr, const char *peer_addr, const struct device **dev)
 Setup network packet capturing support. More...
 
static int net_capture_cleanup (const struct device *dev)
 Cleanup network packet capturing support. More...
 
static int net_capture_enable (const struct device *dev, struct net_if *iface)
 Enable network packet capturing support. More...
 
static bool net_capture_is_enabled (const struct device *dev)
 Is network packet capture enabled or disabled. More...
 
static int net_capture_disable (const struct device *dev)
 Disable network packet capturing support. More...
 
static int net_capture_send (const struct device *dev, struct net_if *iface, struct net_pkt *pkt)
 Send captured packet. More...
 

Detailed Description

Network packet capture definitions.

Definitions for capturing network packets.