Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/lib/
H A Dcsum.c96 static bool cfg_bad_csum; variable
249 if (cfg_bad_csum) in build_packet_udp()
267 if (cfg_bad_csum) in build_packet_tcp()
600 if (csum && !cfg_bad_csum) { in recv_verify_csum()
603 } else if (cfg_bad_csum && !csum) { in recv_verify_csum()
780 if (tp_status & TP_STATUS_CSUM_VALID && cfg_bad_csum) { in recv_packet()
816 cfg_bad_csum = true; in parse_args()
887 if (cfg_zero_sum && cfg_bad_csum) in parse_args()
985 if (cfg_bad_csum && count_udp) in do_rx()
987 if (!cfg_bad_csum && !count_udp) in do_rx()