Home
last modified time | relevance | path

Searched refs:is_json_context (Results 1 – 19 of 19) sorted by relevance

/external/iproute2/ip/
Diplink_can.c92 open_json_array(PRINT_ANY, is_json_context() ? "ctrlmode" : "<"); in print_ctrlmode()
294 if (is_json_context()) { in can_print_opt()
318 if (is_json_context()) { in can_print_opt()
348 if (is_json_context()) { in can_print_opt()
385 if (is_json_context()) { in can_print_opt()
417 if (is_json_context()) { in can_print_opt()
449 if (is_json_context()) { in can_print_opt()
489 if (is_json_context()) { in can_print_opt()
522 if (is_json_context()) { in can_print_opt()
557 if (is_json_context()) { in can_print_xstats()
Diplink_geneve.c274 if (is_json_context()) { in geneve_print_opt()
308 if (is_json_context()) { in geneve_print_opt()
321 if (is_json_context()) { in geneve_print_opt()
334 if (is_json_context()) { in geneve_print_opt()
Diplink_ipoib.c96 if (is_json_context()) { in ipoib_print_opt()
123 if (is_json_context()) { in ipoib_print_opt()
Diplink_bridge_slave.c69 if (is_json_context()) in _print_onoff()
80 if (is_json_context()) { in _print_hex()
95 if (is_json_context()) { in _print_timer()
Dlink_ip6tnl.c409 if (is_json_context()) { in ip6tunnel_print_opt()
425 if (is_json_context()) { in ip6tunnel_print_opt()
437 if (is_json_context()) { in ip6tunnel_print_opt()
493 if (is_json_context()) { in ip6tunnel_print_opt()
Diplink_vxlan.c482 if (is_json_context()) { in vxlan_print_opt()
521 if (is_json_context()) { in vxlan_print_opt()
566 if (is_json_context()) { in vxlan_print_opt()
578 if (is_json_context()) { in vxlan_print_opt()
591 if (is_json_context()) { in vxlan_print_opt()
Diplink_vlan.c183 if (is_json_context()) { in vlan_print_map()
199 open_json_array(PRINT_ANY, is_json_context() ? "flags" : "<"); in vlan_print_flags()
Dlink_iptnl.c437 if (is_json_context()) { in iptunnel_print_opt()
472 if (is_json_context()) { in iptunnel_print_opt()
516 if (is_json_context()) { in iptunnel_print_opt()
Dlink_gre6.c480 if (is_json_context()) { in gre_print_opt()
499 if (is_json_context()) { in gre_print_opt()
579 if (is_json_context()) { in gre_print_opt()
Diplink_xdp.c115 else if (is_json_context()) in xdp_dump()
Dipmacsec.c567 if (is_json_context()) in print_flag()
1025 if (is_json_context()) { in macsec_print_opt()
1049 if (is_json_context()) { in macsec_print_opt()
1062 if (is_json_context()) { in macsec_print_opt()
1085 if (is_json_context()) { in macsec_print_opt()
Dipaddress.c88 open_json_array(PRINT_ANY, is_json_context() ? "flags" : "<"); in print_link_flags()
130 if (is_json_context()) in print_operstate()
141 if (is_json_context()) in print_operstate()
430 if (is_json_context()) { in print_vfinfo()
553 if (is_json_context()) { in print_vf_stats64()
600 if (is_json_context()) { in print_link_stats64()
745 if (is_json_context()) { in print_link_stats32()
1226 if (is_json_context()) { in print_linkinfo()
1429 if (is_json_context()) { in print_ifa_flags()
1564 if (is_json_context()) { in print_addrinfo()
Diplink_bond.c448 if (!is_json_context() in bond_print_opt()
464 if (!arp_v && is_json_context()) in bond_print_opt()
Diplink_macvlan.c239 if (is_json_context()) { in macvlan_print_opt()
Dlink_gre.c440 if (is_json_context()) { in gre_print_direct_opt()
539 if (is_json_context()) { in gre_print_opt()
Diplink_bridge.c383 if (is_json_context()) { in _bridge_print_timer()
/external/iproute2/include/
Djson_print.h35 bool is_json_context(void);
/external/iproute2/lib/
Djson_print.c44 bool is_json_context(void) in is_json_context() function
Dbpf.c205 if (jited && !is_json_context()) in bpf_dump_prog_info()