Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dtest_tcp_hdr_options.c42 __type(value, struct hdr_stg);
235 struct hdr_stg *hdr_stg; in fin_opt_len() local
242 hdr_stg = bpf_sk_storage_get(&hdr_stg_map, skops->sk, NULL, 0); in fin_opt_len()
243 if (!hdr_stg) in fin_opt_len()
246 if (hdr_stg->active) in fin_opt_len()
264 struct hdr_stg *hdr_stg; in write_fin_opt() local
269 hdr_stg = bpf_sk_storage_get(&hdr_stg_map, skops->sk, NULL, 0); in write_fin_opt()
270 if (!hdr_stg) in write_fin_opt()
273 if (hdr_stg->active) in write_fin_opt()
286 struct hdr_stg *hdr_stg; in resend_in_ack() local
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dtcp_hdr_options.c25 static struct hdr_stg exp_passive_hdr_stg;
26 static struct hdr_stg exp_active_hdr_stg = { .active = true, };
54 static void print_hdr_stg(const struct hdr_stg *hdr_stg, const char *prefix) in print_hdr_stg() argument
57 prefix ? : "", hdr_stg->active, hdr_stg->resend_syn, in print_hdr_stg()
58 hdr_stg->syncookie, hdr_stg->fastopen); in print_hdr_stg()
163 static int check_hdr_stg(const struct hdr_stg *exp, int fd, in check_hdr_stg()
166 struct hdr_stg act; in check_hdr_stg()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_tcp_hdr_options.h29 struct hdr_stg { struct