Home
last modified time | relevance | path

Searched refs:GET_STAT (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/samples/net/stats/src/
Dmain.c20 #define GET_STAT(iface, s) (iface ? iface->stats.s : data->s) macro
22 #define GET_STAT(iface, s) data->s macro
36 GET_STAT(iface, ipv6.recv), in print_stats()
37 GET_STAT(iface, ipv6.sent), in print_stats()
38 GET_STAT(iface, ipv6.drop), in print_stats()
39 GET_STAT(iface, ipv6.forwarded)); in print_stats()
42 GET_STAT(iface, ipv6_nd.recv), in print_stats()
43 GET_STAT(iface, ipv6_nd.sent), in print_stats()
44 GET_STAT(iface, ipv6_nd.drop)); in print_stats()
48 GET_STAT(iface, ipv6_pmtu.recv), in print_stats()
[all …]
/Zephyr-latest/subsys/net/lib/shell/
Dstats.c141 #define GET_STAT(a, b) 0 macro
163 count = GET_STAT(iface, in get_net_pkt_tc_stats_detail()
168 count = GET_STAT(iface, in get_net_pkt_tc_stats_detail()
179 avg = (uint32_t)(GET_STAT(iface, in get_net_pkt_tc_stats_detail()
185 avg = (uint32_t)(GET_STAT(iface, in get_net_pkt_tc_stats_detail()
227 count = GET_STAT(iface, tx_time_detail[j].count); in get_net_pkt_stats_detail()
231 count = GET_STAT(iface, rx_time_detail[j].count); in get_net_pkt_stats_detail()
241 avg = (uint32_t)(GET_STAT(iface, in get_net_pkt_stats_detail()
247 avg = (uint32_t)(GET_STAT(iface, in get_net_pkt_stats_detail()
315 net_stats_t count = GET_STAT(iface, in print_tc_tx_stats()
[all …]
/Zephyr-latest/subsys/net/ip/
Dnet_stats.c89 GET_STAT(iface, ipv6.recv), in stats()
90 GET_STAT(iface, ipv6.sent), in stats()
91 GET_STAT(iface, ipv6.drop), in stats()
92 GET_STAT(iface, ipv6.forwarded)); in stats()
95 GET_STAT(iface, ipv6_nd.recv), in stats()
96 GET_STAT(iface, ipv6_nd.sent), in stats()
97 GET_STAT(iface, ipv6_nd.drop)); in stats()
101 GET_STAT(iface, ipv6_pmtu.recv), in stats()
102 GET_STAT(iface, ipv6_pmtu.sent), in stats()
103 GET_STAT(iface, ipv6_pmtu.drop)); in stats()
[all …]
Dnet_stats.h22 #define GET_STAT(iface, s) (iface ? iface->stats.s : net_stats.s) macro
26 #define GET_STAT(iface, s) (net_stats.s) macro
27 #define GET_STAT_ADDR(iface, s) (&GET_STAT(iface, s))
677 k_cyc_to_ms_floor32(time - GET_STAT(iface, pm.start_time)); in net_stats_add_suspend_end_time()
/Zephyr-latest/tests/net/tcp/src/
Dmain.c1953 rsterr_before = GET_STAT(net_iface, tcp.rsterr); in check_rst_fail()
1966 rsterr_after = GET_STAT(net_iface, tcp.rsterr); in check_rst_fail()
1990 rsterr_before = GET_STAT(net_iface, tcp.rsterr); in check_rst_succeed()
1998 rsterr_after = GET_STAT(net_iface, tcp.rsterr); in check_rst_succeed()