Lines Matching refs:bytes_read
383 size_t bytes_read; in _eth_get_rss_ex_dst_addr() local
389 bytes_read = iov_to_buf(pkt, pkt_frags, ext_hdr_offset, in _eth_get_rss_ex_dst_addr()
391 assert(bytes_read == sizeof(rt_hdr)); in _eth_get_rss_ex_dst_addr()
395 bytes_read = iov_to_buf(pkt, pkt_frags, ext_hdr_offset + sizeof(rt_hdr), in _eth_get_rss_ex_dst_addr()
397 assert(bytes_read == sizeof(*dst_addr)); in _eth_get_rss_ex_dst_addr()
414 size_t bytes_read, optlen; in _eth_get_rss_ex_src_addr() local
420 bytes_read = iov_to_buf(pkt, pkt_frags, opt_offset, in _eth_get_rss_ex_src_addr()
423 if (bytes_read != sizeof(opthdr)) { in _eth_get_rss_ex_src_addr()
439 bytes_read = iov_to_buf(pkt, pkt_frags, in _eth_get_rss_ex_src_addr()
443 return bytes_read == sizeof(*src_addr); in _eth_get_rss_ex_src_addr()
457 size_t bytes_read; in eth_parse_ipv6_hdr() local
469 bytes_read = iov_to_buf(pkt, pkt_frags, ip6hdr_off, in eth_parse_ipv6_hdr()
471 if (bytes_read < sizeof(info->ip6_hdr)) { in eth_parse_ipv6_hdr()
492 bytes_read = iov_to_buf(pkt, pkt_frags, ip6hdr_off + info->full_hdr_len, in eth_parse_ipv6_hdr()
495 if (bytes_read < sizeof(ext_hdr)) { in eth_parse_ipv6_hdr()