The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_NET_CAPTURE

Network packet capture support

Type: bool

Help

This option allows user to capture network packets.
The captured packets are sent to another host for processing.
User can use network packet analyzer like Wireshark to
process the packets.
The captured network packets are sent using IPIP tunnel
as a payload in UDP datagrams.

Direct dependencies

NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols selected by this symbol

Kconfig definition

At subsys/net/lib/capture/Kconfig:6

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:39subsys/net/Kconfig:91subsys/net/lib/Kconfig:40

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network additional services

config NET_CAPTURE
    bool "Network packet capture support"
    select NET_L2_VIRTUAL
    select NET_L2_VIRTUAL_MGMT
    select NET_L2_IPIP
    select NET_MGMT
    select NET_MGMT_EVENT
    select NET_CONTEXT_NET_PKT_POOL
    depends on NETWORKING
    help
      This option allows user to capture network packets.
      The captured packets are sent to another host for processing.
      User can use network packet analyzer like Wireshark to
      process the packets.
      The captured network packets are sent using IPIP tunnel
      as a payload in UDP datagrams.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)