Home
last modified time | relevance | path

Searched refs:nla_put (Results 1 – 20 of 20) sorted by relevance

/external/libnl/lib/
Dattr.c493 int nla_put(struct nl_msg *msg, int attrtype, int datalen, const void *data) in nla_put() function
529 return nla_put(msg, attrtype, nl_data_get_size(data), in nla_put_data()
544 return nla_put(msg, attrtype, nl_addr_get_len(addr), in nla_put_addr()
565 return nla_put(msg, attrtype, sizeof(int8_t), &value); in nla_put_s8()
590 return nla_put(msg, attrtype, sizeof(uint8_t), &value); in nla_put_u8()
615 return nla_put(msg, attrtype, sizeof(int16_t), &value); in nla_put_s16()
640 return nla_put(msg, attrtype, sizeof(uint16_t), &value); in nla_put_u16()
665 return nla_put(msg, attrtype, sizeof(int32_t), &value); in nla_put_s32()
690 return nla_put(msg, attrtype, sizeof(uint32_t), &value); in nla_put_u32()
715 return nla_put(msg, attrtype, sizeof(int64_t), &value); in nla_put_s64()
[all …]
/external/iw/
Dbitrate.c385 nla_put(msg, NL80211_TXRATE_LEGACY, n_legacy_24, legacy_24); in set_bitrates()
387 nla_put(msg, NL80211_TXRATE_HT, n_ht_mcs_24, ht_mcs_24); in set_bitrates()
389 nla_put(msg, NL80211_TXRATE_VHT, sizeof(txrate_vht_24), &txrate_vht_24); in set_bitrates()
391 nla_put(msg, NL80211_TXRATE_HE, sizeof(txrate_he_24), in set_bitrates()
410 nla_put(msg, NL80211_TXRATE_LEGACY, n_legacy_5, legacy_5); in set_bitrates()
412 nla_put(msg, NL80211_TXRATE_HT, n_ht_mcs_5, ht_mcs_5); in set_bitrates()
414 nla_put(msg, NL80211_TXRATE_VHT, sizeof(txrate_vht_5), &txrate_vht_5); in set_bitrates()
416 nla_put(msg, NL80211_TXRATE_HE, sizeof(txrate_he_5), in set_bitrates()
434 nla_put(msg, NL80211_TXRATE_HE, sizeof(txrate_he_6), in set_bitrates()
Dnan.c243 err = nla_put(srf_attrs, NL80211_NAN_SRF_BF, srf_len, srf); in parse_srf()
261 nla_put(srf_attrs, ++i, ETH_ALEN, mac_addr); in parse_srf()
294 nla_put(func_attrs, ++i, strlen(cur_filt), cur_filt); in parse_match_filter()
296 nla_put(func_attrs, ++i, 0, NULL); in parse_match_filter()
441 nla_put(func_attrs, NL80211_NAN_FUNC_FOLLOW_UP_DEST, in handle_nan_add_func()
Dmesh.c39 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()
Dwowlan.c162 if (nla_put(msg, NL80211_WOWLAN_TCP_DATA_PAYLOAD_TOKEN, in wowlan_parse_tcp_file()
Dscan.c507 if (nla_put(msg, NL80211_ATTR_IE, ies_len + meshid_len, tmpies) < 0) in handle_scan()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c2388 nla_put(msg, NL80211_ATTR_FRAME_MATCH, match_len, match)) { in nl80211_register_frame()
3328 nla_put(msg, BRCM_VENDOR_ATTR_ACS_FREQ_LIST, in wpa_driver_do_broadcom_acs()
3384 nla_put(msg, NL80211_ATTR_VENDOR_DATA, key_len, key)) { in issue_key_mgmt_set_key()
3414 nla_put(msg, BRCM_ATTR_DRIVER_KEY_PMK, key_len, key)) { in key_mgmt_set_key()
3453 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr) || in nl80211_set_pmk()
3454 nla_put(msg, NL80211_ATTR_PMK, key_len, key)) { in nl80211_set_pmk()
3567 if (nla_put(key_msg, NL80211_KEY_DATA, key_len, key) || in wpa_driver_nl80211_set_key()
3573 if (nla_put(key_msg, NL80211_KEY_SEQ, seq_len, seq)) in wpa_driver_nl80211_set_key()
3582 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) in wpa_driver_nl80211_set_key()
3753 nla_put(msg, NL80211_KEY_SEQ, seq_len, seq)) || in nl_add_key()
[all …]
Ddriver_nl80211_scan.c201 if (nla_put(msg, i + 1, params->ssids[i].ssid_len, in nl80211_scan_common()
228 if (nla_put(msg, NL80211_ATTR_IE, params->extra_ies_len, in nl80211_scan_common()
276 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, in nl80211_scan_common()
284 if (nla_put(msg, NL80211_ATTR_MAC_MASK, ETH_ALEN, in nl80211_scan_common()
368 if (nla_put(msg, NL80211_BAND_2GHZ, 8, in wpa_driver_nl80211_scan()
380 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, params->bssid)) in wpa_driver_nl80211_scan()
565 nla_put(msg, NL80211_ATTR_SCHED_SCAN_MATCH_SSID, in wpa_driver_nl80211_sched_scan()
626 nla_put(msg, NL80211_ATTR_SCHED_SCAN_RSSI_ADJUST, in wpa_driver_nl80211_sched_scan()
1153 if (nla_put(msg, i + 1, params->ssids[i].ssid_len, in wpa_driver_nl80211_vendor_scan()
1163 if (nla_put(msg, QCA_WLAN_VENDOR_ATTR_SCAN_IE, in wpa_driver_nl80211_vendor_scan()
[all …]
/external/libnl/lib/netfilter/
Dlog.c40 if (nla_put(msg, NFULA_CFG_CMD, sizeof(cmd), &cmd) < 0) in build_log_cmd_request()
128 if (nla_put(msg, NFULA_CFG_MODE, sizeof(mode), &mode) < 0) in nfnl_log_build_request()
171 if (nla_put(*result, NFULA_CFG_CMD, sizeof(cmd), &cmd) < 0) in nfnl_log_build_create_request()
Dqueue.c62 if (nla_put(msg, NFQA_CFG_CMD, sizeof(cmd), &cmd) < 0) in build_queue_cmd_request()
142 if (nla_put(msg, NFQA_CFG_PARAMS, sizeof(params), &params) < 0) in nfnl_queue_build_request()
Dqueue_msg.c162 if (nla_put(nlmsg, NFQA_VERDICT_HDR, sizeof(verdict), &verdict) < 0) in __nfnl_queue_msg_build_verdict()
/external/libnl/include/netlink/
Dattr.h99 extern int nla_put(struct nl_msg *, int, int, const void *);
161 if (nla_put(msg, attrtype, attrlen, data) < 0) \
/external/libnl/lib/route/qdisc/
Dmqprio.c147 if (nla_put(msg, TCA_MQPRIO_MIN_RATE64, in mqprio_msg_fill()
161 if (nla_put(msg, TCA_MQPRIO_MAX_RATE64, in mqprio_msg_fill()
Dhtb.c208 return nla_put(msg, TCA_HTB_INIT, sizeof(opts), &opts); in htb_qdisc_msg_fill()
/external/wmediumd/wmediumd/
Dwmediumd.c740 if (nla_put(msg, HWSIM_ATTR_ADDR_TRANSMITTER, ETH_ALEN, in send_tx_info_frame_nl()
744 nla_put(msg, HWSIM_ATTR_TX_INFO, in send_tx_info_frame_nl()
784 if (nla_put(msg, HWSIM_ATTR_ADDR_RECEIVER, ETH_ALEN, in send_cloned_frame_msg()
786 nla_put(msg, HWSIM_ATTR_FRAME, data_len, data) || in send_cloned_frame_msg()
1047 err = nla_put(msg, NL80211_PMSR_PEER_ATTR_ADDR, ETH_ALEN, req->addr); in send_pmsr_result_peer()
1097 err = nla_put(msg, HWSIM_ATTR_ADDR_TRANSMITTER, in send_pmsr_result()
/external/libnl/
Dlibnl-3.sym269 nla_put;
/external/libnl/python/netlink/
Dcapi.i826 extern int nla_put(struct nl_msg *, int, int, const void *);
/external/libnl/lib/route/
Dlink.c830 err = nla_put(msg, IFLA_EXT_MASK, sizeof(ext_filter_mask), &ext_filter_mask); in link_request_update()
1394 _NL_RETURN_ON_PUT_ERR(nla_put(msg, IFLA_EXT_MASK, sizeof(vf_mask), &vf_mask)); in rtnl_link_build_get_request()
/external/libnl/doc/
Dcore.txt2003 int nla_put(struct nl_msg *msg, int attrtype, int attrlen, const void *data);
2006 The function nla_put() is based on 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/
Dsa.c1241 if (nla_put(msg, XFRMA_ALG_AUTH, len, auth) < 0) { in build_xfrm_sa_message()