:orphan: .. title:: CONFIG_NET_CAPTURE_PKT_COUNT .. kconfig:: CONFIG_NET_CAPTURE_PKT_COUNT CONFIG_NET_CAPTURE_PKT_COUNT ############################ *How many network packets to allocate for capture* Type: ``int`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`NET_CAPTURE ` && \ :kconfig:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Default ======= - 4 Kconfig definition ================== At ``/net/lib/capture/Kconfig:24`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:39`` → ``/net/Kconfig:89`` → ``/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 .. code-block:: kconfig 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.)*