Lines Matching refs:snapshot
257 p->snapshot = hdr.snaplen;
370 * If it was done in cooked mode, p->snapshot was
373 * would be p->snapshot. However, a faked Ethernet
376 * would be p->snapshot + 14.
380 * cooked mode, and add 14 to the snapshot length.
381 * That means that, for a raw capture, the snapshot
386 p->snapshot += 14;
394 p->bufsize = p->snapshot;
397 * Bogus snapshot length; use the maximum as a fallback.
519 * over the BUFMOD problem and not setting the snapshot
539 * bigger than the snapshot length; for example, it might
677 if (sf_write_header(p, f, linktype, p->tzoff, p->snapshot) == -1) {
827 * the snapshot lengths don't match;
896 if ((bpf_u_int32)p->snapshot != ph.snaplen) {
906 if (sf_write_header(p, f, linktype, p->tzoff, p->snapshot) == -1) {