Home
last modified time | relevance | path

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

/tools/bpf/bpftool/
A Dcgroup.c265 __u32 prog_attach_flags[1024] = {0}; in show_attached_bpf_progs() local
275 p.prog_attach_flags = prog_attach_flags; in show_attached_bpf_progs()
287 attach_flags = prog_attach_flags[iter] ?: p.attach_flags; in show_attached_bpf_progs()
A Dnet.c471 optq.prog_attach_flags = prog_flags; in __show_dev_tc_bpf()
/tools/testing/selftests/bpf/prog_tests/
A Dlsm_cgroup.c36 p.prog_attach_flags = malloc(sizeof(u32) * p.prog_cnt); in query_prog_cnt()
56 free(p.prog_attach_flags); in query_prog_cnt()
A Dtc_opts.c717 optq.prog_attach_flags = prog_flags; in test_tc_opts_replace_target()
734 ASSERT_EQ(optq.prog_attach_flags[0], 0, "prog_flags[0]"); in test_tc_opts_replace_target()
735 ASSERT_EQ(optq.prog_attach_flags[1], 0, "prog_flags[1]"); in test_tc_opts_replace_target()
736 ASSERT_EQ(optq.prog_attach_flags[2], 0, "prog_flags[2]"); in test_tc_opts_replace_target()
1521 optq.prog_attach_flags = prog_flags; in test_tc_opts_mixed_target()
1538 ASSERT_EQ(optq.prog_attach_flags[0], 0, "prog_flags[0]"); in test_tc_opts_mixed_target()
1542 ASSERT_EQ(optq.prog_attach_flags[1], 0, "prog_flags[1]"); in test_tc_opts_mixed_target()
1546 ASSERT_EQ(optq.prog_attach_flags[2], 0, "prog_flags[2]"); in test_tc_opts_mixed_target()
1550 ASSERT_EQ(optq.prog_attach_flags[3], 0, "prog_flags[3]"); in test_tc_opts_mixed_target()
2571 ASSERT_EQ(attr.query.prog_attach_flags, 0, "prog_attach_flags"); in test_tc_opts_query_target()
[all …]
/tools/lib/bpf/
A Dbpf.h604 __u32 *prog_attach_flags; member
A Dbpf.c993 attr.query.prog_attach_flags = ptr_to_u64(OPTS_GET(opts, prog_attach_flags, NULL)); in bpf_prog_query_opts()
/tools/include/uapi/linux/
A Dbpf.h1699 __aligned_u64 prog_attach_flags; member

Completed in 30 milliseconds