Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_hdr_options.c91 } write_opt; in store_option() local
95 write_opt.exprm.kind = TCPOPT_EXP; in store_option()
97 write_opt.exprm.magic = __bpf_htons(test_magic); in store_option()
98 write_opt.exprm.data32 = 0; in store_option()
99 write_test_option(test_opt, write_opt.exprm.data); in store_option()
100 err = bpf_store_hdr_opt(skops, &write_opt.exprm, in store_option()
101 sizeof(write_opt.exprm), 0); in store_option()
103 write_opt.regular.kind = test_kind; in store_option()
105 write_opt.regular.data32 = 0; in store_option()
107 err = bpf_store_hdr_opt(skops, &write_opt.regular, in store_option()
[all …]