Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_xdp_do_redirect.c6 #define HDR_SZ (sizeof(struct ethhdr) + sizeof(struct ipv6hdr) + sizeof(struct udphdr)) macro
22 __u8 *payload = data + HDR_SZ; in xdp_redirect()
57 __u8 *payload = data + HDR_SZ; in check_pkt()
/linux-6.1.9/tools/testing/selftests/arm64/signal/testcases/
Dfake_sigreturn_bad_size_for_magic0.c28 head = get_starting_head(shead, HDR_SZ, GET_SF_RESV_SIZE(sf), NULL); in fake_sigreturn_bad_size_for_magic0_run()
33 head->size = HDR_SZ; in fake_sigreturn_bad_size_for_magic0_run()
Dfake_sigreturn_bad_magic.c28 head = get_starting_head(shead, HDR_SZ * 2, GET_SF_RESV_SIZE(sf), NULL); in fake_sigreturn_bad_magic_run()
37 head->size = HDR_SZ; in fake_sigreturn_bad_magic_run()
Dtestcases.c11 if (!head || resv_sz < HDR_SZ) in get_header()
14 while (offs <= resv_sz - HDR_SZ && in get_header()
Dfake_sigreturn_duplicated_fpsimd.c27 head = get_starting_head(shead, sizeof(struct fpsimd_context) + HDR_SZ, in fake_sigreturn_duplicated_fpsimd_run()
Dfake_sigreturn_missing_fpsimd.c31 if (head && resv_sz - offset >= HDR_SZ) { in fake_sigreturn_missing_fpsimd_run()
Dfake_sigreturn_bad_size.c32 need_sz = sizeof(struct esr_context) + HDR_SZ; in fake_sigreturn_bad_size_run()
Dtestcases.h24 #define HDR_SZ \ macro