Searched refs:rx_len (Results 1 – 6 of 6) sorted by relevance
66 size_t rx_len; member120 l2->rx_len = hdr->caplen; in l2_packet_receive_cb()123 l2->rx_len = hdr->caplen - sizeof(*ethhdr); in l2_packet_receive_cb()161 l2->rx_len); in l2_packet_rx_event()
282 size_t rx_len; in l2_packet_callback() local290 rx_len = l2->rx_written; in l2_packet_callback()293 rx_len = l2->rx_written - sizeof(*ethhdr); in l2_packet_callback()297 l2->rx_callback(l2->rx_callback_ctx, rx_src, rx_buf, rx_len); in l2_packet_callback()
211 int rx_len = 0; in pcap_read_one() local242 rx_len = (*dev->peek_rx_buf) (&rx_buf); in pcap_read_one()247 rx_len = (*dev->copy_rx_buf) (buf, p->snapshot); in pcap_read_one()251 if (rx_len > 0) /* got a packet */ in pcap_read_one()257 pcap.caplen = min (rx_len, p->snapshot); in pcap_read_one()258 pcap.len = rx_len; in pcap_read_one()304 if (rx_len < 0) /* receive error */ in pcap_read_one()
200 int rx_len; member