Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_misc_tcp_hdr_options.c42 struct tcp_exprm_opt exprm_opt; in __check_active_hdr_in() member
72 hdr.exprm_opt.kind = TCPOPT_EXP; in __check_active_hdr_in()
73 hdr.exprm_opt.len = 5; in __check_active_hdr_in()
74 hdr.exprm_opt.magic = 0; in __check_active_hdr_in()
75 ret = bpf_load_hdr_opt(skops, &hdr.exprm_opt, sizeof(hdr.exprm_opt), in __check_active_hdr_in()
81 hdr.exprm_opt.len = 4; in __check_active_hdr_in()
82 ret = bpf_load_hdr_opt(skops, &hdr.exprm_opt, sizeof(hdr.exprm_opt), in __check_active_hdr_in()
87 hdr.exprm_opt.magic = __bpf_htons(0xeB9F); in __check_active_hdr_in()
88 ret = bpf_load_hdr_opt(skops, &hdr.exprm_opt, sizeof(hdr.exprm_opt), in __check_active_hdr_in()
90 if (ret != 4 || hdr.exprm_opt.len != 4 || in __check_active_hdr_in()
[all …]