Home | History | Annotate | Download | only in libpcap

Lines Matching defs:fp

172 	FILE *fp;
177 fp = stdin;
183 SET_BINMODE(fp);
188 fp = fopen(fname, "r");
190 fp = fopen(fname, "rb");
192 if (fp == NULL) {
198 p = pcap_fopen_offline_with_tstamp_precision(fp, precision, errbuf);
200 if (fp != stdin)
201 fclose(fp);
256 pcap_fopen_offline_with_tstamp_precision(FILE *fp, u_int precision,
272 amt_read = fread((char *)&magic, 1, sizeof(magic), fp);
274 if (ferror(fp)) {
291 p = (*check_headers[i])(magic, fp, precision, errbuf, &err);
311 p->rfile = fp;
324 p->selectable_fd = fileno(fp);
361 pcap_fopen_offline(FILE *fp, char *errbuf)
363 return (pcap_fopen_offline_with_tstamp_precision(fp,