Home
last modified time | relevance | path

Searched refs:ip2 (Results 1 – 1 of 1) sorted by relevance

/qemu/hw/net/
H A Dvirtio-net.c2293 struct ip_header *ip1, *ip2; in virtio_net_rsc_coalesce4() local
2296 ip2 = (struct ip_header *)(seg->unit.ip); in virtio_net_rsc_coalesce4()
2297 if ((ip1->ip_src ^ ip2->ip_src) || (ip1->ip_dst ^ ip2->ip_dst) in virtio_net_rsc_coalesce4()
2312 struct ip6_header *ip1, *ip2; in virtio_net_rsc_coalesce6() local
2315 ip2 = (struct ip6_header *)(seg->unit.ip); in virtio_net_rsc_coalesce6()
2316 if (memcmp(&ip1->ip6_src, &ip2->ip6_src, sizeof(struct in6_address)) in virtio_net_rsc_coalesce6()
2317 || memcmp(&ip1->ip6_dst, &ip2->ip6_dst, sizeof(struct in6_address)) in virtio_net_rsc_coalesce6()