Searched refs:amt_read (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libpcap-1.4.0/
H A Dsf-pcap.c133 size_t amt_read; local
152 amt_read = fread(((char *)&hdr) + sizeof hdr.magic, 1,
154 if (amt_read != sizeof(hdr) - sizeof(hdr.magic)) {
163 (unsigned long)amt_read);
299 size_t amt_read; local
309 amt_read = fread(&sf_hdr, 1, p->sf.hdrsize, fp);
310 if (amt_read != p->sf.hdrsize) {
317 if (amt_read != 0) {
321 (unsigned long)amt_read);
392 amt_read
[all...]
H A Dsavefile.c249 size_t amt_read; local
263 amt_read = fread((char *)&magic, 1, sizeof(magic), fp);
264 if (amt_read != sizeof(magic)) {
273 (unsigned long)amt_read);
H A Dsf-pcap-ng.c211 size_t amt_read; local
213 amt_read = fread(buf, 1, bytes_to_read, fp);
214 if (amt_read != bytes_to_read) {
220 if (amt_read == 0 && !fail_on_eof)
225 (unsigned long)amt_read);
504 size_t amt_read; local
541 amt_read = fread(&total_length, 1, sizeof(total_length), fp);
542 if (amt_read < sizeof(total_length)) {
556 amt_read = fread(&byte_order_magic, 1, sizeof(byte_order_magic), fp);
557 if (amt_read < sizeo
[all...]

Completed in 49 milliseconds