CONFIG_NET_PKT_RXTIME_STATS

Enable network packet RX time statistics

Type: bool

Help

Enable network packet RX time statistics support. This is used to calculate how long on average it takes for a packet to travel from device driver to just before it is given to application. The RX timing information can then be seen in network interface statistics in net-shell. The RX statistics are only calculated for UDP and TCP packets.

Direct dependencies

(NET_UDP || NET_TCP) && 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/ip/Kconfig:685

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:22subsys/net/Kconfig:80

Menu path: (Top) → Networking → Link layer and IP networking support → IP stack

config NET_PKT_RXTIME_STATS
    bool "Enable network packet RX time statistics"
    select NET_PKT_TIMESTAMP
    select NET_STATISTICS
    depends on (NET_UDP || NET_TCP) && NETWORKING
    help
      Enable network packet RX time statistics support. This is used to
      calculate how long on average it takes for a packet to travel from
      device driver to just before it is given to application. The RX
      timing information can then be seen in network interface statistics
      in net-shell.
      The RX statistics are only calculated for UDP and TCP packets.

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