Lines Matching full:stats

21 	struct net_stats_ppp *stats;  in ppp_stats_update_bytes_rx()  local
27 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_bytes_rx()
28 if (!stats) { in ppp_stats_update_bytes_rx()
32 stats->bytes.received += bytes; in ppp_stats_update_bytes_rx()
40 struct net_stats_ppp *stats; in ppp_stats_update_bytes_tx() local
46 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_bytes_tx()
47 if (!stats) { in ppp_stats_update_bytes_tx()
51 stats->bytes.sent += bytes; in ppp_stats_update_bytes_tx()
58 struct net_stats_ppp *stats; in ppp_stats_update_pkts_rx() local
64 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_pkts_rx()
65 if (!stats) { in ppp_stats_update_pkts_rx()
69 stats->pkts.rx++; in ppp_stats_update_pkts_rx()
76 struct net_stats_ppp *stats; in ppp_stats_update_pkts_tx() local
82 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_pkts_tx()
83 if (!stats) { in ppp_stats_update_pkts_tx()
87 stats->pkts.tx++; in ppp_stats_update_pkts_tx()
94 struct net_stats_ppp *stats; in ppp_stats_update_drop_rx() local
100 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_drop_rx()
101 if (!stats) { in ppp_stats_update_drop_rx()
105 stats->drop++; in ppp_stats_update_drop_rx()
112 struct net_stats_ppp *stats; in ppp_stats_update_fcs_error_rx() local
118 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_fcs_error_rx()
119 if (!stats) { in ppp_stats_update_fcs_error_rx()
123 stats->chkerr++; in ppp_stats_update_fcs_error_rx()