/external/libnl/lib/ |
D | attr.c | 460 void *nla_data(const struct nlattr *nla) in nla_data() function 556 char *data = nla_data(nla); in validate_nla() 703 memcpy(dest, nla_data(src), minlen); in nla_memcpy() 723 char *src = nla_data(nla); in nla_strlcpy() 752 d = memcmp(nla_data(nla), data, size); in nla_memcmp() 771 d = memcmp(nla_data(nla), str, len); in nla_strcmp() 845 memcpy(nla_data(nla), data, datalen); in nla_put() 913 return *(uint8_t *) nla_data(nla); in nla_get_u8() 938 return *(uint16_t *) nla_data(nla); in nla_get_u16() 963 return *(uint32_t *) nla_data(nla); in nla_get_u32() [all …]
|
D | data.c | 74 return nl_data_alloc(nla_data(nla), nla_len(nla)); in nl_data_alloc_attr()
|
D | msg.c | 940 dump_attrs(ofd, nla_data(nla), alen, prefix+1); in dump_attrs() 942 dump_hex(ofd, nla_data(nla), alen, prefix); in dump_attrs() 949 dump_hex(ofd, nla_data(nla) + alen, in dump_attrs()
|
/external/iw/ |
D | event.c | 55 frame = nla_data(attr); in print_frame() 149 mac_addr_n2a(buf, nla_data(attrs[NL80211_ATTR_MAC])); in parse_cqm_event() 183 mac_addr_n2a(addr, nla_data(attrs[NL80211_ATTR_MAC])); in parse_mic_failure() 189 unsigned char *seq = nla_data(attrs[NL80211_ATTR_KEY_SEQ]); in parse_mic_failure() 219 nla_data(attrs[NL80211_ATTR_WOWLAN_TRIGGERS]), in parse_wowlan_wake_event() 245 nla_parse(tb_match, NUM_NL80211_ATTR, nla_data(match), in parse_wowlan_wake_event() 250 nla_data(tb_match[NL80211_ATTR_SSID])); in parse_wowlan_wake_event() 263 uint8_t *d = nla_data(tb[NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211]); in parse_wowlan_wake_event() 275 uint8_t *d = nla_data(tb[NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023]); in parse_wowlan_wake_event() 362 print_ssid_escaped(nla_len(nst), nla_data(nst)); in print_event() [all …]
|
D | info.c | 141 nla_parse(tb_band, NL80211_BAND_ATTR_MAX, nla_data(nl_band), in print_phy_handler() 158 print_ht_mcs(nla_data(tb_band[NL80211_BAND_ATTR_HT_MCS_SET])); in print_phy_handler() 162 nla_data(tb_band[NL80211_BAND_ATTR_VHT_MCS_SET])); in print_phy_handler() 171 nla_parse(tb_freq, NL80211_FREQUENCY_ATTR_MAX, nla_data(nl_freq), in print_phy_handler() 225 nla_parse(tb_rate, NL80211_BITRATE_ATTR_MAX, nla_data(nl_rate), in print_phy_handler() 297 __u32 *ciphers = nla_data(tb_msg[NL80211_ATTR_CIPHER_SUITES]); in print_phy_handler() 497 pat = nla_data(tb_wowlan[NL80211_WOWLAN_TRIG_PKT_PATTERN]); in print_phy_handler() 532 cm = nla_data(tb_msg[NL80211_ATTR_HT_CAPABILITY_MASK]); in print_phy_handler() 619 if (ext_feature_isset(nla_data(tb), nla_len(tb), in print_phy_handler() 632 rule = nla_data(tb_msg[NL80211_ATTR_COALESCE_RULE]); in print_phy_handler()
|
D | wowlan.c | 366 nla_data(attrs[NL80211_ATTR_WOWLAN_TRIGGERS]), in print_wowlan_handler() 392 nla_data(trig[NL80211_WOWLAN_TRIG_NET_DETECT]), in print_wowlan_handler() 408 nla_parse(tb, NUM_NL80211_ATTR, nla_data(match), in print_wowlan_handler() 414 nla_data(tb[NL80211_SCHED_SCAN_MATCH_ATTR_SSID])); in print_wowlan_handler() 436 nla_data(pattern), nla_len(pattern), NULL); in print_wowlan_handler() 454 pat = nla_data(patattr[NL80211_PKTPAT_PATTERN]); in print_wowlan_handler() 455 mask = nla_data(patattr[NL80211_PKTPAT_MASK]); in print_wowlan_handler()
|
D | coalesce.c | 221 nla_data(rule), nla_len(rule), NULL); in print_coalesce_handler() 242 nla_data(pattern), nla_len(pattern), in print_coalesce_handler() 259 pat = nla_data(patattr[NL80211_PKTPAT_PATTERN]); in print_coalesce_handler() 260 mask = nla_data(patattr[NL80211_PKTPAT_MASK]); in print_coalesce_handler()
|
D | mpp.c | 31 mac_addr_n2a(dst, nla_data(tb[NL80211_ATTR_MAC])); in print_mpp_handler() 32 mac_addr_n2a(next_hop, nla_data(tb[NL80211_ATTR_MPATH_NEXT_HOP])); in print_mpp_handler()
|
D | genl.c | 53 nla_data(mcgrp), nla_len(mcgrp), NULL); in family_handler() 58 if (strncmp(nla_data(tb_mcgrp[CTRL_ATTR_MCAST_GRP_NAME]), in family_handler()
|
D | link.c | 63 mac_addr_n2a(mac_addr, nla_data(bss[NL80211_BSS_BSSID])); in link_bss_handler() 83 print_ies(nla_data(bss[NL80211_BSS_INFORMATION_ELEMENTS]), in link_bss_handler() 96 memcpy(result->bssid, nla_data(bss[NL80211_BSS_BSSID]), 6); in link_bss_handler()
|
D | mpath.c | 63 mac_addr_n2a(dst, nla_data(tb[NL80211_ATTR_MAC])); in print_mpath_handler() 64 mac_addr_n2a(next_hop, nla_data(tb[NL80211_ATTR_MPATH_NEXT_HOP])); in print_mpath_handler()
|
D | reg.c | 164 alpha2 = nla_data(tb_msg[NL80211_ATTR_REG_ALPHA2]); in print_reg_handler() 171 …nla_parse(tb_rule, NL80211_REG_RULE_ATTR_MAX, nla_data(nl_rule), nla_len(nl_rule), reg_rule_policy… in print_reg_handler()
|
D | hwsim.c | 47 nla_parse(tb, HWSIM_TM_ATTR_MAX, nla_data(attrs[NL80211_ATTR_TESTDATA]), in print_hwsim_ps_handler()
|
D | interface.c | 335 mac_addr_n2a(mac_addr, nla_data(tb_msg[NL80211_ATTR_MAC])); in print_iface_handler() 341 nla_data(tb_msg[NL80211_ATTR_SSID])); in print_iface_handler()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_event.c | 303 event.assoc_reject.bssid = nla_data(addr); in mlme_event_connect() 321 event.assoc_reject.resp_ies = nla_data(resp_ie); in mlme_event_connect() 331 os_memcpy(drv->bssid, nla_data(addr), ETH_ALEN); in mlme_event_connect() 336 event.assoc_info.req_ies = nla_data(req_ie); in mlme_event_connect() 350 event.assoc_info.resp_ies = nla_data(resp_ie); in mlme_event_connect() 361 event.assoc_info.key_replay_ctr = nla_data(key_replay_ctr); in mlme_event_connect() 365 event.assoc_info.ptk_kck = nla_data(ptk_kck); in mlme_event_connect() 369 event.assoc_info.ptk_kek = nla_data(ptk_kek); in mlme_event_connect() 532 cmd, MAC2STR((u8 *) nla_data(addr))); in mlme_timeout_event() 542 os_memcpy(event.timeout_event.addr, nla_data(addr), ETH_ALEN); in mlme_timeout_event() [all …]
|
D | driver_nl80211_capa.c | 265 ciphers = nla_data(tb); in wiphy_info_cipher_suites() 359 if (ext_feature_isset(nla_data(tb), nla_len(tb), in wiphy_info_ext_feature_flags() 568 nla_data(tb[NL80211_ATTR_EXT_CAPA]), in wiphy_info_handler() 577 nla_data(tb[NL80211_ATTR_EXT_CAPA_MASK]), in wiphy_info_handler() 596 vinfo = nla_data(nl); in wiphy_info_handler() 647 vinfo = nla_data(nl); in wiphy_info_handler() 759 nla_data(nl_vend), nla_len(nl_vend), NULL); in dfs_info_handler() 819 nla_data(nl_vend), nla_len(nl_vend), NULL); in features_info_handler() 823 info->flags = nla_data(attr); in features_info_handler() 1013 mcs = nla_data(mcs_set); in phy_info_ht_capa() [all …]
|
D | driver_nl80211_scan.c | 619 nla_data(bss[NL80211_BSS_BSSID]), ETH_ALEN); in bss_info_handler() 627 ie = nla_data(bss[NL80211_BSS_INFORMATION_ELEMENTS]); in bss_info_handler() 634 beacon_ie = nla_data(bss[NL80211_BSS_BEACON_IES]); in bss_info_handler() 649 os_memcpy(r->bssid, nla_data(bss[NL80211_BSS_BSSID]), in bss_info_handler() 901 nla_data(nl_vendor), nla_len(nl_vendor), NULL); in scan_cookie_handler()
|
/external/libnl/lib/netfilter/ |
D | log_msg.c | 87 struct nfulnl_msg_packet_hdr *hdr = nla_data(attr); in nfnlmsg_log_msg_parse() 100 struct nfulnl_msg_packet_timestamp *timestamp = nla_data(attr); in nfnlmsg_log_msg_parse() 126 struct nfulnl_msg_packet_hw *hw = nla_data(attr); in nfnlmsg_log_msg_parse() 133 err = nfnl_log_msg_set_payload(msg, nla_data(attr), nla_len(attr)); in nfnlmsg_log_msg_parse() 140 err = nfnl_log_msg_set_prefix(msg, nla_data(attr)); in nfnlmsg_log_msg_parse()
|
D | queue_msg.c | 86 struct nfqnl_msg_packet_hdr *hdr = nla_data(attr); in nfnlmsg_queue_msg_parse() 100 struct nfqnl_msg_packet_timestamp *timestamp = nla_data(attr); in nfnlmsg_queue_msg_parse() 126 struct nfqnl_msg_packet_hw *hw = nla_data(attr); in nfnlmsg_queue_msg_parse() 134 err = nfnl_queue_msg_set_payload(msg, nla_data(attr), in nfnlmsg_queue_msg_parse()
|
/external/libnl/lib/route/cls/ |
D | ematch.c | 274 thdr = nla_data(tb[TCA_EMATCH_TREE_HDR]); in rtnl_ematch_parse() 312 hdr = nla_data(a); in rtnl_ematch_parse() 313 data = nla_data(a) + NLA_ALIGN(sizeof(*hdr)); in rtnl_ematch_parse()
|
/external/libnl/lib/route/ |
D | tc.c | 102 bs = nla_data(tbs[TCA_STATS_BASIC]); in tca_msg_parser() 110 re = nla_data(tbs[TCA_STATS_RATE_EST]); in tca_msg_parser() 118 q = nla_data(tbs[TCA_STATS_QUEUE]); in tca_msg_parser() 136 struct tc_stats *st = nla_data(tb[TCA_STATS]); in tca_msg_parser()
|
/external/libnl/include/netlink/ |
D | attr.h | 78 extern void * nla_data(const struct nlattr *); 273 for (pos = nla_data(nla), rem = nla_len(nla); \
|
/external/autotest/client/deps/iwcap/src/ |
D | iwcap.c | 315 nla_parse(tb_band, NL80211_BAND_ATTR_MAX, nla_data(nl_band), in check_phy_handler() 342 unsigned char *mcs = nla_data(tb_band[NL80211_BAND_ATTR_HT_MCS_SET]); in check_phy_handler() 352 nla_data(nl_freq), nla_len(nl_freq), in check_phy_handler() 376 nla_parse(tb_rate, NL80211_BITRATE_ATTR_MAX, nla_data(nl_rate), in check_phy_handler()
|
/external/libnl/lib/route/sch/ |
D | red.c | 75 opts = nla_data(tb[TCA_RED_PARMS]); in red_msg_parser()
|
/external/libnl/lib/route/link/ |
D | vlan.c | 124 map = nla_data(nla); in vlan_parse() 154 map = nla_data(nla); in vlan_parse()
|