Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dtest_parse_tcp_hdr_opt_dynptr.c80 __u8 tcp_hdr_opt_len; in xdp_ingress_v6() local
94 tcp_hdr_opt_len = (tcp_hdr->doff * 4) - sizeof(struct tcphdr); in xdp_ingress_v6()
95 if (tcp_hdr_opt_len < tcp_hdr_opt_len_tpr) in xdp_ingress_v6()
98 hdr_bytes_remaining = tcp_hdr_opt_len; in xdp_ingress_v6()
Dtest_parse_tcp_hdr_opt.c87 __u8 tcp_hdr_opt_len = 0; in xdp_ingress_v6() local
97 tcp_hdr_opt_len = (tcp_hdr->doff * 4) - sizeof(struct tcphdr); in xdp_ingress_v6()
98 if (tcp_hdr_opt_len < tcp_hdr_opt_len_tpr) in xdp_ingress_v6()
101 opt_state.hdr_bytes_remaining = tcp_hdr_opt_len; in xdp_ingress_v6()