Home
last modified time | relevance | path

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

/tools/bpf/bpftool/
Dlink.c60 show_link_header_json(struct bpf_link_info *info, json_writer_t *wtr) in show_link_header_json()
86 static void show_iter_json(struct bpf_link_info *info, json_writer_t *wtr) in show_iter_json()
113 static int show_link_close_json(int fd, struct bpf_link_info *info) in show_link_close_json()
178 static void show_link_header_plain(struct bpf_link_info *info) in show_link_header_plain()
197 static void show_iter_plain(struct bpf_link_info *info) in show_iter_plain()
207 static int show_link_close_plain(int fd, struct bpf_link_info *info) in show_link_close_plain()
264 struct bpf_link_info info; in do_show_link()
/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_id.c22 struct bpf_link_info link_infos[nr_iters + 1]; in test_bpf_obj_id()
160 info_len = sizeof(struct bpf_link_info) * 2; in test_bpf_obj_id()
172 info_len != sizeof(struct bpf_link_info), in test_bpf_obj_id()
177 info_len, sizeof(struct bpf_link_info), in test_bpf_obj_id()
301 struct bpf_link_info link_info; in test_bpf_obj_id()
327 offsetof(struct bpf_link_info, raw_tracepoint)); in test_bpf_obj_id()
331 err, errno, info_len, sizeof(struct bpf_link_info), in test_bpf_obj_id()
Dxdp_link.c14 struct bpf_link_info link_info; in test_xdp_link()
Dcgroup_link.c42 struct bpf_link_info info; in test_cgroup_link()
Dflow_dissector_reattach.c477 struct bpf_link_info info = {}; in test_link_get_info()
Dsk_lookup.c519 struct bpf_link_info info; in query_lookup_prog()
/tools/testing/selftests/bpf/
Dtesting_helpers.h8 __u32 link_info_prog_id(const struct bpf_link *link, struct bpf_link_info *info);
Dtesting_helpers.c68 __u32 link_info_prog_id(const struct bpf_link *link, struct bpf_link_info *info) in link_info_prog_id()
/tools/include/uapi/linux/
Dbpf.h4429 struct bpf_link_info { struct