Home | History | Annotate | Download | only in libpcap

Lines Matching refs:snaplen

491  *  snaplen is now also ignored, until we get per-stream slen support. Set
497 dag_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf)
611 /* set the card snap length to the specified snaplen parameter */
614 if (snaplen == 0 || snaplen > MAX_DAG_SNAPLEN) {
615 snaplen = MAX_DAG_SNAPLEN;
616 } else if (snaplen < MIN_DAG_SNAPLEN) {
617 snaplen = MIN_DAG_SNAPLEN;
620 snprintf(conf, 30, "varlen slen=%d", (snaplen + 3) & ~3);
668 handle->snapshot = snaplen;