Searched refs:HDR_SZ (Results 1 – 8 of 8) sorted by relevance
6 #define HDR_SZ (sizeof(struct ethhdr) + sizeof(struct ipv6hdr) + sizeof(struct udphdr)) macro35 __u8 *payload = data + HDR_SZ; in xdp_redirect()70 __u8 *payload = data + HDR_SZ; in check_pkt()
28 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()
28 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()
27 head = get_starting_head(shead, sizeof(struct fpsimd_context) + HDR_SZ, in fake_sigreturn_duplicated_fpsimd_run()
31 if (head && resv_sz - offset >= HDR_SZ) { in fake_sigreturn_missing_fpsimd_run()
32 need_sz = sizeof(struct esr_context) + HDR_SZ; in fake_sigreturn_bad_size_run()
15 if (!head || resv_sz < HDR_SZ) in get_header()18 while (offs <= resv_sz - HDR_SZ && in get_header()
25 #define HDR_SZ \ macro