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 || NET_SOCKETS_PACKET) && NET_NATIVE && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols selected by this symbol

Kconfig definition

At <Zephyr>/subsys/net/ip/Kconfig:707

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:34<Zephyr>/subsys/net/Kconfig:87

Menu path: (Top) → Sub Systems and OS Services → 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 || NET_SOCKETS_PACKET) && NET_NATIVE && 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.)