Home
last modified time | relevance | path

Searched refs:nla_get_u16 (Results 1 – 25 of 33) sorted by relevance

12

/external/libnl/lib/netfilter/
Dct.c170 ntohs(nla_get_u16(tb[CTA_PROTO_SRC_PORT]))); in ct_parse_proto()
173 ntohs(nla_get_u16(tb[CTA_PROTO_DST_PORT]))); in ct_parse_proto()
178 ntohs(nla_get_u16(tb[CTA_PROTO_ICMP_ID]))); in ct_parse_proto()
188 ntohs(nla_get_u16(tb[CTA_PROTO_ICMPV6_ID]))); in ct_parse_proto()
365 nfnl_ct_set_zone(ct, ntohs(nla_get_u16(tb[CTA_ZONE]))); in nfnlmsg_ct_parse()
Dexp.c148 srcport = ntohs(nla_get_u16(tb[CTA_PROTO_SRC_PORT])); in exp_parse_proto()
150 dstport = ntohs(nla_get_u16(tb[CTA_PROTO_DST_PORT])); in exp_parse_proto()
155 icmpid = ntohs(nla_get_u16(tb[CTA_PROTO_ICMP_ID])); in exp_parse_proto()
282 nfnl_exp_set_zone(exp, ntohs(nla_get_u16(tb[CTA_EXPECT_ZONE]))); in nfnlmsg_exp_parse()
/external/iw/
Dinfo.c145 __u16 cap = nla_get_u16(tb_band[NL80211_BAND_ATTR_HT_CAPA]); in print_phy_handler()
246 nla_get_u16(tb_msg[NL80211_ATTR_MAX_SCAN_IE_LEN])); in print_phy_handler()
439 printf(" 0x%.2x", nla_get_u16(nl_ftype)); in print_phy_handler()
454 printf(" 0x%.2x", nla_get_u16(nl_ftype)); in print_phy_handler()
Devent.c503 else if (nla_get_u16(tb[NL80211_ATTR_STATUS_CODE]) == 0) in print_event()
506 status = nla_get_u16(tb[NL80211_ATTR_STATUS_CODE]); in print_event()
532 printf(" reason: %d: %s", nla_get_u16(tb[NL80211_ATTR_REASON_CODE]), in print_event()
533 get_reason_str(nla_get_u16(tb[NL80211_ATTR_REASON_CODE]))); in print_event()
Dmesh.c137 printf("%d", nla_get_u16(a)); in _print_u16()
142 printf("%d milliseconds", nla_get_u16(a)); in _print_u16_timeout()
147 printf("%d TUs", nla_get_u16(a)); in _print_u16_in_TUs()
Dstation.c68 rate = nla_get_u16(rinfo[NL80211_RATE_INFO_BITRATE]); in parse_bitrate()
242 nla_get_u16(sinfo[NL80211_STA_INFO_LLID])); in print_sta_handler()
245 nla_get_u16(sinfo[NL80211_STA_INFO_PLID])); in print_sta_handler()
Dlink.c193 nla_get_u16(binfo[NL80211_STA_BSS_PARAM_BEACON_INTERVAL])); in print_link_sta()
/external/libnl/lib/route/qdisc/
Ddsmark.c56 dsmark->qdm_indices = nla_get_u16(tb[TCA_DSMARK_INDICES]); in dsmark_qdisc_msg_parser()
62 nla_get_u16(tb[TCA_DSMARK_DEFAULT_INDEX]); in dsmark_qdisc_msg_parser()
Dmqprio.c72 mqprio->qm_mode = nla_get_u16(tb[TCA_MQPRIO_MODE]); in mqprio_msg_parser()
77 mqprio->qm_shaper = nla_get_u16(tb[TCA_MQPRIO_SHAPER]); in mqprio_msg_parser()
/external/libnl/lib/route/act/
Dvlan.c61 v->v_vid = nla_get_u16(tb[TCA_VLAN_PUSH_VLAN_ID]); in vlan_msg_parser()
66 v->v_proto = nla_get_u16(tb[TCA_VLAN_PUSH_VLAN_PROTOCOL]); in vlan_msg_parser()
Dskbedit.c55 u->s_queue_mapping = nla_get_u16(tb[TCA_SKBEDIT_QUEUE_MAPPING]); in skbedit_msg_parser()
/external/libnl/lib/route/
Dnexthop_encap.c72 uint16_t e_type = nla_get_u16(encap_type); in nh_encap_parse_msg()
/external/libnl/lib/genl/
Dctrl.c131 nla_get_u16(info->attrs[CTRL_ATTR_FAMILY_ID])); in ctrl_msg_parser()
214 genl_family_set_id(ret, nla_get_u16(tb[CTRL_ATTR_FAMILY_ID])); in probe_response()
/external/libnl/lib/route/link/
Dsit.c147 sit->flags = nla_get_u16(tb[IFLA_IPTUN_FLAGS]); in sit_parse()
168 sit->ip6rd_prefixlen = nla_get_u16(tb[IFLA_IPTUN_6RD_PREFIXLEN]); in sit_parse()
173 sit->ip6rd_relay_prefixlen = nla_get_u16(tb[IFLA_IPTUN_6RD_RELAY_PREFIXLEN]); in sit_parse()
Dipvlan.c85 ipi->ipi_mode = nla_get_u16(tb[IFLA_IPVLAN_MODE]); in ipvlan_parse()
Dvlan.c103 vi->vi_vlan_id = nla_get_u16(tb[IFLA_VLAN_ID]); in vlan_parse()
108 vi->vi_protocol = nla_get_u16(tb[IFLA_VLAN_PROTOCOL]); in vlan_parse()
Dipgre.c116 ipgre->iflags = nla_get_u16(tb[IFLA_GRE_IFLAGS]); in ipgre_parse()
121 ipgre->oflags = nla_get_u16(tb[IFLA_GRE_OFLAGS]); in ipgre_parse()
Dbridge.c160 bd->b_priority = nla_get_u16(br_attrs[IFLA_BRPORT_PRIORITY]); in bridge_parse_protinfo()
196 bd->b_hwmode = nla_get_u16(attr); in bridge_parse_af_full()
/external/libnl/include/netlink/
Dattr.h117 extern uint16_t nla_get_u16(const struct nlattr *);
/external/libnl/
Dlibnl-3.sym253 nla_get_u16;
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_event.c421 status_code = status ? nla_get_u16(status) : WLAN_STATUS_SUCCESS; in mlme_event_connect()
477 nla_get_u16(fils_erp_next_seq_num); in mlme_event_connect()
565 nla_get_u16(fils_erp_next_seq_num); in mlme_event_connect()
619 data.deauth_info.reason_code = nla_get_u16(reason); in mlme_event_disconnect()
1697 nla_get_u16(tb[NL80211_ATTR_REASON_CODE]); in nl80211_tdls_oper_event()
1883 nla_get_u16(tb[BRCM_VENDOR_ATTR_ACS_CHWIDTH]); in brcm_nl80211_acs_select_ch()
2112 nla_get_u16(tb[QCA_WLAN_VENDOR_ATTR_ACS_CHWIDTH]); in qca_nl80211_acs_select_ch()
2792 ethertype = nla_get_u16(tb[NL80211_ATTR_CONTROL_PORT_ETHERTYPE]); in nl80211_control_port_frame()
Ddriver_nl80211_capa.c1484 mode->ht_capab = nla_get_u16(capa); in phy_info_ht_capa()
1653 cw2ecw(nla_get_u16( in phy_info_freq()
1656 cw2ecw(nla_get_u16( in phy_info_freq()
1661 nla_get_u16(tb_wmm[NL80211_WMMR_TXOP]) / 32; in phy_info_freq()
1847 capa = nla_get_u16(tb[NL80211_BAND_IFTYPE_ATTR_HE_6GHZ_CAPA]); in phy_info_iftype_copy()
Ddriver_nl80211_scan.c760 r->beacon_int = nla_get_u16(bss[NL80211_BSS_BEACON_INTERVAL]); in nl80211_parse_bss_info()
762 r->caps = nla_get_u16(bss[NL80211_BSS_CAPABILITY]); in nl80211_parse_bss_info()
/external/autotest/client/deps/iwcap/src/
Diwcap.c319 unsigned short caps = nla_get_u16(tb_band[NL80211_BAND_ATTR_HT_CAPA]); in check_phy_handler()
/external/libnl/lib/
Dattr.c657 uint16_t nla_get_u16(const struct nlattr *nla) in nla_get_u16() function

12