Searched refs:OPTS_SET (Results 1 – 3 of 3) sorted by relevance
/third_party/libbpf/src/ |
D | netlink.c | 390 OPTS_SET(opts, prog_id, xdp_id.info.prog_id); in bpf_xdp_query() 391 OPTS_SET(opts, drv_prog_id, xdp_id.info.drv_prog_id); in bpf_xdp_query() 392 OPTS_SET(opts, hw_prog_id, xdp_id.info.hw_prog_id); in bpf_xdp_query() 393 OPTS_SET(opts, skb_prog_id, xdp_id.info.skb_prog_id); in bpf_xdp_query() 394 OPTS_SET(opts, attach_mode, xdp_id.info.attach_mode); in bpf_xdp_query() 566 OPTS_SET(info->opts, prog_id, libbpf_nla_getattr_u32(tbb[TCA_BPF_ID])); in __get_tc_info() 567 OPTS_SET(info->opts, handle, tc->tcm_handle); in __get_tc_info() 568 OPTS_SET(info->opts, priority, TC_H_MAJ(tc->tcm_info) >> 16); in __get_tc_info()
|
D | bpf.c | 842 OPTS_SET(opts, attach_flags, attr.query.attach_flags); in bpf_prog_query_opts() 843 OPTS_SET(opts, prog_cnt, attr.query.prog_cnt); in bpf_prog_query_opts() 894 OPTS_SET(opts, data_size_out, attr.test.data_size_out); in bpf_prog_test_run_opts() 895 OPTS_SET(opts, ctx_size_out, attr.test.ctx_size_out); in bpf_prog_test_run_opts() 896 OPTS_SET(opts, duration, attr.test.duration); in bpf_prog_test_run_opts() 897 OPTS_SET(opts, retval, attr.test.retval); in bpf_prog_test_run_opts()
|
D | libbpf_internal.h | 305 #define OPTS_SET(opts, field, value) \ macro
|