Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/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_mld.recv), in print_stats()
[all …]
/Zephyr-Core-3.5.0/subsys/net/ip/
Dnet_stats.c84 GET_STAT(iface, ipv6.recv), in stats()
85 GET_STAT(iface, ipv6.sent), in stats()
86 GET_STAT(iface, ipv6.drop), in stats()
87 GET_STAT(iface, ipv6.forwarded)); in stats()
90 GET_STAT(iface, ipv6_nd.recv), in stats()
91 GET_STAT(iface, ipv6_nd.sent), in stats()
92 GET_STAT(iface, ipv6_nd.drop)); in stats()
96 GET_STAT(iface, ipv6_mld.recv), in stats()
97 GET_STAT(iface, ipv6_mld.sent), in stats()
98 GET_STAT(iface, ipv6_mld.drop)); in stats()
[all …]
Dnet_shell.c935 #define GET_STAT(a, b) 0 macro
957 count = GET_STAT(iface, in get_net_pkt_tc_stats_detail()
962 count = GET_STAT(iface, in get_net_pkt_tc_stats_detail()
973 avg = (uint32_t)(GET_STAT(iface, in get_net_pkt_tc_stats_detail()
979 avg = (uint32_t)(GET_STAT(iface, in get_net_pkt_tc_stats_detail()
1021 count = GET_STAT(iface, tx_time_detail[j].count); in get_net_pkt_stats_detail()
1025 count = GET_STAT(iface, rx_time_detail[j].count); in get_net_pkt_stats_detail()
1035 avg = (uint32_t)(GET_STAT(iface, in get_net_pkt_stats_detail()
1041 avg = (uint32_t)(GET_STAT(iface, in get_net_pkt_stats_detail()
1111 net_stats_t count = GET_STAT(iface, in print_tc_tx_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))
610 k_cyc_to_ms_floor32(time - GET_STAT(iface, pm.start_time)); in net_stats_add_suspend_end_time()
/Zephyr-Core-3.5.0/tests/net/tcp/src/
Dmain.c1639 rsterr_before = GET_STAT(net_iface, tcp.rsterr); in check_rst_fail()
1652 rsterr_after = GET_STAT(net_iface, tcp.rsterr); in check_rst_fail()
1676 rsterr_before = GET_STAT(net_iface, tcp.rsterr); in check_rst_succeed()
1684 rsterr_after = GET_STAT(net_iface, tcp.rsterr); in check_rst_succeed()