Home
last modified time | relevance | path

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

/external/libnl/lib/netfilter/
Dct.c187 ntohs(nla_get_u16(tb[CTA_PROTO_SRC_PORT]))); in ct_parse_proto()
190 ntohs(nla_get_u16(tb[CTA_PROTO_DST_PORT]))); in ct_parse_proto()
195 ntohs(nla_get_u16(tb[CTA_PROTO_ICMP_ID]))); in ct_parse_proto()
205 ntohs(nla_get_u16(tb[CTA_PROTO_ICMPV6_ID]))); in ct_parse_proto()
382 nfnl_ct_set_zone(ct, ntohs(nla_get_u16(tb[CTA_ZONE]))); in nfnlmsg_ct_parse()
Dexp.c147 srcport = ntohs(nla_get_u16(tb[CTA_PROTO_SRC_PORT])); in exp_parse_proto()
149 dstport = ntohs(nla_get_u16(tb[CTA_PROTO_DST_PORT])); in exp_parse_proto()
154 icmpid = ntohs(nla_get_u16(tb[CTA_PROTO_ICMP_ID])); in exp_parse_proto()
281 nfnl_exp_set_zone(exp, ntohs(nla_get_u16(tb[CTA_EXPECT_ZONE]))); in nfnlmsg_exp_parse()
/external/iw/
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()
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()
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()
Dscan.c1929 nla_get_u16(bss[NL80211_BSS_BEACON_INTERVAL])); in print_bss_handler()
1931 __u16 capa = nla_get_u16(bss[NL80211_BSS_CAPABILITY]); in print_bss_handler()
/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()
/external/libnl/lib/genl/
Dctrl.c130 nla_get_u16(info->attrs[CTRL_ATTR_FAMILY_ID])); in ctrl_msg_parser()
213 genl_family_set_id(ret, nla_get_u16(tb[CTRL_ATTR_FAMILY_ID])); in probe_response()
/external/libnl/lib/route/link/
Dvlan.c96 vi->vi_vlan_id = nla_get_u16(tb[IFLA_VLAN_ID]); in vlan_parse()
101 vi->vi_protocol = nla_get_u16(tb[IFLA_VLAN_PROTOCOL]); in vlan_parse()
Dipgre.c111 ipgre->iflags = nla_get_u16(tb[IFLA_GRE_IFLAGS]); in ipgre_parse()
116 ipgre->oflags = nla_get_u16(tb[IFLA_GRE_OFLAGS]); in ipgre_parse()
Dmacvlan.c89 mvi->mvi_mode = nla_get_u16(tb[IFLA_MACVLAN_FLAGS]); in macvlan_parse()
Dbridge.c127 bd->b_priority = nla_get_u16(br_attrs[IFLA_BRPORT_PRIORITY]); in bridge_parse_protinfo()
Dsit.c130 sit->flags = nla_get_u16(tb[IFLA_IPTUN_FLAGS]); in sit_parse()
/external/libnl/include/netlink/
Dattr.h103 extern uint16_t nla_get_u16(struct nlattr *);
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_event.c309 status_code = status ? nla_get_u16(status) : WLAN_STATUS_SUCCESS; in mlme_event_connect()
365 nla_get_u16(fils_erp_next_seq_num); in mlme_event_connect()
441 nla_get_u16(fils_erp_next_seq_num); in mlme_event_connect()
488 data.deauth_info.reason_code = nla_get_u16(reason); in mlme_event_disconnect()
1477 nla_get_u16(tb[NL80211_ATTR_REASON_CODE]); in nl80211_tdls_oper_event()
1715 nla_get_u16(tb[QCA_WLAN_VENDOR_ATTR_ACS_CHWIDTH]); in qca_nl80211_acs_select_ch()
Ddriver_nl80211_scan.c742 r->beacon_int = nla_get_u16(bss[NL80211_BSS_BEACON_INTERVAL]); in nl80211_parse_bss_info()
744 r->caps = nla_get_u16(bss[NL80211_BSS_CAPABILITY]); in nl80211_parse_bss_info()
Ddriver_nl80211_capa.c1241 mode->ht_capab = nla_get_u16(capa); in phy_info_ht_capa()
Ddriver_nl80211.c1387 nla_get_u16(rinfo[ in get_link_signal()
6013 nla_get_u16(rate[NL80211_RATE_INFO_BITRATE]); in get_sta_handler()
6042 nla_get_u16(rate[NL80211_RATE_INFO_BITRATE]); in get_sta_handler()
/external/libnl/lib/
Dattr.c605 uint16_t nla_get_u16(struct nlattr *nla) in nla_get_u16() function
/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/python/netlink/
Dcapi.i814 extern uint16_t nla_get_u16(struct nlattr *);
/external/libnl/doc/
Dcore.txt2109 uint16_t nla_get_u16(struct nlattr *hdr);