/external/iproute2/ip/ |
D | link_iptnl.c | 153 iflags = rta_getattr_u16(iptuninfo[IFLA_IPTUN_FLAGS]); in iptunnel_parse_opt() 162 encaptype = rta_getattr_u16(iptuninfo[IFLA_IPTUN_ENCAP_TYPE]); in iptunnel_parse_opt() 164 encapflags = rta_getattr_u16(iptuninfo[IFLA_IPTUN_ENCAP_FLAGS]); in iptunnel_parse_opt() 166 encapsport = rta_getattr_u16(iptuninfo[IFLA_IPTUN_ENCAP_SPORT]); in iptunnel_parse_opt() 168 encapdport = rta_getattr_u16(iptuninfo[IFLA_IPTUN_ENCAP_DPORT]); in iptunnel_parse_opt() 176 rta_getattr_u16(iptuninfo[IFLA_IPTUN_6RD_PREFIXLEN]); in iptunnel_parse_opt() 184 rta_getattr_u16(iptuninfo[IFLA_IPTUN_6RD_RELAY_PREFIXLEN]); in iptunnel_parse_opt() 455 __u16 iflags = rta_getattr_u16(tb[IFLA_IPTUN_FLAGS]); in iptunnel_print_opt() 462 (prefixlen = rta_getattr_u16(tb[IFLA_IPTUN_6RD_PREFIXLEN]))) { in iptunnel_print_opt() 464 rta_getattr_u16(tb[IFLA_IPTUN_6RD_RELAY_PREFIXLEN]); in iptunnel_print_opt() [all …]
|
D | link_gre.c | 135 iflags = rta_getattr_u16(greinfo[IFLA_GRE_IFLAGS]); in gre_parse_opt() 138 oflags = rta_getattr_u16(greinfo[IFLA_GRE_OFLAGS]); in gre_parse_opt() 160 encaptype = rta_getattr_u16(greinfo[IFLA_GRE_ENCAP_TYPE]); in gre_parse_opt() 162 encapflags = rta_getattr_u16(greinfo[IFLA_GRE_ENCAP_FLAGS]); in gre_parse_opt() 164 encapsport = rta_getattr_u16(greinfo[IFLA_GRE_ENCAP_SPORT]); in gre_parse_opt() 166 encapdport = rta_getattr_u16(greinfo[IFLA_GRE_ENCAP_DPORT]); in gre_parse_opt() 462 iflags = rta_getattr_u16(tb[IFLA_GRE_IFLAGS]); in gre_print_direct_opt() 465 oflags = rta_getattr_u16(tb[IFLA_GRE_OFLAGS]); in gre_print_direct_opt() 517 rta_getattr_u16(tb[IFLA_GRE_ENCAP_TYPE]) != TUNNEL_ENCAP_NONE) { in gre_print_opt() 518 __u16 type = rta_getattr_u16(tb[IFLA_GRE_ENCAP_TYPE]); in gre_print_opt() [all …]
|
D | link_gre6.c | 143 iflags = rta_getattr_u16(greinfo[IFLA_GRE_IFLAGS]); in gre_parse_opt() 146 oflags = rta_getattr_u16(greinfo[IFLA_GRE_OFLAGS]); in gre_parse_opt() 170 encaptype = rta_getattr_u16(greinfo[IFLA_GRE_ENCAP_TYPE]); in gre_parse_opt() 173 encapflags = rta_getattr_u16(greinfo[IFLA_GRE_ENCAP_FLAGS]); in gre_parse_opt() 176 encapsport = rta_getattr_u16(greinfo[IFLA_GRE_ENCAP_SPORT]); in gre_parse_opt() 179 encapdport = rta_getattr_u16(greinfo[IFLA_GRE_ENCAP_DPORT]); in gre_parse_opt() 518 iflags = rta_getattr_u16(tb[IFLA_GRE_IFLAGS]); in gre_print_opt() 521 oflags = rta_getattr_u16(tb[IFLA_GRE_OFLAGS]); in gre_print_opt() 558 rta_getattr_u16(tb[IFLA_GRE_ENCAP_TYPE]) != TUNNEL_ENCAP_NONE) { in gre_print_opt() 559 __u16 type = rta_getattr_u16(tb[IFLA_GRE_ENCAP_TYPE]); in gre_print_opt() [all …]
|
D | iplink_ipoib.c | 94 __u16 pkey = rta_getattr_u16(tb[IFLA_IPOIB_PKEY]); in ipoib_print_opt() 109 mode = rta_getattr_u16(tb[IFLA_IPOIB_MODE]); in ipoib_print_opt() 121 __u16 umcast = rta_getattr_u16(tb[IFLA_IPOIB_UMCAST]); in ipoib_print_opt()
|
D | iplink_bond_slave.c | 101 rta_getattr_u16(tb[IFLA_BOND_SLAVE_QUEUE_ID])); in bond_slave_print_opt() 107 rta_getattr_u16(tb[IFLA_BOND_SLAVE_AD_AGGREGATOR_ID])); in bond_slave_print_opt() 119 rta_getattr_u16(tb[IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE])); in bond_slave_print_opt()
|
D | iplink_bridge_slave.c | 120 rta_getattr_u16(tb[IFLA_BRPORT_PRIORITY])); in bridge_slave_print_opt() 154 rta_getattr_u16(tb[IFLA_BRPORT_ID])); in bridge_slave_print_opt() 158 rta_getattr_u16(tb[IFLA_BRPORT_NO])); in bridge_slave_print_opt() 164 rta_getattr_u16(tb[IFLA_BRPORT_DESIGNATED_PORT])); in bridge_slave_print_opt() 170 rta_getattr_u16(tb[IFLA_BRPORT_DESIGNATED_COST])); in bridge_slave_print_opt()
|
D | iplink_bond.c | 589 rta_getattr_u16(adtb[IFLA_BOND_AD_INFO_AGGREGATOR])); in bond_print_opt() 595 rta_getattr_u16(adtb[IFLA_BOND_AD_INFO_NUM_PORTS])); in bond_print_opt() 601 rta_getattr_u16(adtb[IFLA_BOND_AD_INFO_ACTOR_KEY])); in bond_print_opt() 607 rta_getattr_u16(adtb[IFLA_BOND_AD_INFO_PARTNER_KEY])); in bond_print_opt() 626 rta_getattr_u16(tb[IFLA_BOND_AD_ACTOR_SYS_PRIO])); in bond_print_opt() 633 rta_getattr_u16(tb[IFLA_BOND_AD_USER_PORT_KEY])); in bond_print_opt()
|
D | link_ip6tnl.c | 473 rta_getattr_u16(tb[IFLA_IPTUN_ENCAP_TYPE]) != TUNNEL_ENCAP_NONE) { in ip6tunnel_print_opt() 474 __u16 type = rta_getattr_u16(tb[IFLA_IPTUN_ENCAP_TYPE]); in ip6tunnel_print_opt() 475 __u16 flags = rta_getattr_u16(tb[IFLA_IPTUN_ENCAP_FLAGS]); in ip6tunnel_print_opt() 476 __u16 sport = rta_getattr_u16(tb[IFLA_IPTUN_ENCAP_SPORT]); in ip6tunnel_print_opt() 477 __u16 dport = rta_getattr_u16(tb[IFLA_IPTUN_ENCAP_DPORT]); in ip6tunnel_print_opt()
|
D | ipl2tp.c | 314 p->pw_type = rta_getattr_u16(attrs[L2TP_ATTR_PW_TYPE]); in get_response() 316 p->encap = rta_getattr_u16(attrs[L2TP_ATTR_ENCAP_TYPE]); in get_response() 318 p->offset = rta_getattr_u16(attrs[L2TP_ATTR_OFFSET]); in get_response() 320 p->data_seq = rta_getattr_u16(attrs[L2TP_ATTR_DATA_SEQ]); in get_response() 380 p->local_udp_port = rta_getattr_u16(attrs[L2TP_ATTR_UDP_SPORT]); in get_response() 382 p->peer_udp_port = rta_getattr_u16(attrs[L2TP_ATTR_UDP_DPORT]); in get_response() 384 p->mtu = rta_getattr_u16(attrs[L2TP_ATTR_MTU]); in get_response()
|
D | iplink_bridge.c | 435 rta_getattr_u16(tb[IFLA_BR_PRIORITY])); in bridge_print_opt() 449 ll_proto_n2a(rta_getattr_u16(tb[IFLA_BR_VLAN_PROTOCOL]), in bridge_print_opt() 479 rta_getattr_u16(tb[IFLA_BR_ROOT_PORT])); in bridge_print_opt() 516 rta_getattr_u16(tb[IFLA_BR_VLAN_DEFAULT_PVID])); in bridge_print_opt() 528 rta_getattr_u16(tb[IFLA_BR_GROUP_FWD_MASK])); in bridge_print_opt()
|
D | iplink_vlan.c | 235 rta_getattr_u16(tb[IFLA_VLAN_PROTOCOL]), in vlan_print_opt() 243 rta_getattr_u16(tb[IFLA_VLAN_ID])); in vlan_print_opt()
|
D | iplink_ipvlan.c | 70 __u16 mode = rta_getattr_u16(tb[IFLA_IPVLAN_MODE]); in ipvlan_print_opt()
|
D | iplink_hsr.c | 133 rta_getattr_u16(tb[IFLA_HSR_SEQ_NR])); in hsr_print_opt()
|
D | tcp_metrics.c | 267 fprintf(fp, " fo_mss %u", rta_getattr_u16(a)); in process_msg() 271 __u16 syn_loss = rta_getattr_u16(a); in process_msg()
|
D | iplink_macvlan.c | 210 flags = rta_getattr_u16(tb[IFLA_MACVLAN_FLAGS]); in macvlan_print_opt()
|
/external/iproute2/tc/ |
D | q_dsmark.c | 148 rta_getattr_u16(tb[TCA_DSMARK_INDICES])); in dsmark_print_opt() 154 rta_getattr_u16(tb[TCA_DSMARK_DEFAULT_INDEX])); in dsmark_print_opt()
|
D | f_tcindex.c | 137 hash = rta_getattr_u16(tb[TCA_TCINDEX_HASH]); in tcindex_print_opt() 145 mask = rta_getattr_u16(tb[TCA_TCINDEX_MASK]); in tcindex_print_opt()
|
D | m_vlan.c | 213 val = rta_getattr_u16(tb[TCA_VLAN_PUSH_VLAN_ID]); in print_vlan() 218 ll_proto_n2a(rta_getattr_u16(tb[TCA_VLAN_PUSH_VLAN_PROTOCOL]), in print_vlan()
|
D | m_ife.c | 255 ife_type = rta_getattr_u16(tb[TCA_IFE_TYPE]); in print_ife() 283 rta_getattr_u16(metalist[IFE_META_TCINDEX]); in print_ife()
|
D | m_skbmod.c | 189 skbmod_etype = rta_getattr_u16(tb[TCA_SKBMOD_ETYPE]); in print_skbmod()
|
D | m_bpf.c | 177 rta_getattr_u16(tb[TCA_ACT_BPF_OPS_LEN])); in bpf_print_opt()
|
D | f_bpf.c | 223 rta_getattr_u16(tb[TCA_BPF_OPS_LEN])); in bpf_print_opt()
|
/external/iproute2/lib/ |
D | libgenl.c | 45 return rta_getattr_u16(tb[CTRL_ATTR_FAMILY_ID]); in genl_parse_getfamily()
|
/external/iproute2/include/ |
D | libnetlink.h | 160 static inline __u16 rta_getattr_u16(const struct rtattr *rta) in rta_getattr_u16() function 166 return ntohs(rta_getattr_u16(rta)); in rta_getattr_be16()
|
/external/iproute2/bridge/ |
D | link.c | 169 rta_getattr_u16(prtb[IFLA_BRPORT_PRIORITY])); in print_linkinfo() 215 print_hwmode(fp, rta_getattr_u16(aftb[IFLA_BRIDGE_MODE])); in print_linkinfo()
|