Searched refs:wtr (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/tools/bpf/bpftool/ |
D | struct_ops.c | 180 struct json_writer *wtr); 187 struct json_writer *wtr) in do_search() argument 200 if (wtr) in do_search() 201 jsonw_start_array(wtr); in do_search() 204 err = func(fd, info, data, wtr); in do_search() 209 if (wtr) in do_search() 210 jsonw_end_array(wtr); in do_search() 215 if (!wtr && name && !res.nr_errs && !res.nr_maps) in do_search() 221 else if (!wtr && json_output && !res.nr_errs) in do_search() 236 struct json_writer *wtr) in do_one_id() argument [all …]
|
D | link.c | 128 show_link_header_json(struct bpf_link_info *info, json_writer_t *wtr) in show_link_header_json() argument 132 jsonw_uint_field(wtr, "id", info->id); in show_link_header_json() 135 jsonw_string_field(wtr, "type", link_type_str); in show_link_header_json() 137 jsonw_uint_field(wtr, "type", info->type); in show_link_header_json() 142 static void show_link_attach_type_json(__u32 attach_type, json_writer_t *wtr) in show_link_attach_type_json() argument 148 jsonw_string_field(wtr, "attach_type", attach_type_str); in show_link_attach_type_json() 150 jsonw_uint_field(wtr, "attach_type", attach_type); in show_link_attach_type_json() 153 static void show_link_ifindex_json(__u32 ifindex, json_writer_t *wtr) in show_link_ifindex_json() argument 161 jsonw_string_field(wtr, "devname", devname); in show_link_ifindex_json() 162 jsonw_uint_field(wtr, "ifindex", ifindex); in show_link_ifindex_json() [all …]
|
D | map.c | 450 static void show_map_header_json(struct bpf_map_info *info, json_writer_t *wtr) in show_map_header_json() argument 454 jsonw_uint_field(wtr, "id", info->id); in show_map_header_json() 457 jsonw_string_field(wtr, "type", map_type_str); in show_map_header_json() 459 jsonw_uint_field(wtr, "type", info->type); in show_map_header_json() 462 jsonw_string_field(wtr, "name", info->name); in show_map_header_json() 464 jsonw_name(wtr, "flags"); in show_map_header_json() 465 jsonw_printf(wtr, "%d", info->map_flags); in show_map_header_json() 823 map_dump(int fd, struct bpf_map_info *info, json_writer_t *wtr, in map_dump() argument 841 if (wtr) { in map_dump() 848 jsonw_start_object(wtr); /* map object */ in map_dump() [all …]
|
D | main.h | 273 void netfilter_dump_json(const struct bpf_link_info *info, json_writer_t *wtr);
|