/external/iproute2/ip/ |
D | iplink_bond.c | 380 print_string(PRINT_ANY, "mode", "mode %s ", mode); in bond_print_opt() 389 print_string(PRINT_ANY, in bond_print_opt() 394 print_uint(PRINT_ANY, in bond_print_opt() 401 print_uint(PRINT_ANY, in bond_print_opt() 407 print_uint(PRINT_ANY, in bond_print_opt() 413 print_uint(PRINT_ANY, in bond_print_opt() 419 print_uint(PRINT_ANY, in bond_print_opt() 425 print_uint(PRINT_ANY, in bond_print_opt() 444 print_string(PRINT_ANY, in bond_print_opt() 467 print_string(PRINT_ANY, in bond_print_opt() [all …]
|
D | iplink_bridge.c | 402 print_uint(PRINT_ANY, in bridge_print_opt() 408 print_uint(PRINT_ANY, in bridge_print_opt() 414 print_uint(PRINT_ANY, in bridge_print_opt() 420 print_uint(PRINT_ANY, in bridge_print_opt() 426 print_uint(PRINT_ANY, in bridge_print_opt() 432 print_uint(PRINT_ANY, in bridge_print_opt() 438 print_uint(PRINT_ANY, in bridge_print_opt() 446 print_string(PRINT_ANY, in bridge_print_opt() 458 print_string(PRINT_ANY, in bridge_print_opt() 469 print_string(PRINT_ANY, in bridge_print_opt() [all …]
|
D | iplink_bond_slave.c | 40 print_int(PRINT_ANY, "state_index", "state %d ", state); in print_slave_state() 42 print_string(PRINT_ANY, in print_slave_state() 60 print_int(PRINT_ANY, in print_slave_mii_status() 65 print_string(PRINT_ANY, in print_slave_mii_status() 84 print_int(PRINT_ANY, in bond_slave_print_opt() 90 print_string(PRINT_ANY, in bond_slave_print_opt() 98 print_int(PRINT_ANY, in bond_slave_print_opt() 104 print_int(PRINT_ANY, in bond_slave_print_opt() 110 print_int(PRINT_ANY, in bond_slave_print_opt() 116 print_int(PRINT_ANY, in bond_slave_print_opt()
|
D | iplink_vxlan.c | 409 print_uint(PRINT_ANY, "id", "id %u ", vni); in vxlan_print_opt() 416 print_string(PRINT_ANY, in vxlan_print_opt() 421 print_string(PRINT_ANY, in vxlan_print_opt() 432 print_string(PRINT_ANY, in vxlan_print_opt() 439 print_string(PRINT_ANY, in vxlan_print_opt() 452 print_string(PRINT_ANY, in vxlan_print_opt() 461 print_string(PRINT_ANY, in vxlan_print_opt() 474 print_string(PRINT_ANY, "link", "dev %s ", n); in vxlan_print_opt() 476 print_uint(PRINT_ANY, "link_index", "dev %u ", link); in vxlan_print_opt() 494 print_uint(PRINT_ANY, in vxlan_print_opt() [all …]
|
D | ipaddress.c | 88 open_json_array(PRINT_ANY, is_json_context() ? "flags" : "<"); in print_link_flags() 90 print_string(PRINT_ANY, NULL, in print_link_flags() 95 print_string(PRINT_ANY, NULL, flags ? "%s," : "%s", #f); } in print_link_flags() 116 print_hex(PRINT_ANY, NULL, "%x", flags); in print_link_flags() 118 print_string(PRINT_ANY, NULL, ",%s", "M-DOWN"); in print_link_flags() 119 close_json_array(PRINT_ANY, "> "); in print_link_flags() 135 print_color_string(PRINT_ANY, in print_operstate() 186 print_int(PRINT_ANY, "txqlen", "qlen %d", qlen); in print_queuelen() 198 print_int(PRINT_ANY, in print_linkmode() 203 print_string(PRINT_ANY, in print_linkmode() [all …]
|
D | link_ip6tnl.c | 349 print_string(PRINT_ANY, "proto", "%s ", "ipip6"); in ip6tunnel_print_opt() 352 print_string(PRINT_ANY, "proto", "%s ", "ip6ip6"); in ip6tunnel_print_opt() 355 print_string(PRINT_ANY, "proto", "%s ", "any"); in ip6tunnel_print_opt() 361 print_string(PRINT_ANY, in ip6tunnel_print_opt() 368 print_string(PRINT_ANY, in ip6tunnel_print_opt() 379 print_string(PRINT_ANY, "link", "dev %s ", n); in ip6tunnel_print_opt() 381 print_uint(PRINT_ANY, "link_index", "dev %u ", link); in ip6tunnel_print_opt() 385 print_bool(PRINT_ANY, in ip6tunnel_print_opt() 390 print_uint(PRINT_ANY, in ip6tunnel_print_opt() 396 print_uint(PRINT_ANY, in ip6tunnel_print_opt() [all …]
|
D | link_gre6.c | 428 print_string(PRINT_ANY, "remote", "remote %s ", remote); in gre_print_opt() 439 print_string(PRINT_ANY, "local", "local %s ", local); in gre_print_opt() 446 print_string(PRINT_ANY, "link", "dev %s ", n); in gre_print_opt() 448 print_uint(PRINT_ANY, "link_index", "dev %u ", link); in gre_print_opt() 455 print_int(PRINT_ANY, "ttl", "hoplimit %d ", ttl); in gre_print_opt() 461 print_bool(PRINT_ANY, in gre_print_opt() 468 print_int(PRINT_ANY, in gre_print_opt() 475 print_bool(PRINT_ANY, in gre_print_opt() 494 print_bool(PRINT_ANY, in gre_print_opt() 512 print_bool(PRINT_ANY, in gre_print_opt() [all …]
|
D | link_gre.c | 405 print_string(PRINT_ANY, "remote", "remote %s ", remote); in gre_print_direct_opt() 414 print_string(PRINT_ANY, "local", "local %s ", local); in gre_print_direct_opt() 421 print_string(PRINT_ANY, "link", "dev %s ", n); in gre_print_direct_opt() 423 print_uint(PRINT_ANY, "link_index", "dev %u ", link); in gre_print_direct_opt() 430 print_int(PRINT_ANY, "ttl", "ttl %d ", ttl); in gre_print_direct_opt() 456 print_bool(PRINT_ANY, "pmtudisc", "nopmtudisc ", false); in gre_print_direct_opt() 469 print_string(PRINT_ANY, "ikey", "ikey %s ", s2); in gre_print_direct_opt() 474 print_string(PRINT_ANY, "okey", "okey %s ", s2); in gre_print_direct_opt() 478 print_bool(PRINT_ANY, "iseq", "iseq ", true); in gre_print_direct_opt() 480 print_bool(PRINT_ANY, "oseq", "oseq ", true); in gre_print_direct_opt() [all …]
|
D | iplink_bridge_slave.c | 59 print_string(PRINT_ANY, in print_portstate() 64 print_int(PRINT_ANY, "state_index", "state (%d) ", state); in print_portstate() 117 print_int(PRINT_ANY, in bridge_slave_print_opt() 123 print_int(PRINT_ANY, in bridge_slave_print_opt() 161 print_uint(PRINT_ANY, in bridge_slave_print_opt() 167 print_uint(PRINT_ANY, in bridge_slave_print_opt() 177 print_string(PRINT_ANY, in bridge_slave_print_opt() 188 print_string(PRINT_ANY, in bridge_slave_print_opt() 205 print_uint(PRINT_ANY, in bridge_slave_print_opt() 211 print_uint(PRINT_ANY, in bridge_slave_print_opt() [all …]
|
D | iplink_hsr.c | 114 print_string(PRINT_ANY, in hsr_print_opt() 119 print_null(PRINT_ANY, "slave1", "slave1 %s ", "<none>"); in hsr_print_opt() 122 print_string(PRINT_ANY, in hsr_print_opt() 127 print_null(PRINT_ANY, "slave2", "slave2 %s ", "<none>"); in hsr_print_opt() 130 print_int(PRINT_ANY, in hsr_print_opt() 136 print_string(PRINT_ANY, in hsr_print_opt()
|
D | iplink_vlan.c | 199 open_json_array(PRINT_ANY, is_json_context() ? "flags" : "<"); in vlan_print_flags() 202 print_string(PRINT_ANY, NULL, flags ? "%s," : "%s", #f); \ in vlan_print_flags() 210 print_hex(PRINT_ANY, NULL, "%x", flags); in vlan_print_flags() 211 close_json_array(PRINT_ANY, "> "); in vlan_print_flags() 231 print_string(PRINT_ANY, in vlan_print_opt() 238 print_string(PRINT_ANY, "protocol", "protocol %s ", "802.1q"); in vlan_print_opt() 240 print_uint(PRINT_ANY, in vlan_print_opt()
|
D | link_vti.c | 227 print_string(PRINT_ANY, "remote", "remote %s ", remote); in vti_print_opt() 236 print_string(PRINT_ANY, "local", "local %s ", local); in vti_print_opt() 243 print_string(PRINT_ANY, "link", "dev %s ", n); in vti_print_opt() 245 print_uint(PRINT_ANY, "link_index", "dev %u ", link); in vti_print_opt() 250 print_0xhex(PRINT_ANY, "ikey", "ikey %#x ", ntohl(key)); in vti_print_opt() 255 print_0xhex(PRINT_ANY, "okey", "okey %#x ", ntohl(key)); in vti_print_opt() 264 print_string(PRINT_ANY, "fwmark", "fwmark %s ", s2); in vti_print_opt()
|
D | link_vti6.c | 228 print_string(PRINT_ANY, "remote", "remote %s ", remote); in vti6_print_opt() 236 print_string(PRINT_ANY, "local", "local %s ", local); in vti6_print_opt() 242 print_string(PRINT_ANY, "link", "dev %s ", n); in vti6_print_opt() 244 print_uint(PRINT_ANY, "link_index", "dev %u ", link); in vti6_print_opt() 249 print_string(PRINT_ANY, "ikey", "ikey %s ", s2); in vti6_print_opt() 254 print_string(PRINT_ANY, "okey", "okey %s ", s2); in vti6_print_opt() 263 print_string(PRINT_ANY, "fwmark", "fwmark %s ", s2); in vti6_print_opt()
|
D | link_iptnl.c | 401 print_string(PRINT_ANY, "remote", "remote %s ", remote); in iptunnel_print_opt() 410 print_string(PRINT_ANY, "local", "local %s ", local); in iptunnel_print_opt() 417 print_string(PRINT_ANY, "link", "dev %s ", n); in iptunnel_print_opt() 419 print_int(PRINT_ANY, "link_index", "dev %u ", link); in iptunnel_print_opt() 426 print_int(PRINT_ANY, "ttl", "ttl %d ", ttl); in iptunnel_print_opt() 450 print_bool(PRINT_ANY, "pmtudisc", "pmtudisc ", true); in iptunnel_print_opt() 452 print_bool(PRINT_ANY, "pmtudisc", "nopmtudisc ", false); in iptunnel_print_opt() 458 print_bool(PRINT_ANY, "isatap", "isatap ", true); in iptunnel_print_opt() 506 print_string(PRINT_ANY, "type", "%s ", "fou"); in iptunnel_print_opt() 509 print_string(PRINT_ANY, "type", "%s ", "gue"); in iptunnel_print_opt() [all …]
|
D | iplink_can.c | 92 open_json_array(PRINT_ANY, is_json_context() ? "ctrlmode" : "<"); in print_ctrlmode() 96 print_string(PRINT_ANY, NULL, cm ? "%s," : "%s", cmname); \ in print_ctrlmode() 108 print_hex(PRINT_ANY, NULL, "%x", cm); in print_ctrlmode() 109 close_json_array(PRINT_ANY, "> "); in print_ctrlmode() 308 print_int(PRINT_ANY, in can_print_opt() 320 print_int(PRINT_ANY, "bitrate", NULL, bt->bitrate); in can_print_opt() 324 print_int(PRINT_ANY, "tq", NULL, bt->tq); in can_print_opt() 325 print_int(PRINT_ANY, "prop_seg", NULL, bt->prop_seg); in can_print_opt() 326 print_int(PRINT_ANY, "phase_seg1", in can_print_opt() 328 print_int(PRINT_ANY, "phase_seg2", in can_print_opt() [all …]
|
D | iplink_geneve.c | 240 print_uint(PRINT_ANY, "id", "id %u ", vni); in geneve_print_opt() 246 print_string(PRINT_ANY, in geneve_print_opt() 256 print_string(PRINT_ANY, in geneve_print_opt() 269 print_int(PRINT_ANY, "ttl", "ttl %d ", ttl); in geneve_print_opt() 292 print_0xhex(PRINT_ANY, in geneve_print_opt() 299 print_uint(PRINT_ANY, in geneve_print_opt() 305 print_bool(PRINT_ANY, "collect_metadata", "external ", true); in geneve_print_opt()
|
D | iplink_macvlan.c | 196 print_string(PRINT_ANY, in macvlan_print_opt() 213 print_bool(PRINT_ANY, "nopromisc", "nopromisc ", true); in macvlan_print_opt() 225 print_int(PRINT_ANY, "macaddr_count", "remotes (%d) ", count); in macvlan_print_opt()
|
D | iplink_vrf.c | 65 print_uint(PRINT_ANY, in vrf_print_opt() 78 print_uint(PRINT_ANY, in vrf_slave_print_opt()
|
D | iplink_ipvlan.c | 75 print_string(PRINT_ANY, "mode", " mode %s ", mode_str); in ipvlan_print_opt()
|
D | iplink_ipoib.c | 115 print_string(PRINT_ANY, "mode", "mode %s ", mode_str); in ipoib_print_opt()
|
D | ipmacsec.c | 1042 print_string(PRINT_ANY, in macsec_print_opt() 1077 print_string(PRINT_ANY, in macsec_print_opt() 1102 print_int(PRINT_ANY, in macsec_print_opt()
|
/external/iproute2/lib/ |
D | json_print.c | 20 #define _IS_JSON_CONTEXT(type) ((type & PRINT_JSON || type & PRINT_ANY) && _jw) 21 #define _IS_FP_CONTEXT(type) (!_jw && (type & PRINT_FP || type & PRINT_ANY))
|
D | bpf.c | 191 print_uint(PRINT_ANY, "id", "id %u ", id); in bpf_dump_prog_info() 201 print_string(PRINT_ANY, "tag", "tag %s ", in bpf_dump_prog_info()
|
/external/iproute2/include/ |
D | json_print.h | 29 PRINT_ANY = 4, enumerator
|