/external/libnl/lib/ |
D | attr.c | 501 int nla_put(struct nl_msg *msg, int attrtype, int datalen, const void *data) in nla_put() function 537 return nla_put(msg, attrtype, nl_data_get_size(data), in nla_put_data() 552 return nla_put(msg, attrtype, nl_addr_get_len(addr), in nla_put_addr() 573 return nla_put(msg, attrtype, sizeof(int8_t), &value); in nla_put_s8() 598 return nla_put(msg, attrtype, sizeof(uint8_t), &value); in nla_put_u8() 623 return nla_put(msg, attrtype, sizeof(int16_t), &value); in nla_put_s16() 648 return nla_put(msg, attrtype, sizeof(uint16_t), &value); in nla_put_u16() 673 return nla_put(msg, attrtype, sizeof(int32_t), &value); in nla_put_s32() 698 return nla_put(msg, attrtype, sizeof(uint32_t), &value); in nla_put_u32() 723 return nla_put(msg, attrtype, sizeof(int64_t), &value); in nla_put_s64() [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 | 72 if (nla_put(msg, IFA_LOCAL, addr_size, address) < 0) { in add_address() 78 if (nla_put(msg, IFA_ADDRESS, addr_size, address) < 0) { in add_address() 84 if (nla_put(msg, IFA_BROADCAST, addr_size, broadcast) < 0) { in add_address() 125 if (nla_put(msg, IFLA_MTU, 4, &mtu) < 0) { in if_up()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211.c | 1625 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, drv->bssid)) { in nl80211_get_link_signal() 2282 nla_put(msg, NL80211_ATTR_FRAME_MATCH, match_len, match)) { in nl80211_register_frame() 3223 if ((freq_list_len > 0) && (nla_put(msg, BRCM_VENDOR_ATTR_ACS_FREQ_LIST, in wpa_driver_do_broadcom_acs() 3260 nla_put(msg, NL80211_ATTR_VENDOR_DATA, key_len, key)) { in issue_key_mgmt_set_key() 3290 nla_put(msg, BRCM_ATTR_DRIVER_KEY_PMK, key_len, key)) { in key_mgmt_set_key() 3328 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr) || in nl80211_set_pmk() 3329 nla_put(msg, NL80211_ATTR_PMK, key_len, key)) { in nl80211_set_pmk() 3439 if (nla_put(key_msg, NL80211_KEY_DATA, key_len, key) || in wpa_driver_nl80211_set_key() 3445 if (nla_put(key_msg, NL80211_KEY_SEQ, seq_len, seq)) in wpa_driver_nl80211_set_key() 3454 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) in wpa_driver_nl80211_set_key() [all …]
|
D | driver_nl80211_scan.c | 201 if (nla_put(msg, i + 1, params->ssids[i].ssid_len, in nl80211_scan_common() 213 if (nla_put(msg, NL80211_ATTR_IE, params->extra_ies_len, in nl80211_scan_common() 261 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, in nl80211_scan_common() 269 if (nla_put(msg, NL80211_ATTR_MAC_MASK, ETH_ALEN, in nl80211_scan_common() 353 if (nla_put(msg, NL80211_BAND_2GHZ, 8, in wpa_driver_nl80211_scan() 365 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, params->bssid)) in wpa_driver_nl80211_scan() 550 nla_put(msg, NL80211_ATTR_SCHED_SCAN_MATCH_SSID, in wpa_driver_nl80211_sched_scan() 611 nla_put(msg, NL80211_ATTR_SCHED_SCAN_RSSI_ADJUST, in wpa_driver_nl80211_sched_scan() 1122 if (nla_put(msg, i + 1, params->ssids[i].ssid_len, in wpa_driver_nl80211_vendor_scan() 1132 if (nla_put(msg, QCA_WLAN_VENDOR_ATTR_SCAN_IE, in wpa_driver_nl80211_vendor_scan() [all …]
|
/external/libnl/lib/netfilter/ |
D | log.c | 47 if (nla_put(msg, NFULA_CFG_CMD, sizeof(cmd), &cmd) < 0) in build_log_cmd_request() 135 if (nla_put(msg, NFULA_CFG_MODE, sizeof(mode), &mode) < 0) in nfnl_log_build_request() 173 if (nla_put(*result, NFULA_CFG_CMD, sizeof(cmd), &cmd) < 0) in nfnl_log_build_create_request()
|
D | queue.c | 69 if (nla_put(msg, NFQA_CFG_CMD, sizeof(cmd), &cmd) < 0) in build_queue_cmd_request() 149 if (nla_put(msg, NFQA_CFG_PARAMS, sizeof(params), ¶ms) < 0) in nfnl_queue_build_request()
|
D | queue_msg.c | 169 if (nla_put(nlmsg, NFQA_VERDICT_HDR, sizeof(verdict), &verdict) < 0) in __nfnl_queue_msg_build_verdict()
|
/external/libnl/include/netlink/ |
D | attr.h | 105 extern int nla_put(struct nl_msg *, int, int, const void *); 167 if (nla_put(msg, attrtype, attrlen, data) < 0) \
|
/external/libnl/lib/route/qdisc/ |
D | mqprio.c | 153 if (nla_put(msg, TCA_MQPRIO_MIN_RATE64, in mqprio_msg_fill() 167 if (nla_put(msg, TCA_MQPRIO_MAX_RATE64, in mqprio_msg_fill()
|
D | htb.c | 214 return nla_put(msg, TCA_HTB_INIT, sizeof(opts), &opts); in htb_qdisc_msg_fill()
|
/external/libnl/ |
D | libnl-3.sym | 269 nla_put;
|
/external/libnl/python/netlink/ |
D | capi.i | 826 extern int nla_put(struct nl_msg *, int, int, const void *);
|
/external/libnl/lib/route/ |
D | link.c | 826 err = nla_put(msg, IFLA_EXT_MASK, sizeof(ext_filter_mask), &ext_filter_mask); in link_request_update() 1398 err = nla_put(msg, IFLA_EXT_MASK, sizeof(vf_mask), &vf_mask); in rtnl_link_build_get_request()
|
/external/libnl/doc/ |
D | core.txt | 2003 int nla_put(struct nl_msg *msg, int attrtype, int attrlen, const void *data); 2006 The function nla_put() is base don nla_reserve() but takes an additional 2026 return nla_put(msg, ATTR_MY_STRUCT, sizeof(obj), &obj); 2336 Use the function nla_get() and nla_put() to access the payload and
|
/external/libnl/lib/xfrm/ |
D | sa.c | 1199 if (nla_put(msg, XFRMA_ALG_AUTH, len, auth) < 0) { in build_xfrm_sa_message()
|