/external/iproute2/ip/ |
D | iplink_bridge_slave.c | 68 print_portstate(f, rta_getattr_u8(tb[IFLA_BRPORT_STATE])); in bridge_slave_print_opt() 80 rta_getattr_u8(tb[IFLA_BRPORT_MODE])); in bridge_slave_print_opt() 84 rta_getattr_u8(tb[IFLA_BRPORT_GUARD])); in bridge_slave_print_opt() 88 rta_getattr_u8(tb[IFLA_BRPORT_PROTECT])); in bridge_slave_print_opt() 92 rta_getattr_u8(tb[IFLA_BRPORT_FAST_LEAVE])); in bridge_slave_print_opt() 96 rta_getattr_u8(tb[IFLA_BRPORT_LEARNING])); in bridge_slave_print_opt() 100 rta_getattr_u8(tb[IFLA_BRPORT_UNICAST_FLOOD])); in bridge_slave_print_opt()
|
D | iplink_vxlan.c | 382 !rta_getattr_u8(tb[IFLA_VXLAN_LEARNING])) in vxlan_print_opt() 385 if (tb[IFLA_VXLAN_PROXY] && rta_getattr_u8(tb[IFLA_VXLAN_PROXY])) in vxlan_print_opt() 388 if (tb[IFLA_VXLAN_RSC] && rta_getattr_u8(tb[IFLA_VXLAN_RSC])) in vxlan_print_opt() 391 if (tb[IFLA_VXLAN_L2MISS] && rta_getattr_u8(tb[IFLA_VXLAN_L2MISS])) in vxlan_print_opt() 394 if (tb[IFLA_VXLAN_L3MISS] && rta_getattr_u8(tb[IFLA_VXLAN_L3MISS])) in vxlan_print_opt() 398 (tos = rta_getattr_u8(tb[IFLA_VXLAN_TOS]))) { in vxlan_print_opt() 406 __u8 ttl = rta_getattr_u8(tb[IFLA_VXLAN_TTL]); in vxlan_print_opt() 423 if (tb[IFLA_VXLAN_UDP_CSUM] && rta_getattr_u8(tb[IFLA_VXLAN_UDP_CSUM])) in vxlan_print_opt() 427 rta_getattr_u8(tb[IFLA_VXLAN_UDP_ZERO_CSUM6_TX])) in vxlan_print_opt() 431 rta_getattr_u8(tb[IFLA_VXLAN_UDP_ZERO_CSUM6_RX])) in vxlan_print_opt() [all …]
|
D | iplink_bond.c | 378 rta_getattr_u8(tb[IFLA_BOND_MODE])); in bond_print_opt() 405 rta_getattr_u8(tb[IFLA_BOND_USE_CARRIER])); in bond_print_opt() 463 rta_getattr_u8(tb[IFLA_BOND_PRIMARY_RESELECT])); in bond_print_opt() 469 rta_getattr_u8(tb[IFLA_BOND_FAIL_OVER_MAC])); in bond_print_opt() 475 rta_getattr_u8(tb[IFLA_BOND_XMIT_HASH_POLICY])); in bond_print_opt() 485 rta_getattr_u8(tb[IFLA_BOND_NUM_PEER_NOTIF])); in bond_print_opt() 489 rta_getattr_u8(tb[IFLA_BOND_ALL_SLAVES_ACTIVE])); in bond_print_opt() 505 rta_getattr_u8(tb[IFLA_BOND_AD_LACP_RATE])); in bond_print_opt() 511 rta_getattr_u8(tb[IFLA_BOND_AD_SELECT])); in bond_print_opt() 567 rta_getattr_u8(tb[IFLA_BOND_TLB_DYNAMIC_LB])); in bond_print_opt()
|
D | link_iptnl.c | 126 ttl = rta_getattr_u8(iptuninfo[IFLA_IPTUN_TTL]); in iptunnel_parse_opt() 129 tos = rta_getattr_u8(iptuninfo[IFLA_IPTUN_TOS]); in iptunnel_parse_opt() 133 rta_getattr_u8(iptuninfo[IFLA_IPTUN_PMTUDISC]); in iptunnel_parse_opt() 142 proto = rta_getattr_u8(iptuninfo[IFLA_IPTUN_PROTO]); in iptunnel_parse_opt() 362 if (tb[IFLA_IPTUN_TTL] && rta_getattr_u8(tb[IFLA_IPTUN_TTL])) in iptunnel_print_opt() 363 fprintf(f, "ttl %d ", rta_getattr_u8(tb[IFLA_IPTUN_TTL])); in iptunnel_print_opt() 367 if (tb[IFLA_IPTUN_TOS] && rta_getattr_u8(tb[IFLA_IPTUN_TOS])) { in iptunnel_print_opt() 368 int tos = rta_getattr_u8(tb[IFLA_IPTUN_TOS]); in iptunnel_print_opt() 377 if (tb[IFLA_IPTUN_PMTUDISC] && rta_getattr_u8(tb[IFLA_IPTUN_PMTUDISC])) in iptunnel_print_opt()
|
D | link_gre.c | 132 pmtudisc = rta_getattr_u8( in gre_parse_opt() 136 ttl = rta_getattr_u8(greinfo[IFLA_GRE_TTL]); in gre_parse_opt() 139 tos = rta_getattr_u8(greinfo[IFLA_GRE_TOS]); in gre_parse_opt() 142 link = rta_getattr_u8(greinfo[IFLA_GRE_LINK]); in gre_parse_opt() 380 if (tb[IFLA_GRE_TTL] && rta_getattr_u8(tb[IFLA_GRE_TTL])) in gre_print_opt() 381 fprintf(f, "ttl %d ", rta_getattr_u8(tb[IFLA_GRE_TTL])); in gre_print_opt() 385 if (tb[IFLA_GRE_TOS] && rta_getattr_u8(tb[IFLA_GRE_TOS])) { in gre_print_opt() 386 int tos = rta_getattr_u8(tb[IFLA_GRE_TOS]); in gre_print_opt() 396 !rta_getattr_u8(tb[IFLA_GRE_PMTUDISC])) in gre_print_opt()
|
D | link_ip6tnl.c | 126 hop_limit = rta_getattr_u8(iptuninfo[IFLA_IPTUN_TTL]); in ip6tunnel_parse_opt() 129 encap_limit = rta_getattr_u8(iptuninfo[IFLA_IPTUN_ENCAP_LIMIT]); in ip6tunnel_parse_opt() 141 proto = rta_getattr_u8(iptuninfo[IFLA_IPTUN_PROTO]); in ip6tunnel_parse_opt() 272 switch (rta_getattr_u8(tb[IFLA_IPTUN_PROTO])) { in ip6tunnel_print_opt() 315 rta_getattr_u8(tb[IFLA_IPTUN_ENCAP_LIMIT])); in ip6tunnel_print_opt() 318 fprintf(f, "hoplimit %u ", rta_getattr_u8(tb[IFLA_IPTUN_TTL])); in ip6tunnel_print_opt()
|
D | iplink_bond_slave.c | 27 unsigned int state = rta_getattr_u8(tb); in print_slave_state() 44 unsigned int status = rta_getattr_u8(tb); in print_slave_mii_status() 84 rta_getattr_u8(tb[IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE])); in bond_slave_print_opt()
|
D | link_gre6.c | 138 hop_limit = rta_getattr_u8(greinfo[IFLA_GRE_TTL]); in gre_parse_opt() 144 encap_limit = rta_getattr_u8(greinfo[IFLA_GRE_ENCAP_LIMIT]); in gre_parse_opt() 349 if (tb[IFLA_GRE_TTL] && rta_getattr_u8(tb[IFLA_GRE_TTL])) in gre_print_opt() 350 fprintf(f, "hoplimit %d ", rta_getattr_u8(tb[IFLA_GRE_TTL])); in gre_print_opt() 355 int encap_limit = rta_getattr_u8(tb[IFLA_GRE_ENCAP_LIMIT]); in gre_print_opt()
|
D | iproute_lwtunnel.c | 97 fprintf(fp, "ttl %d ", rta_getattr_u8(tb[LWTUNNEL_IP_TTL])); in print_encap_ip() 100 fprintf(fp, "tos %d ", rta_getattr_u8(tb[LWTUNNEL_IP_TOS])); in print_encap_ip() 143 fprintf(fp, "hoplimit %d ", rta_getattr_u8(tb[LWTUNNEL_IP6_HOPLIMIT])); in print_encap_ip6() 146 fprintf(fp, "tc %d ", rta_getattr_u8(tb[LWTUNNEL_IP6_TC])); in print_encap_ip6()
|
D | iplink_geneve.c | 147 __u8 ttl = rta_getattr_u8(tb[IFLA_GENEVE_TTL]); in geneve_print_opt() 153 (tos = rta_getattr_u8(tb[IFLA_GENEVE_TOS]))) { in geneve_print_opt()
|
D | iplink_bridge.c | 149 rta_getattr_u8(tb[IFLA_BR_VLAN_FILTERING])); in bridge_print_opt()
|
D | link_vti6.c | 108 link = rta_getattr_u8(vtiinfo[IFLA_VTI_LINK]); in vti6_parse_opt()
|
D | ipaddress.c | 203 unsigned int mode = rta_getattr_u8(tb); in print_linkmode() 288 __u8 mode = rta_getattr_u8(tb[IFLA_INET6_ADDR_GEN_MODE]); in print_af_spec() 691 print_operstate(fp, rta_getattr_u8(tb[IFLA_OPERSTATE])); in print_linkinfo_brief() 820 print_operstate(fp, rta_getattr_u8(tb[IFLA_OPERSTATE])); in print_linkinfo() 868 if (rta_getattr_u8(tb[IFLA_PROTO_DOWN])) in print_linkinfo()
|
D | ipl2tp.c | 280 p->l2spec_type = rta_getattr_u8(attrs[L2TP_ATTR_L2SPEC_TYPE]); in get_response() 282 p->l2spec_len = rta_getattr_u8(attrs[L2TP_ATTR_L2SPEC_LEN]); in get_response()
|
D | iproute.c | 703 unsigned int pref = rta_getattr_u8(tb[RTA_PREF]); in print_route()
|
/external/iproute2/bridge/ |
D | link.c | 134 print_operstate(fp, rta_getattr_u8(tb[IFLA_OPERSTATE])); in print_linkinfo() 165 rta_getattr_u8(prtb[IFLA_BRPORT_STATE])); in print_linkinfo() 178 rta_getattr_u8(prtb[IFLA_BRPORT_MODE])); in print_linkinfo() 181 rta_getattr_u8(prtb[IFLA_BRPORT_GUARD])); in print_linkinfo() 184 rta_getattr_u8(prtb[IFLA_BRPORT_PROTECT])); in print_linkinfo() 187 rta_getattr_u8(prtb[IFLA_BRPORT_FAST_LEAVE])); in print_linkinfo() 190 rta_getattr_u8(prtb[IFLA_BRPORT_LEARNING])); in print_linkinfo() 193 rta_getattr_u8(prtb[IFLA_BRPORT_LEARNING_SYNC])); in print_linkinfo() 196 rta_getattr_u8(prtb[IFLA_BRPORT_UNICAST_FLOOD])); in print_linkinfo() 199 print_portstate(fp, rta_getattr_u8(tb[IFLA_PROTINFO])); in print_linkinfo()
|
/external/iproute2/tc/ |
D | q_dsmark.c | 143 rta_getattr_u8(tb[TCA_DSMARK_MASK])); in dsmark_print_opt() 149 rta_getattr_u8(tb[TCA_DSMARK_VALUE])); in dsmark_print_opt()
|
D | q_prio.c | 115 rta_getattr_u8(tb[TCA_PRIO_MQ]) ? "on" : "off"); in prio_print_opt()
|
D | q_rr.c | 110 rta_getattr_u8(tb[TCA_PRIO_MQ]) ? "on" : "off"); in rr_print_opt()
|
D | f_flower.c | 380 ip_proto = rta_getattr_u8(ip_proto_attr); in flower_print_ip_proto()
|
/external/iproute2/include/ |
D | libnetlink.h | 128 static inline __u8 rta_getattr_u8(const struct rtattr *rta) in rta_getattr_u8() function
|