Home
last modified time | relevance | path

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

/tools/bpf/bpftool/
Dnet.c455 __u32 prog_flags[64] = {}, link_flags[64] = {}, i, j; in __show_dev_tc_bpf() local
464 optq.link_attach_flags = link_flags; in __show_dev_tc_bpf()
491 if (link_flags[i] || json_output) { in __show_dev_tc_bpf()
493 for (j = 0; link_flags[i] && j < 32; j++) { in __show_dev_tc_bpf()
494 if (!(link_flags[i] & (1 << j))) in __show_dev_tc_bpf()
/tools/testing/selftests/bpf/prog_tests/
Dtc_opts.c1403 __u32 prog_flags[4], link_flags[4]; in test_tc_opts_mixed_target() local
1523 optq.link_attach_flags = link_flags; in test_tc_opts_mixed_target()
1528 memset(link_flags, 0, sizeof(link_flags)); in test_tc_opts_mixed_target()