/external/iproute2/ip/ |
D | link_vti.c | 102 ikey = rta_getattr_u32(vtiinfo[IFLA_VTI_IKEY]); in vti_parse_opt() 105 okey = rta_getattr_u32(vtiinfo[IFLA_VTI_OKEY]); in vti_parse_opt() 108 saddr = rta_getattr_u32(vtiinfo[IFLA_VTI_LOCAL]); in vti_parse_opt() 111 daddr = rta_getattr_u32(vtiinfo[IFLA_VTI_REMOTE]); in vti_parse_opt() 117 fwmark = rta_getattr_u32(vtiinfo[IFLA_VTI_FWMARK]); in vti_parse_opt() 221 unsigned int addr = rta_getattr_u32(tb[IFLA_VTI_REMOTE]); in vti_print_opt() 230 unsigned int addr = rta_getattr_u32(tb[IFLA_VTI_LOCAL]); in vti_print_opt() 239 (link = rta_getattr_u32(tb[IFLA_VTI_LINK]))) { in vti_print_opt() 249 (key = rta_getattr_u32(tb[IFLA_VTI_IKEY]))) in vti_print_opt() 254 (key = rta_getattr_u32(tb[IFLA_VTI_OKEY]))) in vti_print_opt() [all …]
|
D | ipnetconf.c | 82 ifindex = rta_getattr_u32(tb[NETCONFA_IFINDEX]); in print_netconf() 118 rta_getattr_u32(tb[NETCONFA_FORWARDING])); in print_netconf() 120 __u32 rp_filter = rta_getattr_u32(tb[NETCONFA_RP_FILTER]); in print_netconf() 133 rta_getattr_u32(tb[NETCONFA_MC_FORWARDING])); in print_netconf() 137 rta_getattr_u32(tb[NETCONFA_PROXY_NEIGH])); in print_netconf() 141 rta_getattr_u32(tb[NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN])); in print_netconf() 144 print_onoff(fp, "input", rta_getattr_u32(tb[NETCONFA_INPUT])); in print_netconf()
|
D | iplink_bond.c | 384 (ifindex = rta_getattr_u32(tb[IFLA_BOND_ACTIVE_SLAVE]))) { in bond_print_opt() 404 rta_getattr_u32(tb[IFLA_BOND_MIIMON])); in bond_print_opt() 410 rta_getattr_u32(tb[IFLA_BOND_UPDELAY])); in bond_print_opt() 416 rta_getattr_u32(tb[IFLA_BOND_DOWNDELAY])); in bond_print_opt() 428 rta_getattr_u32(tb[IFLA_BOND_ARP_INTERVAL])); in bond_print_opt() 461 __u32 arp_v = rta_getattr_u32(tb[IFLA_BOND_ARP_VALIDATE]); in bond_print_opt() 475 rta_getattr_u32(tb[IFLA_BOND_ARP_ALL_TARGETS])); in bond_print_opt() 483 (ifindex = rta_getattr_u32(tb[IFLA_BOND_PRIMARY]))) { in bond_print_opt() 527 rta_getattr_u32(tb[IFLA_BOND_RESEND_IGMP])); in bond_print_opt() 545 rta_getattr_u32(tb[IFLA_BOND_MIN_LINKS])); in bond_print_opt() [all …]
|
D | link_gre.c | 129 ikey = rta_getattr_u32(greinfo[IFLA_GRE_IKEY]); in gre_parse_opt() 132 okey = rta_getattr_u32(greinfo[IFLA_GRE_OKEY]); in gre_parse_opt() 141 saddr = rta_getattr_u32(greinfo[IFLA_GRE_LOCAL]); in gre_parse_opt() 144 daddr = rta_getattr_u32(greinfo[IFLA_GRE_REMOTE]); in gre_parse_opt() 176 fwmark = rta_getattr_u32(greinfo[IFLA_GRE_FWMARK]); in gre_parse_opt() 179 erspan_idx = rta_getattr_u32(greinfo[IFLA_GRE_ERSPAN_INDEX]); in gre_parse_opt() 399 unsigned int addr = rta_getattr_u32(tb[IFLA_GRE_REMOTE]); in gre_print_direct_opt() 408 unsigned int addr = rta_getattr_u32(tb[IFLA_GRE_LOCAL]); in gre_print_direct_opt() 416 if (tb[IFLA_GRE_LINK] && rta_getattr_u32(tb[IFLA_GRE_LINK])) { in gre_print_direct_opt() 417 unsigned int link = rta_getattr_u32(tb[IFLA_GRE_LINK]); in gre_print_direct_opt() [all …]
|
D | link_iptnl.c | 137 laddr = rta_getattr_u32(iptuninfo[IFLA_IPTUN_LOCAL]); in iptunnel_parse_opt() 140 raddr = rta_getattr_u32(iptuninfo[IFLA_IPTUN_REMOTE]); in iptunnel_parse_opt() 156 link = rta_getattr_u32(iptuninfo[IFLA_IPTUN_LINK]); in iptunnel_parse_opt() 180 rta_getattr_u32(iptuninfo[IFLA_IPTUN_6RD_RELAY_PREFIX]); in iptunnel_parse_opt() 189 fwmark = rta_getattr_u32(iptuninfo[IFLA_IPTUN_FWMARK]); in iptunnel_parse_opt() 395 unsigned int addr = rta_getattr_u32(tb[IFLA_IPTUN_REMOTE]); in iptunnel_print_opt() 404 unsigned int addr = rta_getattr_u32(tb[IFLA_IPTUN_LOCAL]); in iptunnel_print_opt() 412 if (tb[IFLA_IPTUN_LINK] && rta_getattr_u32(tb[IFLA_IPTUN_LINK])) { in iptunnel_print_opt() 413 unsigned int link = rta_getattr_u32(tb[IFLA_IPTUN_LINK]); in iptunnel_print_opt() 466 rta_getattr_u32(tb[IFLA_IPTUN_6RD_RELAY_PREFIX]); in iptunnel_print_opt() [all …]
|
D | ipntable.c | 378 __u32 ifindex = rta_getattr_u32(tpb[NDTPA_IFINDEX]); in print_ntable() 411 __u32 thresh1 = rta_getattr_u32(tb[NDTA_THRESH1]); in print_ntable() 416 __u32 thresh2 = rta_getattr_u32(tb[NDTA_THRESH2]); in print_ntable() 421 __u32 thresh3 = rta_getattr_u32(tb[NDTA_THRESH3]); in print_ntable() 466 __u32 ifindex = rta_getattr_u32(tpb[NDTPA_IFINDEX]); in print_ntable() 476 __u32 refcnt = rta_getattr_u32(tpb[NDTPA_REFCNT]); in print_ntable() 511 __u32 queue = rta_getattr_u32(tpb[NDTPA_QUEUE_LEN]); in print_ntable() 521 __u32 aprobe = rta_getattr_u32(tpb[NDTPA_APP_PROBES]); in print_ntable() 526 __u32 uprobe = rta_getattr_u32(tpb[NDTPA_UCAST_PROBES]); in print_ntable() 531 __u32 mprobe = rta_getattr_u32(tpb[NDTPA_MCAST_PROBES]); in print_ntable() [all …]
|
D | link_gre6.c | 137 ikey = rta_getattr_u32(greinfo[IFLA_GRE_IKEY]); in gre_parse_opt() 140 okey = rta_getattr_u32(greinfo[IFLA_GRE_OKEY]); in gre_parse_opt() 158 link = rta_getattr_u32(greinfo[IFLA_GRE_LINK]); in gre_parse_opt() 164 flowinfo = rta_getattr_u32(greinfo[IFLA_GRE_FLOWINFO]); in gre_parse_opt() 167 flags = rta_getattr_u32(greinfo[IFLA_GRE_FLAGS]); in gre_parse_opt() 182 fwmark = rta_getattr_u32(greinfo[IFLA_GRE_FWMARK]); in gre_parse_opt() 414 flags = rta_getattr_u32(tb[IFLA_GRE_FLAGS]); in gre_print_opt() 417 flowinfo = rta_getattr_u32(tb[IFLA_GRE_FLOWINFO]); in gre_print_opt() 441 if (tb[IFLA_GRE_LINK] && rta_getattr_u32(tb[IFLA_GRE_LINK])) { in gre_print_opt() 442 unsigned int link = rta_getattr_u32(tb[IFLA_GRE_LINK]); in gre_print_opt() [all …]
|
D | link_ip6tnl.c | 146 flowinfo = rta_getattr_u32(iptuninfo[IFLA_IPTUN_FLOWINFO]); in ip6tunnel_parse_opt() 149 flags = rta_getattr_u32(iptuninfo[IFLA_IPTUN_FLAGS]); in ip6tunnel_parse_opt() 152 link = rta_getattr_u32(iptuninfo[IFLA_IPTUN_LINK]); in ip6tunnel_parse_opt() 160 fwmark = rta_getattr_u32(iptuninfo[IFLA_IPTUN_FWMARK]); in ip6tunnel_parse_opt() 341 flags = rta_getattr_u32(tb[IFLA_IPTUN_FLAGS]); in ip6tunnel_print_opt() 344 flowinfo = rta_getattr_u32(tb[IFLA_IPTUN_FLOWINFO]); in ip6tunnel_print_opt() 374 if (tb[IFLA_IPTUN_LINK] && rta_getattr_u32(tb[IFLA_IPTUN_LINK])) { in ip6tunnel_print_opt() 375 unsigned int link = rta_getattr_u32(tb[IFLA_IPTUN_LINK]); in ip6tunnel_print_opt() 462 __u32 fwmark = rta_getattr_u32(tb[IFLA_IPTUN_FWMARK]); in ip6tunnel_print_opt()
|
D | iplink_bridge.c | 405 rta_getattr_u32(tb[IFLA_BR_FORWARD_DELAY])); in bridge_print_opt() 411 rta_getattr_u32(tb[IFLA_BR_HELLO_TIME])); in bridge_print_opt() 417 rta_getattr_u32(tb[IFLA_BR_MAX_AGE])); in bridge_print_opt() 423 rta_getattr_u32(tb[IFLA_BR_AGEING_TIME])); in bridge_print_opt() 429 rta_getattr_u32(tb[IFLA_BR_STP_STATE])); in bridge_print_opt() 485 rta_getattr_u32(tb[IFLA_BR_ROOT_PATH_COST])); in bridge_print_opt() 569 rta_getattr_u32(tb[IFLA_BR_MCAST_HASH_ELASTICITY])); in bridge_print_opt() 575 rta_getattr_u32(tb[IFLA_BR_MCAST_HASH_MAX])); in bridge_print_opt() 581 rta_getattr_u32(tb[IFLA_BR_MCAST_LAST_MEMBER_CNT])); in bridge_print_opt() 587 rta_getattr_u32(tb[IFLA_BR_MCAST_STARTUP_QUERY_CNT])); in bridge_print_opt()
|
D | link_vti6.c | 97 ikey = rta_getattr_u32(vtiinfo[IFLA_VTI_IKEY]); in vti6_parse_opt() 100 okey = rta_getattr_u32(vtiinfo[IFLA_VTI_OKEY]); in vti6_parse_opt() 112 fwmark = rta_getattr_u32(vtiinfo[IFLA_VTI_FWMARK]); in vti6_parse_opt() 238 if (tb[IFLA_VTI_LINK] && (link = rta_getattr_u32(tb[IFLA_VTI_LINK]))) { in vti6_print_opt() 258 __u32 fwmark = rta_getattr_u32(tb[IFLA_VTI_FWMARK]); in vti6_print_opt()
|
D | iprule.c | 88 filter.pref ^ (tb[FRA_PRIORITY] ? rta_getattr_u32(tb[FRA_PRIORITY]) : 0)) in filter_nlmsg() 122 mark = rta_getattr_u32(tb[FRA_FWMARK]); in filter_nlmsg() 130 mask = rta_getattr_u32(tb[FRA_FWMASK]); in filter_nlmsg() 202 rta_getattr_u32(tb[FRA_PRIORITY])); in print_rule() 247 mark = rta_getattr_u32(tb[FRA_FWMARK]); in print_rule() 250 (mask = rta_getattr_u32(tb[FRA_FWMASK])) != 0xFFFFFFFF) in print_rule() 285 int pl = rta_getattr_u32(tb[FRA_SUPPRESS_PREFIXLEN]); in print_rule() 291 int group = rta_getattr_u32(tb[FRA_SUPPRESS_IFGROUP]); in print_rule() 302 __u32 to = rta_getattr_u32(tb[FRA_FLOW]); in print_rule() 324 fprintf(fp, "%u", rta_getattr_u32(tb[FRA_GOTO])); in print_rule()
|
D | iplink_vrf.c | 68 rta_getattr_u32(tb[IFLA_VRF_TABLE])); in vrf_print_opt() 81 rta_getattr_u32(tb[IFLA_VRF_PORT_TABLE])); in vrf_slave_print_opt() 168 tb_id = rta_getattr_u32(vrf_attr[IFLA_VRF_TABLE]); in ipvrf_get_table()
|
D | iplink_vxlan.c | 408 vni = rta_getattr_u32(tb[IFLA_VXLAN_ID]); in vxlan_print_opt() 412 __be32 addr = rta_getattr_u32(tb[IFLA_VXLAN_GROUP]); in vxlan_print_opt() 449 __be32 addr = rta_getattr_u32(tb[IFLA_VXLAN_LOCAL]); in vxlan_print_opt() 470 (link = rta_getattr_u32(tb[IFLA_VXLAN_LINK]))) { in vxlan_print_opt() 541 __u32 label = rta_getattr_u32(tb[IFLA_VXLAN_LABEL]); in vxlan_print_opt() 551 __u32 age = rta_getattr_u32(tb[IFLA_VXLAN_AGEING]); in vxlan_print_opt() 560 ((maxaddr = rta_getattr_u32(tb[IFLA_VXLAN_LIMIT])) != 0)) in vxlan_print_opt()
|
D | ipaddress.c | 168 qlen = rta_getattr_u32(tb[IFLA_TXQLEN]); in print_queuelen() 670 rta_getattr_u32(carrier_changes)); in print_link_stats64() 737 rta_getattr_u32(carrier_changes)); in print_link_stats64() 818 rta_getattr_u32(carrier_changes)); in print_link_stats32() 884 rta_getattr_u32(carrier_changes)); in print_link_stats32() 962 int group = rta_getattr_u32(tb[IFLA_GROUP]); in print_linkinfo_brief() 969 int master = rta_getattr_u32(tb[IFLA_MASTER]); in print_linkinfo_brief() 987 int iflink = rta_getattr_u32(tb[IFLA_LINK]); in print_linkinfo_brief() 1084 int group = rta_getattr_u32(tb[IFLA_GROUP]); in print_linkinfo() 1091 int master = rta_getattr_u32(tb[IFLA_MASTER]); in print_linkinfo() [all …]
|
/external/iproute2/tc/ |
D | q_fq.c | 244 plimit = rta_getattr_u32(tb[TCA_FQ_PLIMIT]); in fq_print_opt() 249 flow_plimit = rta_getattr_u32(tb[TCA_FQ_FLOW_PLIMIT]); in fq_print_opt() 254 buckets_log = rta_getattr_u32(tb[TCA_FQ_BUCKETS_LOG]); in fq_print_opt() 259 orphan_mask = rta_getattr_u32(tb[TCA_FQ_ORPHAN_MASK]); in fq_print_opt() 264 pacing = rta_getattr_u32(tb[TCA_FQ_RATE_ENABLE]); in fq_print_opt() 270 quantum = rta_getattr_u32(tb[TCA_FQ_QUANTUM]); in fq_print_opt() 275 quantum = rta_getattr_u32(tb[TCA_FQ_INITIAL_QUANTUM]); in fq_print_opt() 280 rate = rta_getattr_u32(tb[TCA_FQ_FLOW_MAX_RATE]); in fq_print_opt() 287 rate = rta_getattr_u32(tb[TCA_FQ_FLOW_DEFAULT_RATE]); in fq_print_opt() 294 rate = rta_getattr_u32(tb[TCA_FQ_LOW_RATE_THRESHOLD]); in fq_print_opt() [all …]
|
D | q_pie.c | 149 limit = rta_getattr_u32(tb[TCA_PIE_LIMIT]); in pie_print_opt() 154 target = rta_getattr_u32(tb[TCA_PIE_TARGET]); in pie_print_opt() 159 tupdate = rta_getattr_u32(tb[TCA_PIE_TUPDATE]); in pie_print_opt() 164 alpha = rta_getattr_u32(tb[TCA_PIE_ALPHA]); in pie_print_opt() 169 beta = rta_getattr_u32(tb[TCA_PIE_BETA]); in pie_print_opt() 174 ecn = rta_getattr_u32(tb[TCA_PIE_ECN]); in pie_print_opt() 181 bytemode = rta_getattr_u32(tb[TCA_PIE_BYTEMODE]); in pie_print_opt()
|
D | q_hhf.c | 140 limit = rta_getattr_u32(tb[TCA_HHF_BACKLOG_LIMIT]); in hhf_print_opt() 145 quantum = rta_getattr_u32(tb[TCA_HHF_QUANTUM]); in hhf_print_opt() 150 hh_limit = rta_getattr_u32(tb[TCA_HHF_HH_FLOWS_LIMIT]); in hhf_print_opt() 155 reset_timeout = rta_getattr_u32(tb[TCA_HHF_RESET_TIMEOUT]); in hhf_print_opt() 160 admit_bytes = rta_getattr_u32(tb[TCA_HHF_ADMIT_BYTES]); in hhf_print_opt() 165 evict_timeout = rta_getattr_u32(tb[TCA_HHF_EVICT_TIMEOUT]); in hhf_print_opt() 170 non_hh_weight = rta_getattr_u32(tb[TCA_HHF_NON_HH_WEIGHT]); in hhf_print_opt()
|
D | q_fq_codel.c | 176 limit = rta_getattr_u32(tb[TCA_FQ_CODEL_LIMIT]); in fq_codel_print_opt() 181 flows = rta_getattr_u32(tb[TCA_FQ_CODEL_FLOWS]); in fq_codel_print_opt() 186 quantum = rta_getattr_u32(tb[TCA_FQ_CODEL_QUANTUM]); in fq_codel_print_opt() 191 target = rta_getattr_u32(tb[TCA_FQ_CODEL_TARGET]); in fq_codel_print_opt() 196 ce_threshold = rta_getattr_u32(tb[TCA_FQ_CODEL_CE_THRESHOLD]); in fq_codel_print_opt() 201 interval = rta_getattr_u32(tb[TCA_FQ_CODEL_INTERVAL]); in fq_codel_print_opt() 206 memory_limit = rta_getattr_u32(tb[TCA_FQ_CODEL_MEMORY_LIMIT]); in fq_codel_print_opt() 212 ecn = rta_getattr_u32(tb[TCA_FQ_CODEL_ECN]); in fq_codel_print_opt()
|
D | f_flow.c | 283 __u32 mode = rta_getattr_u32(tb[TCA_FLOW_MODE]); in flow_print_opt() 296 __u32 keymask = rta_getattr_u32(tb[TCA_FLOW_KEYS]); in flow_print_opt() 310 mask = rta_getattr_u32(tb[TCA_FLOW_MASK]); in flow_print_opt() 312 val = rta_getattr_u32(tb[TCA_FLOW_XOR]); in flow_print_opt() 328 rta_getattr_u32(tb[TCA_FLOW_RSHIFT])); in flow_print_opt() 331 rta_getattr_u32(tb[TCA_FLOW_ADDEND])); in flow_print_opt() 335 rta_getattr_u32(tb[TCA_FLOW_DIVISOR])); in flow_print_opt() 338 sprint_tc_classid(rta_getattr_u32(tb[TCA_FLOW_BASECLASS]), b1)); in flow_print_opt() 342 rta_getattr_u32(tb[TCA_FLOW_PERTURB])); in flow_print_opt()
|
D | q_codel.c | 147 limit = rta_getattr_u32(tb[TCA_CODEL_LIMIT]); in codel_print_opt() 152 target = rta_getattr_u32(tb[TCA_CODEL_TARGET]); in codel_print_opt() 157 ce_threshold = rta_getattr_u32(tb[TCA_CODEL_CE_THRESHOLD]); in codel_print_opt() 162 interval = rta_getattr_u32(tb[TCA_CODEL_INTERVAL]); in codel_print_opt() 167 ecn = rta_getattr_u32(tb[TCA_CODEL_ECN]); in codel_print_opt()
|
D | f_route.c | 160 fprintf(f, "flowid %s ", sprint_tc_classid(rta_getattr_u32(tb[TCA_ROUTE4_CLASSID]), b1)); in route_print_opt() 163 fprintf(f, "to %s ", rtnl_rtrealm_n2a(rta_getattr_u32(tb[TCA_ROUTE4_TO]), b1, sizeof(b1))); in route_print_opt() 165 fprintf(f, "from %s ", rtnl_rtrealm_n2a(rta_getattr_u32(tb[TCA_ROUTE4_FROM]), b1, sizeof(b1))); in route_print_opt() 167 fprintf(f, "fromif %s", ll_index_to_name(rta_getattr_u32(tb[TCA_ROUTE4_IIF]))); in route_print_opt()
|
D | f_bpf.c | 193 sprint_tc_classid(rta_getattr_u32(tb[TCA_BPF_CLASSID]), b1)); in bpf_print_opt() 200 unsigned int flags = rta_getattr_u32(tb[TCA_BPF_FLAGS]); in bpf_print_opt() 208 rta_getattr_u32(tb[TCA_BPF_FLAGS_GEN]); in bpf_print_opt() 226 dump_ok = bpf_dump_prog_info(f, rta_getattr_u32(tb[TCA_BPF_ID])); in bpf_print_opt()
|
D | m_sample.c | 159 rta_getattr_u32(tb[TCA_SAMPLE_RATE]), in print_sample() 160 rta_getattr_u32(tb[TCA_SAMPLE_PSAMPLE_GROUP])); in print_sample() 164 rta_getattr_u32(tb[TCA_SAMPLE_TRUNC_SIZE])); in print_sample()
|
D | q_qfq.c | 100 rta_getattr_u32(tb[TCA_QFQ_WEIGHT])); in qfq_print_opt() 105 rta_getattr_u32(tb[TCA_QFQ_LMAX])); in qfq_print_opt()
|
/external/iproute2/bridge/ |
D | fdb.c | 202 rta_getattr_u32(tb[NDA_VNI])); in print_fdb() 205 rta_getattr_u32(tb[NDA_VNI])); in print_fdb() 209 unsigned int ifindex = rta_getattr_u32(tb[NDA_IFINDEX]); in print_fdb() 234 rta_getattr_u32(tb[NDA_LINK_NETNSID])); in print_fdb() 237 rta_getattr_u32(tb[NDA_LINK_NETNSID])); in print_fdb() 280 ll_index_to_name(rta_getattr_u32(tb[NDA_MASTER]))); in print_fdb() 293 ll_index_to_name(rta_getattr_u32(tb[NDA_MASTER]))); in print_fdb()
|