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