Lines Matching refs:dump_fp
1489 static int tcp_show_netlink(struct filter *f, FILE *dump_fp, int socktype) in tcp_show_netlink() argument
1584 if (dump_fp) in tcp_show_netlink()
1585 fwrite(buf, 1, NLMSG_ALIGN(status), dump_fp); in tcp_show_netlink()
1615 if (!dump_fp) { in tcp_show_netlink()
2079 static int unix_show_netlink(struct filter *f, FILE *dump_fp) in unix_show_netlink() argument
2125 if (dump_fp) in unix_show_netlink()
2126 fwrite(buf, 1, NLMSG_ALIGN(status), dump_fp); in unix_show_netlink()
2151 if (!dump_fp) { in unix_show_netlink()
2962 FILE *dump_fp = stdout; in main() local
2968 dump_fp = fopen(dump_tcpdiag, "w"); in main()
2974 tcp_show_netlink(¤t_filter, dump_fp, TCPDIAG_GETSOCK); in main()
2975 fflush(dump_fp); in main()