/external/iproute2/ip/ |
D | iplink_can.c | 266 print_int(PRINT_JSON, "min", NULL, min); in can_print_json_timing_min_max() 267 print_int(PRINT_JSON, "max", NULL, max); in can_print_json_timing_min_max() 296 print_int(PRINT_JSON, "tx", NULL, bc->txerr); in can_print_opt() 297 print_int(PRINT_JSON, "rx", NULL, bc->rxerr); in can_print_opt() 350 print_string(PRINT_JSON, "name", NULL, btc->name); in can_print_opt() 361 print_int(PRINT_JSON, "brp_inc", NULL, btc->brp_inc); in can_print_opt() 386 print_uint(PRINT_JSON, in can_print_opt() 389 open_json_array(PRINT_JSON, "bitrate_const"); in can_print_opt() 391 print_uint(PRINT_JSON, NULL, NULL, in can_print_opt() 393 close_json_array(PRINT_JSON, NULL); in can_print_opt() [all …]
|
D | ipaddress.c | 131 print_uint(PRINT_JSON, "operstate_index", NULL, state); in print_operstate() 142 print_string(PRINT_JSON, in print_operstate() 379 open_json_array(PRINT_JSON, "vlan_list"); in print_vfinfo() 406 close_json_array(PRINT_JSON, NULL); in print_vfinfo() 432 print_int(PRINT_JSON, "max_tx", NULL, max_tx); in print_vfinfo() 558 print_uint(PRINT_JSON, "bytes", NULL, in print_vf_stats64() 560 print_uint(PRINT_JSON, "packets", NULL, in print_vf_stats64() 562 print_uint(PRINT_JSON, "multicast", NULL, in print_vf_stats64() 564 print_uint(PRINT_JSON, "broadcast", NULL, in print_vf_stats64() 570 print_uint(PRINT_JSON, "tx_bytes", NULL, in print_vf_stats64() [all …]
|
D | link_iptnl.c | 428 print_int(PRINT_JSON, "ttl", NULL, ttl); in iptunnel_print_opt() 438 print_0xhex(PRINT_JSON, "tos", "%#x", tos); in iptunnel_print_opt() 473 print_string(PRINT_JSON, "prefix", NULL, prefix); in iptunnel_print_opt() 474 print_int(PRINT_JSON, "prefixlen", NULL, prefixlen); in iptunnel_print_opt() 476 print_string(PRINT_JSON, in iptunnel_print_opt() 482 print_int(PRINT_JSON, in iptunnel_print_opt() 517 print_uint(PRINT_JSON, in iptunnel_print_opt() 521 print_uint(PRINT_JSON, "dport", NULL, ntohs(dport)); in iptunnel_print_opt() 522 print_bool(PRINT_JSON, in iptunnel_print_opt() 526 print_bool(PRINT_JSON, in iptunnel_print_opt() [all …]
|
D | link_ip6tnl.c | 413 print_string(PRINT_JSON, "flowinfo_tclass", NULL, b1); in ip6tunnel_print_opt() 430 print_string(PRINT_JSON, "flowlabel", NULL, b1); in ip6tunnel_print_opt() 441 print_string(PRINT_JSON, "flowinfo", NULL, flwinfo); in ip6tunnel_print_opt() 494 print_uint(PRINT_JSON, in ip6tunnel_print_opt() 498 print_uint(PRINT_JSON, "dport", NULL, ntohs(dport)); in ip6tunnel_print_opt() 499 print_bool(PRINT_JSON, "csum", NULL, in ip6tunnel_print_opt() 501 print_bool(PRINT_JSON, "csum6", NULL, in ip6tunnel_print_opt() 503 print_bool(PRINT_JSON, "remcsum", NULL, in ip6tunnel_print_opt()
|
D | link_gre.c | 432 print_int(PRINT_JSON, "ttl", NULL, ttl); in gre_print_direct_opt() 444 print_string(PRINT_JSON, "tos", NULL, b1); in gre_print_direct_opt() 458 print_bool(PRINT_JSON, "pmtudisc", NULL, true); in gre_print_direct_opt() 540 print_uint(PRINT_JSON, in gre_print_opt() 544 print_uint(PRINT_JSON, "dport", NULL, ntohs(dport)); in gre_print_opt() 546 print_bool(PRINT_JSON, in gre_print_opt() 551 print_bool(PRINT_JSON, in gre_print_opt() 556 print_bool(PRINT_JSON, in gre_print_opt()
|
D | link_gre6.c | 457 print_int(PRINT_JSON, "ttl", NULL, ttl); in gre_print_opt() 485 print_string(PRINT_JSON, "flowlabel", NULL, b1); in gre_print_opt() 504 print_string(PRINT_JSON, "tclass", NULL, b1); in gre_print_opt() 580 print_uint(PRINT_JSON, in gre_print_opt() 584 print_uint(PRINT_JSON, "dport", NULL, ntohs(dport)); in gre_print_opt() 585 print_bool(PRINT_JSON, "csum", NULL, in gre_print_opt() 587 print_bool(PRINT_JSON, "csum6", NULL, in gre_print_opt() 589 print_bool(PRINT_JSON, "remcsum", NULL, in gre_print_opt()
|
D | iplink_vlan.c | 176 open_json_array(PRINT_JSON, name_json); in vlan_print_map() 185 print_uint(PRINT_JSON, "from", NULL, m->from); in vlan_print_map() 186 print_uint(PRINT_JSON, "to", NULL, m->to); in vlan_print_map() 193 close_json_array(PRINT_JSON, NULL); in vlan_print_map()
|
D | iplink_geneve.c | 275 print_0xhex(PRINT_JSON, "tos", "%#x", tos); in geneve_print_opt() 309 print_bool(PRINT_JSON, in geneve_print_opt() 322 print_bool(PRINT_JSON, in geneve_print_opt() 335 print_bool(PRINT_JSON, in geneve_print_opt()
|
D | iplink_macvlan.c | 233 open_json_array(PRINT_JSON, "macaddr_data"); in macvlan_print_opt() 245 print_string(PRINT_JSON, NULL, NULL, b1); in macvlan_print_opt() 251 close_json_array(PRINT_JSON, NULL); in macvlan_print_opt()
|
D | iplink_ipoib.c | 100 print_string(PRINT_JSON, "key", NULL, b1); in ipoib_print_opt() 127 print_string(PRINT_JSON, "umcast", NULL, b1); in ipoib_print_opt()
|
D | iplink_vxlan.c | 484 print_uint(PRINT_JSON, "low", NULL, ntohs(r->low)); in vxlan_print_opt() 485 print_uint(PRINT_JSON, "high", NULL, ntohs(r->high)); in vxlan_print_opt() 502 print_bool(PRINT_JSON, "learning", NULL, learning); in vxlan_print_opt() 522 print_0xhex(PRINT_JSON, "tos", "%#x", tos); in vxlan_print_opt() 537 print_int(PRINT_JSON, "ttl", NULL, ttl); in vxlan_print_opt()
|
D | iplink_bridge_slave.c | 70 print_bool(PRINT_JSON, flag, NULL, val); in _print_onoff() 84 print_string(PRINT_JSON, json_attr, NULL, b1); in _print_hex()
|
D | iplink_bond.c | 438 open_json_array(PRINT_JSON, "arp_ip_target"); in bond_print_opt() 456 close_json_array(PRINT_JSON, NULL); in bond_print_opt() 465 print_null(PRINT_JSON, "arp_validate", NULL, NULL); in bond_print_opt()
|
D | iplink_xdp.c | 95 print_uint(PRINT_JSON, "mode", NULL, mode); in xdp_dump_json()
|
D | ipmacsec.c | 568 print_string(PRINT_JSON, desc, NULL, v); in print_flag() 1030 print_string(PRINT_JSON, "sci", NULL, b1); in macsec_print_opt() 1054 print_uint(PRINT_JSON, "icv_len", NULL, atoi(b2)); in macsec_print_opt() 1067 print_uint(PRINT_JSON, "encoding_sa", NULL, atoi(b2)); in macsec_print_opt()
|
/external/iproute2/lib/ |
D | json_print.c | 20 #define _IS_JSON_CONTEXT(type) ((type & PRINT_JSON || type & PRINT_ANY) && _jw) 56 if (_IS_JSON_CONTEXT(PRINT_JSON)) { in open_json_object() 65 if (_IS_JSON_CONTEXT(PRINT_JSON)) in close_json_object() 177 print_string(PRINT_JSON, key, NULL, b1); in print_color_0xhex()
|
D | bpf.c | 204 print_uint(PRINT_JSON, "jited", NULL, jited); in bpf_dump_prog_info()
|
/external/iproute2/include/ |
D | json_print.h | 28 PRINT_JSON = 2, enumerator
|