/external/libnl/lib/ |
D | attr.c | 837 int nla_put(struct nl_msg *msg, int attrtype, int datalen, const void *data) in nla_put() function 866 return nla_put(msg, attrtype, nl_data_get_size(data), in nla_put_data() 881 return nla_put(msg, attrtype, nl_addr_get_len(addr), in nla_put_addr() 902 return nla_put(msg, attrtype, sizeof(uint8_t), &value); in nla_put_u8() 927 return nla_put(msg, attrtype, sizeof(uint16_t), &value); in nla_put_u16() 952 return nla_put(msg, attrtype, sizeof(uint32_t), &value); in nla_put_u32() 977 return nla_put(msg, attrtype, sizeof(uint64_t), &value); in nla_put_u64() 1012 return nla_put(msg, attrtype, strlen(str) + 1, str); in nla_put_string() 1047 return nla_put(msg, attrtype, 0, NULL); in nla_put_flag() 1110 return nla_put(msg, attrtype, nlmsg_len(nested->nm_nlh), in nla_put_nested() [all …]
|
/external/iw/ |
D | bitrate.c | 226 nla_put(msg, NL80211_TXRATE_LEGACY, n_legacy_24, legacy_24); in handle_bitrates() 228 nla_put(msg, NL80211_TXRATE_HT, n_ht_mcs_24, ht_mcs_24); in handle_bitrates() 230 nla_put(msg, NL80211_TXRATE_VHT, sizeof(txrate_vht_24), &txrate_vht_24); in handle_bitrates() 243 nla_put(msg, NL80211_TXRATE_LEGACY, n_legacy_5, legacy_5); in handle_bitrates() 245 nla_put(msg, NL80211_TXRATE_HT, n_ht_mcs_5, ht_mcs_5); in handle_bitrates() 247 nla_put(msg, NL80211_TXRATE_VHT, sizeof(txrate_vht_5), &txrate_vht_5); in handle_bitrates()
|
D | mesh.c | 39 return nla_put(n, mesh_param_num, sizeof(uint8_t), &value->u.as_8); in _my_nla_put_u8() 44 return nla_put(n, mesh_param_num, sizeof(uint16_t), &value->u.as_16); in _my_nla_put_u16() 49 return nla_put(n, mesh_param_num, sizeof(uint32_t), &value->u.as_32); in _my_nla_put_u32()
|
/external/android-clat/ |
D | setif.c | 66 if(nla_put(msg, IFA_LOCAL, addr_size, address) < 0) { in add_address() 72 if(nla_put(msg, IFA_ADDRESS, addr_size, address) < 0) { in add_address() 78 if(nla_put(msg, IFA_BROADCAST, addr_size, broadcast) < 0) { in add_address() 120 if(nla_put(msg, IFLA_MTU, 4, &mtu) < 0) { in if_up()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_scan.c | 140 if (nla_put(msg, i + 1, params->ssids[i].ssid_len, in nl80211_scan_common() 152 if (nla_put(msg, NL80211_ATTR_IE, params->extra_ies_len, in nl80211_scan_common() 195 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, in nl80211_scan_common() 203 if (nla_put(msg, NL80211_ATTR_MAC_MASK, ETH_ALEN, in nl80211_scan_common() 259 if (nla_put(msg, NL80211_BAND_2GHZ, 8, in wpa_driver_nl80211_scan() 271 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, params->bssid)) in wpa_driver_nl80211_scan() 456 nla_put(msg, NL80211_ATTR_SCHED_SCAN_MATCH_SSID, in wpa_driver_nl80211_sched_scan() 952 if (nla_put(msg, i + 1, params->ssids[i].ssid_len, in wpa_driver_nl80211_vendor_scan() 962 if (nla_put(msg, QCA_WLAN_VENDOR_ATTR_SCAN_IE, in wpa_driver_nl80211_vendor_scan() 1003 if (nla_put(msg, QCA_WLAN_VENDOR_ATTR_SCAN_MAC, in wpa_driver_nl80211_vendor_scan() [all …]
|
D | driver_nl80211.c | 1274 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, drv->bssid)) { in nl80211_get_link_signal() 1831 nla_put(msg, NL80211_ATTR_FRAME_MATCH, match_len, match)) { in nl80211_register_frame() 2617 nla_put(msg, NL80211_ATTR_VENDOR_DATA, key_len, key)) { in issue_key_mgmt_set_key() 2684 nla_put(msg, NL80211_ATTR_KEY_DATA, key_len, key) || in wpa_driver_nl80211_set_key() 2691 if (nla_put(msg, NL80211_ATTR_KEY_SEQ, seq_len, seq)) in wpa_driver_nl80211_set_key() 2698 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) in wpa_driver_nl80211_set_key() 2807 nla_put(msg, NL80211_KEY_SEQ, seq_len, seq)) || in nl_add_key() 2808 nla_put(msg, NL80211_KEY_DATA, key_len, key)) in nl_add_key() 2851 nla_put(msg, NL80211_KEY_DATA, params->wep_key_len[i], in nl80211_set_conn_keys() 2879 (addr && nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) || in wpa_driver_nl80211_mlme() [all …]
|
/external/libnl/lib/netfilter/ |
D | log.c | 46 if (nla_put(msg, NFULA_CFG_CMD, sizeof(cmd), &cmd) < 0) in build_log_cmd_request() 134 if (nla_put(msg, NFULA_CFG_MODE, sizeof(mode), &mode) < 0) in nfnl_log_build_request() 172 if (nla_put(*result, NFULA_CFG_CMD, sizeof(cmd), &cmd) < 0) in nfnl_log_build_create_request()
|
D | queue.c | 68 if (nla_put(msg, NFQA_CFG_CMD, sizeof(cmd), &cmd) < 0) in build_queue_cmd_request() 148 if (nla_put(msg, NFQA_CFG_PARAMS, sizeof(params), ¶ms) < 0) in nfnl_queue_build_request()
|
D | queue_msg.c | 178 if (nla_put(nlmsg, NFQA_VERDICT_HDR, sizeof(verdict), &verdict) < 0) in nfnl_queue_msg_build_verdict()
|
/external/libnl/include/netlink/ |
D | attr.h | 96 extern int nla_put(struct nl_msg *, int, int, const void *); 145 if (nla_put(msg, attrtype, attrlen, data) < 0) \
|
/external/libnl/lib/route/sch/ |
D | htb.c | 250 nla_put(msg, TCA_HTB_INIT, sizeof(opts), &opts); in htb_qdisc_get_opts() 333 nla_put(msg, TCA_HTB_PARMS, sizeof(opts), &opts); in htb_class_get_opts() 338 nla_put(msg, TCA_HTB_RTAB, sizeof(rtable), &rtable); in htb_class_get_opts() 343 nla_put(msg, TCA_HTB_CTAB, sizeof(ctable), &ctable); in htb_class_get_opts()
|