Lines Matching refs:snapshot
247 * snapshot length, we have the biggest payload we want (we
255 if (handle->snapshot < header_size)
256 handle->snapshot = header_size;
257 /* The maximum snapshot size is small enough that this won't overflow */
258 ring_size = (handle->snapshot - header_size) * 5;
269 * snapshot length to the value that would give us a
273 handle->snapshot = header_size + (MAX_RING_SIZE/5);
277 * the snapshot length unchanged, so we show the
279 * snapshot length.
299 * Attempt to set the ring size as appropriate for the snapshot
300 * length, reducing the snapshot length if that'd make the ring
474 * Turn a negative snapshot value (invalid), a snapshot value of
478 * If some application really *needs* a bigger snapshot
481 if (handle->snapshot <= 0 || handle->snapshot > MAXIMUM_SNAPLEN)
482 handle->snapshot = MAXIMUM_SNAPLEN;
485 handle->bufsize = handle->snapshot;
592 * the snapshot length, reducing the snapshot length
675 u_int clen = handle->snapshot - sizeof(pcap_usb_header);
771 max_clen = handle->snapshot - sizeof(pcap_usb_header_mmapped);