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.
Default¶
- 4 
Kconfig definition¶
At <Zephyr Subsystem>/net/lib/capture/Kconfig:24
Included via Kconfig:8 → Kconfig.zephyr:44 → <Zephyr Subsystem>/Kconfig:39 → <Zephyr Subsystem>/net/Kconfig:89 → <Zephyr Subsystem>/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.)