Home
last modified time | relevance | path

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

/external/ppp/pppd/plugins/radius/
Dradius.c976 av_type = link_stats.bytes_out; in radius_acct_stop()
979 av_type = link_stats.bytes_in; in radius_acct_stop()
982 av_type = link_stats.pkts_out; in radius_acct_stop()
985 av_type = link_stats.pkts_in; in radius_acct_stop()
1120 av_type = link_stats.bytes_out; in radius_acct_interim()
1123 av_type = link_stats.bytes_in; in radius_acct_interim()
1126 av_type = link_stats.pkts_out; in radius_acct_interim()
1129 av_type = link_stats.pkts_in; in radius_acct_interim()
/external/ppp/pppd/
Dmain.c206 struct pppd_stats link_stats; variable
1193 link_stats.bytes_out, link_stats.bytes_in); in print_link_stats()
1220 if (!get_ppp_stats(u, &link_stats)
1226 link_stats.bytes_in -= old_link_stats.bytes_in;
1227 link_stats.bytes_out -= old_link_stats.bytes_out;
1228 link_stats.pkts_in -= old_link_stats.pkts_in;
1229 link_stats.pkts_out -= old_link_stats.pkts_out;
1233 slprintf(numbuf, sizeof(numbuf), "%u", link_stats.bytes_out);
1235 slprintf(numbuf, sizeof(numbuf), "%u", link_stats.bytes_in);
Dauth.c1118 used = link_stats.bytes_in;
1121 used = link_stats.bytes_out;
1125 … used = (link_stats.bytes_in > link_stats.bytes_out) ? link_stats.bytes_in : link_stats.bytes_out;
1128 used = link_stats.bytes_in+link_stats.bytes_out;
Dpppd.h232 extern struct pppd_stats link_stats; /* byte/packet counts etc. for link */
/external/libnl/lib/route/
Dlink.c1063 static struct trans_tbl link_stats[] = { variable
1091 return __type2str(st, buf, len, link_stats, ARRAY_SIZE(link_stats)); in rtnl_link_stat2str()
1096 return __str2type(name, link_stats, ARRAY_SIZE(link_stats)); in rtnl_link_str2stat()