Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dxdp_synproxy_kern.c48 #define TCP_MAXLEN 60 macro
665 if (data + sizeof(*hdr->eth) + ip_len + TCP_MAXLEN > data_end) in syncookie_handle_syn()
770 if (bpf_xdp_adjust_tail(ctx, TCP_MAXLEN - hdr->tcp_len)) in syncookie_part1()
778 if (bpf_skb_change_tail(ctx, old_len + TCP_MAXLEN - hdr->tcp_len, 0)) in syncookie_part1()
805 if ((void *)hdr->tcp + TCP_MAXLEN > data_end) in syncookie_part2()