Searched refs:OPTS_SET (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/lib/bpf/ |
| H A D | netlink.c | 467 OPTS_SET(opts, prog_id, xdp_id.info.prog_id); in bpf_xdp_query() 468 OPTS_SET(opts, drv_prog_id, xdp_id.info.drv_prog_id); in bpf_xdp_query() 469 OPTS_SET(opts, hw_prog_id, xdp_id.info.hw_prog_id); in bpf_xdp_query() 470 OPTS_SET(opts, skb_prog_id, xdp_id.info.skb_prog_id); in bpf_xdp_query() 471 OPTS_SET(opts, attach_mode, xdp_id.info.attach_mode); in bpf_xdp_query() 501 OPTS_SET(opts, feature_flags, md.flags); in bpf_xdp_query() 502 OPTS_SET(opts, xdp_zc_max_segs, md.xdp_zc_max_segs); in bpf_xdp_query() 689 OPTS_SET(info->opts, prog_id, libbpf_nla_getattr_u32(tbb[TCA_BPF_ID])); in __get_tc_info() 690 OPTS_SET(info->opts, handle, tc->tcm_handle); in __get_tc_info() 691 OPTS_SET(info->opts, priority, TC_H_MAJ(tc->tcm_info) >> 16); in __get_tc_info()
|
| H A D | libbpf_internal.h | 337 #define OPTS_SET(opts, field, value) \ macro
|