Home
last modified time | relevance | path

Searched refs:dump_fp (Results 1 – 4 of 4) sorted by relevance

/external/iproute2/lib/
Dlibnetlink.c252 if (rth->dump_fp) in rtnl_dump_filter_l()
253 fwrite(buf, 1, NLMSG_ALIGN(status), rth->dump_fp); in rtnl_dump_filter_l()
293 if (!rth->dump_fp) { in rtnl_dump_filter_l()
/external/blktrace/
Dblkparse.c281 static FILE *dump_fp; variable
312 size_t n = fwrite(buf, len, 1, dump_fp); in output_binary()
315 fclose(dump_fp); in output_binary()
2843 dump_fp = fopen(dump_binary, "w"); in main()
2844 if (!dump_fp) { in main()
2850 if (setvbuf(dump_fp, bin_ofp_buffer, _IOFBF, 128 * 1024)) { in main()
2873 fflush(dump_fp); in main()
/external/iproute2/include/
Dlibnetlink.h22 FILE *dump_fp; member
/external/iproute2/misc/
Dss.c2294 static int inet_show_netlink(struct filter *f, FILE *dump_fp, int protocol) in inet_show_netlink() argument
2313 rth.dump_fp = dump_fp; in inet_show_netlink()
3938 FILE *dump_fp = stdout; in main() local
3944 dump_fp = fopen(dump_tcpdiag, "w"); in main()
3950 inet_show_netlink(&current_filter, dump_fp, IPPROTO_TCP); in main()
3951 fflush(dump_fp); in main()