/external/iproute2/ip/ |
D | iplink_bridge_slave.c | 114 print_portstate(f, rta_getattr_u8(tb[IFLA_BRPORT_STATE])); in bridge_slave_print_opt() 130 rta_getattr_u8(tb[IFLA_BRPORT_MODE])); in bridge_slave_print_opt() 134 rta_getattr_u8(tb[IFLA_BRPORT_GUARD])); in bridge_slave_print_opt() 138 rta_getattr_u8(tb[IFLA_BRPORT_PROTECT])); in bridge_slave_print_opt() 142 rta_getattr_u8(tb[IFLA_BRPORT_FAST_LEAVE])); in bridge_slave_print_opt() 146 rta_getattr_u8(tb[IFLA_BRPORT_LEARNING])); in bridge_slave_print_opt() 150 rta_getattr_u8(tb[IFLA_BRPORT_UNICAST_FLOOD])); in bridge_slave_print_opt() 208 rta_getattr_u8(tb[IFLA_BRPORT_TOPOLOGY_CHANGE_ACK])); in bridge_slave_print_opt() 214 rta_getattr_u8(tb[IFLA_BRPORT_CONFIG_PENDING])); in bridge_slave_print_opt() 218 rta_getattr_u8(tb[IFLA_BRPORT_PROXYARP])); in bridge_slave_print_opt() [all …]
|
D | iplink_bridge.c | 441 rta_getattr_u8(tb[IFLA_BR_VLAN_FILTERING])); in bridge_print_opt() 491 rta_getattr_u8(tb[IFLA_BR_TOPOLOGY_CHANGE])); in bridge_print_opt() 497 rta_getattr_u8(tb[IFLA_BR_TOPOLOGY_CHANGE_DETECTED])); in bridge_print_opt() 522 rta_getattr_u8(tb[IFLA_BR_VLAN_STATS_ENABLED])); in bridge_print_opt() 545 rta_getattr_u8(tb[IFLA_BR_MCAST_SNOOPING])); in bridge_print_opt() 551 rta_getattr_u8(tb[IFLA_BR_MCAST_ROUTER])); in bridge_print_opt() 557 rta_getattr_u8(tb[IFLA_BR_MCAST_QUERY_USE_IFADDR])); in bridge_print_opt() 563 rta_getattr_u8(tb[IFLA_BR_MCAST_QUERIER])); in bridge_print_opt() 629 rta_getattr_u8(tb[IFLA_BR_MCAST_STATS_ENABLED])); in bridge_print_opt() 635 rta_getattr_u8(tb[IFLA_BR_MCAST_IGMP_VERSION])); in bridge_print_opt() [all …]
|
D | iplink_geneve.c | 266 __u8 ttl = rta_getattr_u8(tb[IFLA_GENEVE_TTL]); in geneve_print_opt() 273 (tos = rta_getattr_u8(tb[IFLA_GENEVE_TOS]))) { in geneve_print_opt() 312 rta_getattr_u8(tb[IFLA_GENEVE_UDP_CSUM])); in geneve_print_opt() 314 if (!rta_getattr_u8(tb[IFLA_GENEVE_UDP_CSUM])) in geneve_print_opt() 325 rta_getattr_u8(tb[IFLA_GENEVE_UDP_ZERO_CSUM6_TX])); in geneve_print_opt() 327 if (!rta_getattr_u8(tb[IFLA_GENEVE_UDP_ZERO_CSUM6_TX])) in geneve_print_opt() 338 rta_getattr_u8(tb[IFLA_GENEVE_UDP_ZERO_CSUM6_RX])); in geneve_print_opt() 340 if (!rta_getattr_u8(tb[IFLA_GENEVE_UDP_ZERO_CSUM6_RX])) in geneve_print_opt()
|
D | iplink_vxlan.c | 500 __u8 learning = rta_getattr_u8(tb[IFLA_VXLAN_LEARNING]); in vxlan_print_opt() 507 if (tb[IFLA_VXLAN_PROXY] && rta_getattr_u8(tb[IFLA_VXLAN_PROXY])) in vxlan_print_opt() 510 if (tb[IFLA_VXLAN_RSC] && rta_getattr_u8(tb[IFLA_VXLAN_RSC])) in vxlan_print_opt() 513 if (tb[IFLA_VXLAN_L2MISS] && rta_getattr_u8(tb[IFLA_VXLAN_L2MISS])) in vxlan_print_opt() 516 if (tb[IFLA_VXLAN_L3MISS] && rta_getattr_u8(tb[IFLA_VXLAN_L3MISS])) in vxlan_print_opt() 520 (tos = rta_getattr_u8(tb[IFLA_VXLAN_TOS]))) { in vxlan_print_opt() 532 __u8 ttl = rta_getattr_u8(tb[IFLA_VXLAN_TTL]); in vxlan_print_opt() 564 __u8 udp_csum = rta_getattr_u8(tb[IFLA_VXLAN_UDP_CSUM]); in vxlan_print_opt() 576 __u8 csum6 = rta_getattr_u8(tb[IFLA_VXLAN_UDP_ZERO_CSUM6_TX]); in vxlan_print_opt() 589 __u8 csum6 = rta_getattr_u8(tb[IFLA_VXLAN_UDP_ZERO_CSUM6_RX]); in vxlan_print_opt() [all …]
|
D | iplink_bond.c | 379 rta_getattr_u8(tb[IFLA_BOND_MODE])); in bond_print_opt() 422 rta_getattr_u8(tb[IFLA_BOND_USE_CARRIER])); in bond_print_opt() 498 rta_getattr_u8(tb[IFLA_BOND_PRIMARY_RESELECT])); in bond_print_opt() 507 rta_getattr_u8(tb[IFLA_BOND_FAIL_OVER_MAC])); in bond_print_opt() 516 rta_getattr_u8(tb[IFLA_BOND_XMIT_HASH_POLICY])); in bond_print_opt() 533 rta_getattr_u8(tb[IFLA_BOND_NUM_PEER_NOTIF])); in bond_print_opt() 539 rta_getattr_u8(tb[IFLA_BOND_ALL_SLAVES_ACTIVE])); in bond_print_opt() 561 rta_getattr_u8(tb[IFLA_BOND_AD_LACP_RATE])); in bond_print_opt() 570 rta_getattr_u8(tb[IFLA_BOND_AD_SELECT])); in bond_print_opt() 652 rta_getattr_u8(tb[IFLA_BOND_TLB_DYNAMIC_LB])); in bond_print_opt()
|
D | link_gre.c | 147 pmtudisc = rta_getattr_u8( in gre_parse_opt() 151 ttl = rta_getattr_u8(greinfo[IFLA_GRE_TTL]); in gre_parse_opt() 154 tos = rta_getattr_u8(greinfo[IFLA_GRE_TOS]); in gre_parse_opt() 157 link = rta_getattr_u8(greinfo[IFLA_GRE_LINK]); in gre_parse_opt() 173 !!rta_getattr_u8(greinfo[IFLA_GRE_IGNORE_DF]); in gre_parse_opt() 427 __u8 ttl = rta_getattr_u8(tb[IFLA_GRE_TTL]); in gre_print_direct_opt() 437 if (tb[IFLA_GRE_TOS] && rta_getattr_u8(tb[IFLA_GRE_TOS])) { in gre_print_direct_opt() 438 int tos = rta_getattr_u8(tb[IFLA_GRE_TOS]); in gre_print_direct_opt() 455 if (!rta_getattr_u8(tb[IFLA_GRE_PMTUDISC])) in gre_print_direct_opt() 507 if (tb[IFLA_GRE_IGNORE_DF] && rta_getattr_u8(tb[IFLA_GRE_IGNORE_DF])) in gre_print_opt()
|
D | iplink_bond_slave.c | 37 unsigned int state = rta_getattr_u8(tb); in print_slave_state() 57 unsigned int status = rta_getattr_u8(tb); in print_slave_mii_status() 113 rta_getattr_u8(tb[IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE])); in bond_slave_print_opt()
|
D | ipmacsec.c | 565 const char *v = values_on_off[!!rta_getattr_u8(attrs[field])]; in print_flag() 598 __u8 val = rta_getattr_u8(attrs[MACSEC_SECY_ATTR_VALIDATE]); in print_attrs() 621 rta_getattr_u8(attrs[MACSEC_SECY_ATTR_ICV_LEN])); in print_attrs() 794 state = rta_getattr_u8(sa_attr[MACSEC_SA_ATTR_ACTIVE]); in print_tx_sc() 796 rta_getattr_u8(sa_attr[MACSEC_SA_ATTR_AN]), in print_tx_sc() 863 state = rta_getattr_u8(sa_attr[MACSEC_SA_ATTR_ACTIVE]); in print_rx_sc() 865 rta_getattr_u8(sa_attr[MACSEC_SA_ATTR_AN]), in print_rx_sc() 914 encoding_sa = rta_getattr_u8(attrs_secy[MACSEC_SECY_ATTR_ENCODING_SA]); in process() 1053 rta_getattr_u8(tb[IFLA_MACSEC_ICV_LEN])); in macsec_print_opt() 1057 rta_getattr_u8(tb[IFLA_MACSEC_ICV_LEN])); in macsec_print_opt() [all …]
|
D | link_iptnl.c | 143 ttl = rta_getattr_u8(iptuninfo[IFLA_IPTUN_TTL]); in iptunnel_parse_opt() 146 tos = rta_getattr_u8(iptuninfo[IFLA_IPTUN_TOS]); in iptunnel_parse_opt() 150 rta_getattr_u8(iptuninfo[IFLA_IPTUN_PMTUDISC]); in iptunnel_parse_opt() 159 proto = rta_getattr_u8(iptuninfo[IFLA_IPTUN_PROTO]); in iptunnel_parse_opt() 423 __u8 ttl = rta_getattr_u8(tb[IFLA_IPTUN_TTL]); in iptunnel_print_opt() 434 int tos = rta_getattr_u8(tb[IFLA_IPTUN_TOS]); in iptunnel_print_opt() 449 if (tb[IFLA_IPTUN_PMTUDISC] && rta_getattr_u8(tb[IFLA_IPTUN_PMTUDISC])) in iptunnel_print_opt()
|
D | link_ip6tnl.c | 140 hop_limit = rta_getattr_u8(iptuninfo[IFLA_IPTUN_TTL]); in ip6tunnel_parse_opt() 143 encap_limit = rta_getattr_u8(iptuninfo[IFLA_IPTUN_ENCAP_LIMIT]); in ip6tunnel_parse_opt() 155 proto = rta_getattr_u8(iptuninfo[IFLA_IPTUN_PROTO]); in ip6tunnel_parse_opt() 347 switch (rta_getattr_u8(tb[IFLA_IPTUN_PROTO])) { in ip6tunnel_print_opt() 393 rta_getattr_u8(tb[IFLA_IPTUN_ENCAP_LIMIT])); in ip6tunnel_print_opt() 399 rta_getattr_u8(tb[IFLA_IPTUN_TTL])); in ip6tunnel_print_opt()
|
D | iplink_xdp.c | 90 mode = rta_getattr_u8(tb[IFLA_XDP_ATTACHED]); in xdp_dump_json() 112 mode = rta_getattr_u8(tb[IFLA_XDP_ATTACHED]); in xdp_dump()
|
D | iproute_lwtunnel.c | 254 rta_getattr_u8(tb[MPLS_IPTUNNEL_TTL])); in print_encap_mpls() 276 fprintf(fp, "ttl %d ", rta_getattr_u8(tb[LWTUNNEL_IP_TTL])); in print_encap_ip() 279 fprintf(fp, "tos %d ", rta_getattr_u8(tb[LWTUNNEL_IP_TOS])); in print_encap_ip() 324 ila_csum_mode2name(rta_getattr_u8(tb[ILA_ATTR_CSUM_MODE]))); in print_encap_ila() 347 rta_getattr_u8(tb[LWTUNNEL_IP6_HOPLIMIT])); in print_encap_ip6() 350 fprintf(fp, "tc %d ", rta_getattr_u8(tb[LWTUNNEL_IP6_TC])); in print_encap_ip6()
|
D | ipseg6.c | 82 __u8 slen = rta_getattr_u8(attrs[SEG6_ATTR_SECRETLEN]); in process_msg() 83 __u8 alg_id = rta_getattr_u8(attrs[SEG6_ATTR_ALGID]); in process_msg()
|
D | link_gre6.c | 155 hop_limit = rta_getattr_u8(greinfo[IFLA_GRE_TTL]); in gre_parse_opt() 161 encap_limit = rta_getattr_u8(greinfo[IFLA_GRE_ENCAP_LIMIT]); in gre_parse_opt() 452 __u8 ttl = rta_getattr_u8(tb[IFLA_GRE_TTL]); in gre_print_opt() 466 int encap_limit = rta_getattr_u8(tb[IFLA_GRE_ENCAP_LIMIT]); in gre_print_opt()
|
D | ipl2tp.c | 330 p->l2spec_type = rta_getattr_u8(attrs[L2TP_ATTR_L2SPEC_TYPE]); in get_response() 332 p->l2spec_len = rta_getattr_u8(attrs[L2TP_ATTR_L2SPEC_LEN]); in get_response() 335 p->udp_csum = !!rta_getattr_u8(attrs[L2TP_ATTR_UDP_CSUM]); in get_response() 349 p->recv_seq = !!rta_getattr_u8(attrs[L2TP_ATTR_RECV_SEQ]); in get_response() 351 p->send_seq = !!rta_getattr_u8(attrs[L2TP_ATTR_SEND_SEQ]); in get_response()
|
D | link_vti.c | 114 link = rta_getattr_u8(vtiinfo[IFLA_VTI_LINK]); in vti_parse_opt()
|
D | link_vti6.c | 109 link = rta_getattr_u8(vtiinfo[IFLA_VTI_LINK]); in vti6_parse_opt()
|
/external/iproute2/bridge/ |
D | link.c | 134 print_operstate(fp, rta_getattr_u8(tb[IFLA_OPERSTATE])); in print_linkinfo() 166 rta_getattr_u8(prtb[IFLA_BRPORT_STATE])); in print_linkinfo() 179 rta_getattr_u8(prtb[IFLA_BRPORT_MODE])); in print_linkinfo() 182 rta_getattr_u8(prtb[IFLA_BRPORT_GUARD])); in print_linkinfo() 185 rta_getattr_u8(prtb[IFLA_BRPORT_PROTECT])); in print_linkinfo() 188 rta_getattr_u8(prtb[IFLA_BRPORT_FAST_LEAVE])); in print_linkinfo() 191 rta_getattr_u8(prtb[IFLA_BRPORT_LEARNING])); in print_linkinfo() 194 rta_getattr_u8(prtb[IFLA_BRPORT_LEARNING_SYNC])); in print_linkinfo() 197 rta_getattr_u8(prtb[IFLA_BRPORT_UNICAST_FLOOD])); in print_linkinfo() 200 rta_getattr_u8(prtb[IFLA_BRPORT_MCAST_FLOOD])); in print_linkinfo() [all …]
|
/external/iproute2/tc/ |
D | q_dsmark.c | 136 rta_getattr_u8(tb[TCA_DSMARK_MASK])); in dsmark_print_opt() 142 rta_getattr_u8(tb[TCA_DSMARK_VALUE])); in dsmark_print_opt()
|
D | f_flower.c | 1005 ip_proto = rta_getattr_u8(ip_proto_attr); in flower_print_ip_proto() 1029 fprintf(f, "\n %s %x", name, rta_getattr_u8(key_attr)); in flower_print_ip_attr() 1032 fprintf(f, "/%x", rta_getattr_u8(mask_attr)); in flower_print_ip_attr() 1149 value = rta_getattr_u8(attr); in flower_print_masked_u8() 1150 mask = mask_attr ? rta_getattr_u8(mask_attr) : UINT8_MAX; in flower_print_masked_u8() 1211 fprintf(f, "\n vlan_prio %d", rta_getattr_u8(attr)); in flower_print_opt()
|
D | q_rr.c | 111 rta_getattr_u8(tb[TCA_PRIO_MQ]) ? "on" : "off"); in rr_print_opt()
|
D | q_prio.c | 116 rta_getattr_u8(tb[TCA_PRIO_MQ]) ? "on" : "off"); in prio_print_opt()
|
D | m_vlan.c | 222 val = rta_getattr_u8(tb[TCA_VLAN_PUSH_VLAN_PRIORITY]); in print_vlan()
|
D | m_tunnel_key.c | 250 fprintf(f, "\n\t%s", rta_getattr_u8(attr) ? name_on : name_off); in tunnel_key_print_flag()
|
/external/iproute2/include/ |
D | libnetlink.h | 156 static inline __u8 rta_getattr_u8(const struct rtattr *rta) in rta_getattr_u8() function
|