Lines Matching full:iface
17 static inline void eth_stats_update_bytes_rx(struct net_if *iface, in eth_stats_update_bytes_rx() argument
21 net_if_get_device(iface)->api; in eth_stats_update_bytes_rx()
28 stats = api->get_stats(net_if_get_device(iface)); in eth_stats_update_bytes_rx()
36 static inline void eth_stats_update_bytes_tx(struct net_if *iface, in eth_stats_update_bytes_tx() argument
40 net_if_get_device(iface)->api; in eth_stats_update_bytes_tx()
47 stats = api->get_stats(net_if_get_device(iface)); in eth_stats_update_bytes_tx()
55 static inline void eth_stats_update_pkts_rx(struct net_if *iface) in eth_stats_update_pkts_rx() argument
58 net_if_get_device(iface)->api; in eth_stats_update_pkts_rx()
65 stats = api->get_stats(net_if_get_device(iface)); in eth_stats_update_pkts_rx()
73 static inline void eth_stats_update_pkts_tx(struct net_if *iface) in eth_stats_update_pkts_tx() argument
76 net_if_get_device(iface)->api; in eth_stats_update_pkts_tx()
83 stats = api->get_stats(net_if_get_device(iface)); in eth_stats_update_pkts_tx()
91 static inline void eth_stats_update_broadcast_rx(struct net_if *iface) in eth_stats_update_broadcast_rx() argument
94 net_if_get_device(iface)->api; in eth_stats_update_broadcast_rx()
101 stats = api->get_stats(net_if_get_device(iface)); in eth_stats_update_broadcast_rx()
109 static inline void eth_stats_update_broadcast_tx(struct net_if *iface) in eth_stats_update_broadcast_tx() argument
112 net_if_get_device(iface)->api; in eth_stats_update_broadcast_tx()
119 stats = api->get_stats(net_if_get_device(iface)); in eth_stats_update_broadcast_tx()
127 static inline void eth_stats_update_multicast_rx(struct net_if *iface) in eth_stats_update_multicast_rx() argument
130 net_if_get_device(iface)->api; in eth_stats_update_multicast_rx()
137 stats = api->get_stats(net_if_get_device(iface)); in eth_stats_update_multicast_rx()
145 static inline void eth_stats_update_multicast_tx(struct net_if *iface) in eth_stats_update_multicast_tx() argument
148 net_if_get_device(iface)->api; in eth_stats_update_multicast_tx()
155 stats = api->get_stats(net_if_get_device(iface)); in eth_stats_update_multicast_tx()
164 static inline void eth_stats_update_errors_rx(struct net_if *iface) in eth_stats_update_errors_rx() argument
169 if (!iface) { in eth_stats_update_errors_rx()
174 net_if_get_device(iface)->api); in eth_stats_update_errors_rx()
180 stats = api->get_stats(net_if_get_device(iface)); in eth_stats_update_errors_rx()
188 static inline void eth_stats_update_errors_tx(struct net_if *iface) in eth_stats_update_errors_tx() argument
192 net_if_get_device(iface)->api); in eth_stats_update_errors_tx()
198 stats = api->get_stats(net_if_get_device(iface)); in eth_stats_update_errors_tx()
206 static inline void eth_stats_update_unknown_protocol(struct net_if *iface) in eth_stats_update_unknown_protocol() argument
210 net_if_get_device(iface)->api); in eth_stats_update_unknown_protocol()
216 stats = api->get_stats(net_if_get_device(iface)); in eth_stats_update_unknown_protocol()
226 #define eth_stats_update_bytes_rx(iface, bytes) argument
227 #define eth_stats_update_bytes_tx(iface, bytes) argument
228 #define eth_stats_update_pkts_rx(iface) argument
229 #define eth_stats_update_pkts_tx(iface) argument
230 #define eth_stats_update_broadcast_rx(iface) argument
231 #define eth_stats_update_broadcast_tx(iface) argument
232 #define eth_stats_update_multicast_rx(iface) argument
233 #define eth_stats_update_multicast_tx(iface) argument
234 #define eth_stats_update_errors_rx(iface) argument
235 #define eth_stats_update_errors_tx(iface) argument
236 #define eth_stats_update_unknown_protocol(iface) argument