Lines Matching refs:snaplen
149 pcap_t *pcap_open_live (const char *device_name, int snaplen, int promisc,154 if (snaplen < ETH_MIN)155 snaplen = ETH_MIN;157 if (snaplen > ETH_MAX) /* silently accept and truncate large MTUs */158 snaplen = ETH_MAX;167 pcap->snapshot = max (ETH_MIN+8, snaplen);