Home
last modified time | relevance | path

Searched refs:rta_getattr_u16 (Results 1 – 25 of 27) sorted by relevance

12

/external/iproute2/ip/
Dlink_iptnl.c136 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 …]
Dlink_gre.c120 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 …]
Diplink_ipoib.c94 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()
Diplink_bond_slave.c76 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()
Diplink_bond.c523 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()
Dipl2tp.c264 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()
Dlink_gre6.c126 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()
Diplink_bridge.c145 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()
Diplink_vlan.c215 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()
Diplink_ipvlan.c77 __u16 mode = rta_getattr_u16(tb[IFLA_IPVLAN_MODE]); in ipvlan_print_opt()
Diplink_hsr.c119 rta_getattr_u16(tb[IFLA_HSR_SEQ_NR])); in hsr_print_opt()
Diplink_macvlan.c121 flags = rta_getattr_u16(tb[IFLA_MACVLAN_FLAGS]); in macvlan_print_opt()
Diplink_bridge_slave.c72 rta_getattr_u16(tb[IFLA_BRPORT_PRIORITY])); in bridge_slave_print_opt()
Dtcp_metrics.c270 fprintf(fp, " fo_mss %u", rta_getattr_u16(a)); in process_msg()
274 __u16 syn_loss = rta_getattr_u16(a); in process_msg()
Diproute_lwtunnel.c157 et = rta_getattr_u16(encap_type); in lwt_print_encap()
/external/iproute2/tc/
Dq_dsmark.c155 rta_getattr_u16(tb[TCA_DSMARK_INDICES])); in dsmark_print_opt()
161 rta_getattr_u16(tb[TCA_DSMARK_DEFAULT_INDEX])); in dsmark_print_opt()
Df_tcindex.c145 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()
Dm_vlan.c196 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()
Df_flower.c361 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()
Dm_bpf.c181 rta_getattr_u16(tb[TCA_ACT_BPF_OPS_LEN])); in bpf_print_opt()
Df_bpf.c183 rta_getattr_u16(tb[TCA_BPF_OPS_LEN])); in bpf_print_opt()
/external/iproute2/lib/
Dlibgenl.c45 return rta_getattr_u16(tb[CTRL_ATTR_FAMILY_ID]); in genl_parse_getfamily()
/external/iproute2/bridge/
Dfdb.c121 __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()
Dlink.c168 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/
Dlibnetlink.h132 static inline __u16 rta_getattr_u16(const struct rtattr *rta) in rta_getattr_u16() function

12