Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_do_redirect.c6 #define HDR_SZ (sizeof(struct ethhdr) + sizeof(struct ipv6hdr) + sizeof(struct udphdr)) macro
35 __u8 *payload = data + HDR_SZ; in xdp_redirect()
70 __u8 *payload = data + HDR_SZ; in check_pkt()
/openbmc/linux/tools/testing/selftests/arm64/signal/testcases/
H A 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()
H A 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()
H A Dfake_sigreturn_duplicated_fpsimd.c27 head = get_starting_head(shead, sizeof(struct fpsimd_context) + HDR_SZ, in fake_sigreturn_duplicated_fpsimd_run()
H A Dfake_sigreturn_missing_fpsimd.c31 if (head && resv_sz - offset >= HDR_SZ) { in fake_sigreturn_missing_fpsimd_run()
H A Dfake_sigreturn_bad_size.c32 need_sz = sizeof(struct esr_context) + HDR_SZ; in fake_sigreturn_bad_size_run()
H A Dtestcases.c15 if (!head || resv_sz < HDR_SZ) in get_header()
18 while (offs <= resv_sz - HDR_SZ && in get_header()
H A Dtestcases.h25 #define HDR_SZ \ macro