/external/iproute2/ip/ |
D | link_iptnl.c | 136 iflags = rta_getattr_u16(iptuninfo[IFLA_IPTUN_FLAGS]); in iptunnel_parse_opt() 145 encaptype = rta_getattr_u16(iptuninfo[IFLA_IPTUN_ENCAP_TYPE]); in iptunnel_parse_opt() 147 encapflags = rta_getattr_u16(iptuninfo[IFLA_IPTUN_ENCAP_FLAGS]); in iptunnel_parse_opt() 149 encapsport = rta_getattr_u16(iptuninfo[IFLA_IPTUN_ENCAP_SPORT]); in iptunnel_parse_opt() 151 encapdport = rta_getattr_u16(iptuninfo[IFLA_IPTUN_ENCAP_DPORT]); in iptunnel_parse_opt() 159 rta_getattr_u16(iptuninfo[IFLA_IPTUN_6RD_PREFIXLEN]); in iptunnel_parse_opt() 167 rta_getattr_u16(iptuninfo[IFLA_IPTUN_6RD_RELAY_PREFIXLEN]); in iptunnel_parse_opt() 383 __u16 iflags = rta_getattr_u16(tb[IFLA_IPTUN_FLAGS]); in iptunnel_print_opt() 391 __u16 prefixlen = rta_getattr_u16(tb[IFLA_IPTUN_6RD_PREFIXLEN]); in iptunnel_print_opt() 393 rta_getattr_u16(tb[IFLA_IPTUN_6RD_RELAY_PREFIXLEN]); in iptunnel_print_opt() [all …]
|
D | link_gre.c | 120 iflags = rta_getattr_u16(greinfo[IFLA_GRE_IFLAGS]); in gre_parse_opt() 123 oflags = rta_getattr_u16(greinfo[IFLA_GRE_OFLAGS]); in gre_parse_opt() 145 encaptype = rta_getattr_u16(greinfo[IFLA_GRE_ENCAP_TYPE]); in gre_parse_opt() 147 encapflags = rta_getattr_u16(greinfo[IFLA_GRE_ENCAP_FLAGS]); in gre_parse_opt() 149 encapsport = rta_getattr_u16(greinfo[IFLA_GRE_ENCAP_SPORT]); in gre_parse_opt() 151 encapdport = rta_getattr_u16(greinfo[IFLA_GRE_ENCAP_DPORT]); in gre_parse_opt() 400 iflags = rta_getattr_u16(tb[IFLA_GRE_IFLAGS]); in gre_print_opt() 403 oflags = rta_getattr_u16(tb[IFLA_GRE_OFLAGS]); in gre_print_opt() 429 __u16 type = rta_getattr_u16(tb[IFLA_GRE_ENCAP_TYPE]); in gre_print_opt() 430 __u16 flags = rta_getattr_u16(tb[IFLA_GRE_ENCAP_FLAGS]); in gre_print_opt() [all …]
|
D | iplink_ipoib.c | 94 fprintf(f, "pkey %#.4x ", rta_getattr_u16(tb[IFLA_IPOIB_PKEY])); in ipoib_print_opt() 100 mode = rta_getattr_u16(tb[IFLA_IPOIB_MODE]); in ipoib_print_opt() 110 fprintf(f, "umcast %.4x ", rta_getattr_u16(tb[IFLA_IPOIB_UMCAST])); in ipoib_print_opt()
|
D | iplink_bond_slave.c | 76 rta_getattr_u16(tb[IFLA_BOND_SLAVE_QUEUE_ID])); in bond_slave_print_opt() 80 rta_getattr_u16(tb[IFLA_BOND_SLAVE_AD_AGGREGATOR_ID])); in bond_slave_print_opt() 88 rta_getattr_u16(tb[IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE])); in bond_slave_print_opt()
|
D | iplink_bond.c | 523 rta_getattr_u16(adtb[IFLA_BOND_AD_INFO_AGGREGATOR])); in bond_print_opt() 527 rta_getattr_u16(adtb[IFLA_BOND_AD_INFO_NUM_PORTS])); in bond_print_opt() 531 rta_getattr_u16(adtb[IFLA_BOND_AD_INFO_ACTOR_KEY])); in bond_print_opt() 535 rta_getattr_u16(adtb[IFLA_BOND_AD_INFO_PARTNER_KEY])); in bond_print_opt() 548 rta_getattr_u16(tb[IFLA_BOND_AD_ACTOR_SYS_PRIO])); in bond_print_opt() 553 rta_getattr_u16(tb[IFLA_BOND_AD_USER_PORT_KEY])); in bond_print_opt()
|
D | ipl2tp.c | 264 p->pw_type = rta_getattr_u16(attrs[L2TP_ATTR_PW_TYPE]); in get_response() 266 p->encap = rta_getattr_u16(attrs[L2TP_ATTR_ENCAP_TYPE]); in get_response() 268 p->offset = rta_getattr_u16(attrs[L2TP_ATTR_OFFSET]); in get_response() 270 p->data_seq = rta_getattr_u16(attrs[L2TP_ATTR_DATA_SEQ]); in get_response() 323 p->local_udp_port = rta_getattr_u16(attrs[L2TP_ATTR_UDP_SPORT]); in get_response() 325 p->peer_udp_port = rta_getattr_u16(attrs[L2TP_ATTR_UDP_DPORT]); in get_response() 327 p->mtu = rta_getattr_u16(attrs[L2TP_ATTR_MTU]); in get_response()
|
D | link_gre6.c | 126 iflags = rta_getattr_u16(greinfo[IFLA_GRE_IFLAGS]); in gre_parse_opt() 129 oflags = rta_getattr_u16(greinfo[IFLA_GRE_OFLAGS]); in gre_parse_opt() 369 iflags = rta_getattr_u16(tb[IFLA_GRE_IFLAGS]); in gre_print_opt() 372 oflags = rta_getattr_u16(tb[IFLA_GRE_OFLAGS]); in gre_print_opt()
|
D | iplink_bridge.c | 145 rta_getattr_u16(tb[IFLA_BR_PRIORITY])); in bridge_print_opt() 155 ll_proto_n2a(rta_getattr_u16(tb[IFLA_BR_VLAN_PROTOCOL]), in bridge_print_opt()
|
D | iplink_vlan.c | 215 ll_proto_n2a(rta_getattr_u16(tb[IFLA_VLAN_PROTOCOL]), in vlan_print_opt() 220 fprintf(f, "id %u ", rta_getattr_u16(tb[IFLA_VLAN_ID])); in vlan_print_opt()
|
D | iplink_ipvlan.c | 77 __u16 mode = rta_getattr_u16(tb[IFLA_IPVLAN_MODE]); in ipvlan_print_opt()
|
D | iplink_hsr.c | 119 rta_getattr_u16(tb[IFLA_HSR_SEQ_NR])); in hsr_print_opt()
|
D | iplink_macvlan.c | 121 flags = rta_getattr_u16(tb[IFLA_MACVLAN_FLAGS]); in macvlan_print_opt()
|
D | iplink_bridge_slave.c | 72 rta_getattr_u16(tb[IFLA_BRPORT_PRIORITY])); in bridge_slave_print_opt()
|
D | tcp_metrics.c | 270 fprintf(fp, " fo_mss %u", rta_getattr_u16(a)); in process_msg() 274 __u16 syn_loss = rta_getattr_u16(a); in process_msg()
|
D | iproute_lwtunnel.c | 157 et = rta_getattr_u16(encap_type); in lwt_print_encap()
|
/external/iproute2/tc/ |
D | q_dsmark.c | 155 rta_getattr_u16(tb[TCA_DSMARK_INDICES])); in dsmark_print_opt() 161 rta_getattr_u16(tb[TCA_DSMARK_DEFAULT_INDEX])); in dsmark_print_opt()
|
D | f_tcindex.c | 145 hash = rta_getattr_u16(tb[TCA_TCINDEX_HASH]); in tcindex_print_opt() 153 mask = rta_getattr_u16(tb[TCA_TCINDEX_MASK]); in tcindex_print_opt()
|
D | m_vlan.c | 196 val = rta_getattr_u16(tb[TCA_VLAN_PUSH_VLAN_ID]); in print_vlan() 201 ll_proto_n2a(rta_getattr_u16(tb[TCA_VLAN_PUSH_VLAN_PROTOCOL]), in print_vlan()
|
D | f_flower.c | 361 eth_type = rta_getattr_u16(eth_type_attr); in flower_print_eth_type() 449 fprintf(f, "\n %s %d", name, ntohs(rta_getattr_u16(attr))); in flower_print_port()
|
D | m_bpf.c | 181 rta_getattr_u16(tb[TCA_ACT_BPF_OPS_LEN])); in bpf_print_opt()
|
D | f_bpf.c | 183 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/bridge/ |
D | fdb.c | 121 __u16 vid = rta_getattr_u16(tb[NDA_VLAN]); in print_fdb() 126 fprintf(fp, "port %d ", ntohs(rta_getattr_u16(tb[NDA_PORT]))); in print_fdb()
|
D | link.c | 168 rta_getattr_u16(prtb[IFLA_BRPORT_PRIORITY])); in print_linkinfo() 211 print_hwmode(fp, rta_getattr_u16(aftb[IFLA_BRIDGE_MODE])); in print_linkinfo()
|
/external/iproute2/include/ |
D | libnetlink.h | 132 static inline __u16 rta_getattr_u16(const struct rtattr *rta) in rta_getattr_u16() function
|