Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dxdp_synproxy_kern.c480 static __always_inline __u8 tcp_mkoptions(__be32 *buf, __be32 *tsopt, __u16 mss, in tcp_mkoptions() argument
487 if (!tsopt) in tcp_mkoptions()
490 if (tsopt[0] & bpf_htonl(1 << 4)) in tcp_mkoptions()
500 *buf++ = tsopt[0]; in tcp_mkoptions()
501 *buf++ = tsopt[1]; in tcp_mkoptions()
503 if ((tsopt[0] & bpf_htonl(0xf)) != bpf_htonl(0xf)) in tcp_mkoptions()
513 __u32 cookie, __be32 *tsopt, in tcp_gen_synack() argument
519 if (tsopt && (tsopt[0] & bpf_htonl(1 << 5))) in tcp_gen_synack()
530 tcp_header->doff += tcp_mkoptions(tcp_options, tsopt, mss, wscale); in tcp_gen_synack()
534 __u32 cookie, __be32 *tsopt) in tcpv4_gen_synack() argument
[all …]