Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dtest_parse_tcp_hdr_opt.c86 struct hdr_opt_state opt_state = {}; in xdp_ingress_v6() local
101 opt_state.hdr_bytes_remaining = tcp_hdr_opt_len; in xdp_ingress_v6()
102 opt_state.byte_offset = sizeof(struct tcphdr) + tcp_offset; in xdp_ingress_v6()
106 err = parse_hdr_opt(xdp, &opt_state); in xdp_ingress_v6()
108 if (err || !opt_state.hdr_bytes_remaining) in xdp_ingress_v6()
112 if (!opt_state.server_id) in xdp_ingress_v6()
115 server_id = opt_state.server_id; in xdp_ingress_v6()