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

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

Completed in 208 milliseconds