Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dtest_misc_tcp_hdr_options.c37 struct tcp_exprm_opt exprm_opt; in __check_active_hdr_in() member
67 hdr.exprm_opt.kind = TCPOPT_EXP; in __check_active_hdr_in()
68 hdr.exprm_opt.len = 5; in __check_active_hdr_in()
69 hdr.exprm_opt.magic = 0; in __check_active_hdr_in()
70 ret = bpf_load_hdr_opt(skops, &hdr.exprm_opt, sizeof(hdr.exprm_opt), in __check_active_hdr_in()
76 hdr.exprm_opt.len = 4; in __check_active_hdr_in()
77 ret = bpf_load_hdr_opt(skops, &hdr.exprm_opt, sizeof(hdr.exprm_opt), in __check_active_hdr_in()
82 hdr.exprm_opt.magic = __bpf_htons(0xeB9F); in __check_active_hdr_in()
83 ret = bpf_load_hdr_opt(skops, &hdr.exprm_opt, sizeof(hdr.exprm_opt), in __check_active_hdr_in()
85 if (ret != 4 || hdr.exprm_opt.len != 4 || in __check_active_hdr_in()
[all …]