Searched refs:lnstat_files (Results 1 – 3 of 3) sorted by relevance
/external/iproute2/misc/ |
D | lnstat_util.c | 81 int lnstat_update(struct lnstat_file *lnstat_files) in lnstat_update() argument 89 for (lf = lnstat_files; lf; lf = lf->next) { in lnstat_update() 209 struct lnstat_file *lnstat_files = NULL; in lnstat_scan_dir() local 246 lf->next = lnstat_files; in lnstat_scan_dir() 247 lnstat_files = lf; in lnstat_scan_dir() 248 return lnstat_files; in lnstat_scan_dir() 270 lf->next = lnstat_files; in lnstat_scan_dir() 271 lnstat_files = lf; in lnstat_scan_dir() 275 return lnstat_files; in lnstat_scan_dir() 278 int lnstat_dump(FILE *outfd, struct lnstat_file *lnstat_files) in lnstat_dump() argument [all …]
|
D | lnstat.c | 91 static void print_line(FILE *of, const struct lnstat_file *lnstat_files, in print_line() argument 108 static int map_field_params(struct lnstat_file *lnstat_files, in map_field_params() argument 116 for (lf = lnstat_files; lf; lf = lf->next) { in map_field_params() 140 fps->params[i].lf = lnstat_find_field(lnstat_files, in map_field_params() 159 static struct table_hdr *build_hdr_string(struct lnstat_file *lnstat_files, in build_hdr_string() argument 219 struct lnstat_file *lnstat_files; in main() local 318 lnstat_files = lnstat_scan_dir(PROC_NET_STAT, num_req_files, in main() 325 lnstat_dump(stderr, lnstat_files); in main() 329 if (!map_field_params(lnstat_files, &fp, interval)) in main() 332 header = build_hdr_string(lnstat_files, &fp, 80); in main() [all …]
|
D | lnstat.h | 39 int lnstat_update(struct lnstat_file *lnstat_files); 40 int lnstat_dump(FILE *outfd, struct lnstat_file *lnstat_files); 41 struct lnstat_field *lnstat_find_field(struct lnstat_file *lnstat_files,
|