Lines Matching refs:api

19 	const struct ppp_api *api = (const struct ppp_api *)  in ppp_stats_update_bytes_rx()  local
20 net_if_get_device(iface)->api; in ppp_stats_update_bytes_rx()
23 if (!api->get_stats) { in ppp_stats_update_bytes_rx()
27 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_bytes_rx()
38 const struct ppp_api *api = (const struct ppp_api *) in ppp_stats_update_bytes_tx() local
39 net_if_get_device(iface)->api; in ppp_stats_update_bytes_tx()
42 if (!api->get_stats) { in ppp_stats_update_bytes_tx()
46 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_bytes_tx()
56 const struct ppp_api *api = (const struct ppp_api *) in ppp_stats_update_pkts_rx() local
57 net_if_get_device(iface)->api; in ppp_stats_update_pkts_rx()
60 if (!api->get_stats) { in ppp_stats_update_pkts_rx()
64 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_pkts_rx()
74 const struct ppp_api *api = (const struct ppp_api *) in ppp_stats_update_pkts_tx() local
75 net_if_get_device(iface)->api; in ppp_stats_update_pkts_tx()
78 if (!api->get_stats) { in ppp_stats_update_pkts_tx()
82 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_pkts_tx()
92 const struct ppp_api *api = ((const struct ppp_api *) in ppp_stats_update_drop_rx() local
93 net_if_get_device(iface)->api); in ppp_stats_update_drop_rx()
96 if (!api->get_stats) { in ppp_stats_update_drop_rx()
100 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_drop_rx()
110 const struct ppp_api *api = ((const struct ppp_api *) in ppp_stats_update_fcs_error_rx() local
111 net_if_get_device(iface)->api); in ppp_stats_update_fcs_error_rx()
114 if (!api->get_stats) { in ppp_stats_update_fcs_error_rx()
118 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_fcs_error_rx()