Home | History | Annotate | Download | only in ip

Lines Matching refs:fp

31 static void write_stamp(FILE *fp)
45 fwrite((void*)n1, 1, NLMSG_ALIGN(n1->nlmsg_len), fp);
51 FILE *fp = (FILE*)arg;
53 write_stamp(fp);
54 fwrite((void*)n, 1, NLMSG_ALIGN(n->nlmsg_len), fp);
55 fflush(fp);
69 FILE *fp;
150 fp = fopen(file, "w");
151 if (fp == NULL) {
164 write_stamp(fp);
166 if (rtnl_dump_filter(&rth, dump_msg, fp, NULL, NULL) < 0) {
173 if (rtnl_listen(&rth, dump_msg, (void*)fp) < 0)