CONFIG_NET_CAPTURE_PKT_COUNT

How many network packets to allocate for capture

Type: int

Help

This tells how many net_pkt to allocate for capturing
network traffic. Each network frame sent or received
will allocate one net_pkt for network metadata.
Each net_pkt will contain a list of net_buf's that contain
the actual network data.

Direct dependencies

NET_CAPTURE && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 4

Kconfig definition

At <Zephyr>/subsys/net/lib/capture/Kconfig:24

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/subsys/Kconfig:39<Zephyr>/subsys/net/Kconfig:89<Zephyr>/subsys/net/lib/Kconfig:40

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

config NET_CAPTURE_PKT_COUNT
    int "How many network packets to allocate for capture"
    default 4
    depends on NET_CAPTURE && NETWORKING
    help
      This tells how many net_pkt to allocate for capturing
      network traffic. Each network frame sent or received
      will allocate one net_pkt for network metadata.
      Each net_pkt will contain a list of net_buf's that contain
      the actual network data.

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