Lines Matching refs:jw_global
20 json_writer_t *jw_global; variable
164 if (jw_global) { in print_vlan_port()
165 jsonw_pretty(jw_global, 1); in print_vlan_port()
166 jsonw_name(jw_global, in print_vlan_port()
168 jsonw_start_array(jw_global); in print_vlan_port()
179 jsonw_name(jw_global, "flags"); in start_json_vlan_flags_array()
180 jsonw_start_array(jw_global); in start_json_vlan_flags_array()
215 if (!filter_vlan && !jw_global) in print_vlan()
223 if (jw_global) in print_vlan()
224 jsonw_end_array(jw_global); in print_vlan()
352 jw_global = jsonw_new(stdout); in vlan_show()
353 if (!jw_global) { in vlan_show()
357 jsonw_start_object(jw_global); in vlan_show()
397 if (jw_global) { in vlan_show()
398 jsonw_end_object(jw_global); in vlan_show()
399 jsonw_destroy(&jw_global); in vlan_show()
434 if (jw_global) { in print_vlan_info()
435 jsonw_start_object(jw_global); in print_vlan_info()
436 jsonw_uint_field(jw_global, "vlan", in print_vlan_info()
444 if (jw_global) in print_vlan_info()
445 jsonw_uint_field(jw_global, "vlanEnd", in print_vlan_info()
451 if (jw_global) { in print_vlan_info()
453 jsonw_string(jw_global, "PVID"); in print_vlan_info()
459 if (jw_global) { in print_vlan_info()
461 jsonw_string(jw_global, in print_vlan_info()
467 if (jw_global && vlan_flags) { in print_vlan_info()
468 jsonw_end_array(jw_global); in print_vlan_info()
472 if (jw_global) in print_vlan_info()
473 jsonw_end_object(jw_global); in print_vlan_info()