Home
last modified time | relevance | path

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

/linux-6.12.1/lib/
Dchecksum_kunit.c21 static const u8 random_buf[] = { variable
471 CHECK_EQ(ARRAY_SIZE(random_buf), MAX_LEN); in assert_setup_correct()
487 memcpy(&tmp_buf[align], random_buf, in test_csum_fixed_random_inputs()
582 csum_result = ip_fast_csum(random_buf + index, len); in test_ip_fast_csum()
611 saddr = (const struct in6_addr *)(random_buf + i); in test_csum_ipv6_magic()
612 daddr = (const struct in6_addr *)(random_buf + i + in test_csum_ipv6_magic()
614 len = le32_to_cpu(*(__le32 *)(random_buf + i + len_offset)); in test_csum_ipv6_magic()
615 proto = *(random_buf + i + proto_offset); in test_csum_ipv6_magic()
616 csum = *(__wsum *)(random_buf + i + csum_offset); in test_csum_ipv6_magic()