Home
last modified time | relevance | path

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

12

/external/iproute2/ip/
Dlink_iptnl.c153 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 …]
Dlink_gre.c135 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 …]
Dlink_gre6.c143 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 …]
Diplink_ipoib.c94 __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()
Diplink_bond_slave.c101 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()
Diplink_bridge_slave.c120 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()
Diplink_bond.c589 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()
Dlink_ip6tnl.c473 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()
Dipl2tp.c314 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()
Diplink_bridge.c435 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()
Diplink_vlan.c235 rta_getattr_u16(tb[IFLA_VLAN_PROTOCOL]), in vlan_print_opt()
243 rta_getattr_u16(tb[IFLA_VLAN_ID])); in vlan_print_opt()
Diplink_ipvlan.c70 __u16 mode = rta_getattr_u16(tb[IFLA_IPVLAN_MODE]); in ipvlan_print_opt()
Diplink_hsr.c133 rta_getattr_u16(tb[IFLA_HSR_SEQ_NR])); in hsr_print_opt()
Dtcp_metrics.c267 fprintf(fp, " fo_mss %u", rta_getattr_u16(a)); in process_msg()
271 __u16 syn_loss = rta_getattr_u16(a); in process_msg()
Diplink_macvlan.c210 flags = rta_getattr_u16(tb[IFLA_MACVLAN_FLAGS]); in macvlan_print_opt()
/external/iproute2/tc/
Dq_dsmark.c148 rta_getattr_u16(tb[TCA_DSMARK_INDICES])); in dsmark_print_opt()
154 rta_getattr_u16(tb[TCA_DSMARK_DEFAULT_INDEX])); in dsmark_print_opt()
Df_tcindex.c137 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()
Dm_vlan.c213 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()
Dm_ife.c255 ife_type = rta_getattr_u16(tb[TCA_IFE_TYPE]); in print_ife()
283 rta_getattr_u16(metalist[IFE_META_TCINDEX]); in print_ife()
Dm_skbmod.c189 skbmod_etype = rta_getattr_u16(tb[TCA_SKBMOD_ETYPE]); in print_skbmod()
Dm_bpf.c177 rta_getattr_u16(tb[TCA_ACT_BPF_OPS_LEN])); in bpf_print_opt()
Df_bpf.c223 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/include/
Dlibnetlink.h160 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/
Dlink.c169 rta_getattr_u16(prtb[IFLA_BRPORT_PRIORITY])); in print_linkinfo()
215 print_hwmode(fp, rta_getattr_u16(aftb[IFLA_BRIDGE_MODE])); in print_linkinfo()

12