Home | History | Annotate | Download | only in libpcap

Lines Matching defs:to

24 	 * Size of a bufmod chunk to pass upstream; that appears to be the
25 * biggest value to which you can set it, and setting it to that value
26 * (which is bigger than what appears to be the Solaris default of 8192)
32 * Size of the buffer to allocate for packet data we read; it must be
33 * large enough to hold a chunk.
40 * Size of the buffer to allocate for packet data we read; this is
41 * what the value used to be - there's no particular reason why it
42 * should be tied to MAXDLBUF, but we'll leave it as this for now.
85 * "ps_recv" counts packets handed to the filter, not packets
88 * of buffer space; in order to make this more like other
91 * due to running out of buffer space, and to keep from confusing
144 * packets, clear the flag and return -2 to indicate
145 * that we were told to break out of the loop, otherwise
274 struct timeval to;
277 /* Non-standard call to get the data nicely buffered. */
291 /* Set the timeout to zero, for immediate delivery. */
292 to.tv_sec = 0;
293 to.tv_usec = 0;
294 if (strioctl(p->fd, SBIOCSTIME, sizeof(to), (char *)&to) != 0) {
301 to.tv_sec = p->opt.timeout / 1000;
302 to.tv_usec = (p->opt.timeout * 1000) % 1000000;
303 if (strioctl(p->fd, SBIOCSTIME, sizeof(to), (char *)&to) != 0) {
360 * Write stream error message to errbuf.