Searched refs:link_stats (Results 1 – 4 of 4) sorted by relevance
/third_party/lwip/src/netif/ppp/ |
D | ppp.c | 161 struct pppd_stats link_stats; variable 1606 if (!get_ppp_stats(u, &link_stats) || gettimeofday(&now, NULL) < 0) { in update_link_stats() 1612 link_stats.bytes_in -= old_link_stats.bytes_in; in update_link_stats() 1613 link_stats.bytes_out -= old_link_stats.bytes_out; in update_link_stats() 1614 link_stats.pkts_in -= old_link_stats.pkts_in; in update_link_stats() 1615 link_stats.pkts_out -= old_link_stats.pkts_out; in update_link_stats() 1625 info("Sent %u bytes, received %u bytes.", link_stats.bytes_out, link_stats.bytes_in); in print_link_stats()
|
D | auth.c | 1289 used = link_stats.bytes_in; 1292 used = link_stats.bytes_out; 1296 … used = (link_stats.bytes_in > link_stats.bytes_out) ? link_stats.bytes_in : link_stats.bytes_out; 1299 used = link_stats.bytes_in+link_stats.bytes_out;
|
D | lcp.c | 2741 if (link_stats.pkts_in != last_pkts_in) { in LcpSendEchoRequest() 2742 last_pkts_in = link_stats.pkts_in; in LcpSendEchoRequest()
|
/third_party/libnl/lib/route/ |
D | link.c | 3001 static const struct trans_tbl link_stats[] = { variable 3070 return __type2str(st, buf, len, link_stats, ARRAY_SIZE(link_stats)); in rtnl_link_stat2str() 3075 return __str2type(name, link_stats, ARRAY_SIZE(link_stats)); in rtnl_link_str2stat()
|