Lines Matching refs:proto
2097 if (chain->proto == ETH_P_IP) { in virtio_net_rsc_drain_seg()
2170 switch (chain->proto) { in virtio_net_rsc_cache_buf()
2368 if (chain->proto == ETH_P_IP) { in virtio_net_rsc_do_coalesce()
2577 uint16_t proto) in virtio_net_rsc_lookup_chain() argument
2581 if ((proto != (uint16_t)ETH_P_IP) && (proto != (uint16_t)ETH_P_IPV6)) { in virtio_net_rsc_lookup_chain()
2586 if (chain->proto == proto) { in virtio_net_rsc_lookup_chain()
2593 chain->proto = proto; in virtio_net_rsc_lookup_chain()
2594 if (proto == (uint16_t)ETH_P_IP) { in virtio_net_rsc_lookup_chain()
2615 uint16_t proto; in virtio_net_rsc_receive() local
2626 proto = htons(eth->h_proto); in virtio_net_rsc_receive()
2628 chain = virtio_net_rsc_lookup_chain(n, nc, proto); in virtio_net_rsc_receive()
2631 if (proto == (uint16_t)ETH_P_IP && n->rsc4_enabled) { in virtio_net_rsc_receive()
2633 } else if (proto == (uint16_t)ETH_P_IPV6 && n->rsc6_enabled) { in virtio_net_rsc_receive()