Lines Matching refs:test_proto

83 static int test_proto;  variable
233 if (test_proto == IPPROTO_UDP) { in test_receiving()
249 } else if (test_proto == IPPROTO_ICMP || in test_receiving()
250 test_proto == IPPROTO_ICMPV6) { in test_receiving()
293 if (test_proto == IPPROTO_UDP) { in test_fragment()
296 } else if (test_proto == IPPROTO_ICMP || in test_fragment()
297 test_proto == IPPROTO_ICMPV6) { in test_fragment()
356 if (test_proto == IPPROTO_UDP) { in eth_tx_offloading_disabled()
358 } else if (test_proto == IPPROTO_ICMP || in eth_tx_offloading_disabled()
359 test_proto == IPPROTO_ICMPV6) { in eth_tx_offloading_disabled()
399 if (test_proto == IPPROTO_UDP) { in eth_tx_offloading_enabled()
401 } else if (test_proto == IPPROTO_ICMP || in eth_tx_offloading_enabled()
402 test_proto == IPPROTO_ICMPV6) { in eth_tx_offloading_enabled()
731 test_proto = IPPROTO_UDP; in test_tx_chksum()
779 test_proto = IPPROTO_UDP; in test_tx_chksum_udp_frag()
883 test_proto = (family == AF_INET6) ? IPPROTO_ICMPV6 : IPPROTO_ICMP; in test_tx_chksum_icmp_frag()
1008 test_proto = IPPROTO_UDP; in test_rx_chksum()
1065 test_proto = IPPROTO_UDP; in test_rx_chksum_udp_frag()
1123 test_proto = IPPROTO_UDP; in test_rx_chksum_udp_frag_bad()
1186 if (test_proto == IPPROTO_ICMPV6) { in icmp_handler()
1222 test_proto = (family == AF_INET6) ? IPPROTO_ICMPV6 : IPPROTO_ICMP; in test_rx_chksum_icmp_frag()
1279 test_proto = (family == AF_INET6) ? IPPROTO_ICMPV6 : IPPROTO_ICMP; in test_rx_chksum_icmp_frag_bad()
1348 test_proto = 0; in net_chksum_offload_tests_before()