Lines Matching refs:rx_len
211 int rx_len = 0;242 rx_len = (*dev->peek_rx_buf) (&rx_buf);247 rx_len = (*dev->copy_rx_buf) (buf, p->snapshot);251 if (rx_len > 0) /* got a packet */257 pcap.caplen = min (rx_len, p->snapshot);258 pcap.len = rx_len;304 if (rx_len < 0) /* receive error */