Lines Matching defs:wtr
60 show_link_header_json(struct bpf_link_info *info, json_writer_t *wtr)
62 jsonw_uint_field(wtr, "id", info->id);
64 jsonw_string_field(wtr, "type", link_type_name[info->type]);
66 jsonw_uint_field(wtr, "type", info->type);
71 static void show_link_attach_type_json(__u32 attach_type, json_writer_t *wtr)
74 jsonw_string_field(wtr, "attach_type",
77 jsonw_uint_field(wtr, "attach_type", attach_type);
86 static void show_iter_json(struct bpf_link_info *info, json_writer_t *wtr)
90 jsonw_string_field(wtr, "target_name", target_name);
93 jsonw_uint_field(wtr, "map_id", info->iter.map.map_id);