/third_party/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 …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
D | driver_nl80211.c | 1485 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, drv->bssid)) { in nl80211_get_link_signal() 2105 nla_put(msg, NL80211_ATTR_FRAME_MATCH, match_len, match)) { in nl80211_register_frame() 2955 nla_put(msg, NL80211_ATTR_VENDOR_DATA, key_len, key)) { in issue_key_mgmt_set_key() 2993 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr) || in nl80211_set_pmk() 2994 nla_put(msg, NL80211_ATTR_PMK, key_len, key)) { in nl80211_set_pmk() 3064 nla_put(msg, NL80211_ATTR_KEY_DATA, key_len, key) || in wpa_driver_nl80211_set_key() 3071 if (nla_put(msg, NL80211_ATTR_KEY_SEQ, seq_len, seq)) in wpa_driver_nl80211_set_key() 3078 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) in wpa_driver_nl80211_set_key() 3187 nla_put(msg, NL80211_KEY_SEQ, seq_len, seq)) || in nl_add_key() 3188 nla_put(msg, NL80211_KEY_DATA, key_len, key)) in nl_add_key() [all …]
|
D | driver_nl80211_scan.c | 203 if (nla_put(msg, i + 1, params->ssids[i].ssid_len, in nl80211_scan_common() 215 if (nla_put(msg, NL80211_ATTR_IE, params->extra_ies_len, in nl80211_scan_common() 258 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, in nl80211_scan_common() 266 if (nla_put(msg, NL80211_ATTR_MAC_MASK, ETH_ALEN, in nl80211_scan_common() 350 if (nla_put(msg, NL80211_BAND_2GHZ, 8, in wpa_driver_nl80211_scan() 362 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, params->bssid)) in wpa_driver_nl80211_scan() 547 nla_put(msg, NL80211_ATTR_SCHED_SCAN_MATCH_SSID, in wpa_driver_nl80211_sched_scan() 608 nla_put(msg, NL80211_ATTR_SCHED_SCAN_RSSI_ADJUST, in wpa_driver_nl80211_sched_scan() 1104 if (nla_put(msg, i + 1, params->ssids[i].ssid_len, in wpa_driver_nl80211_vendor_scan() 1114 if (nla_put(msg, QCA_WLAN_VENDOR_ATTR_SCAN_IE, in wpa_driver_nl80211_vendor_scan() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
D | driver_nl80211.c | 1643 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, drv->bssid)) { in nl80211_get_link_signal() 2307 nla_put(msg, NL80211_ATTR_FRAME_MATCH, match_len, match)) { in nl80211_register_frame() 3202 nla_put(msg, NL80211_ATTR_VENDOR_DATA, key_len, key)) { in issue_key_mgmt_set_key() 3240 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr) || in nl80211_set_pmk() 3241 nla_put(msg, NL80211_ATTR_PMK, key_len, key)) { in nl80211_set_pmk() 3345 if (nla_put(key_msg, NL80211_KEY_DATA, key_len, key) || in wpa_driver_nl80211_set_key() 3351 if (nla_put(key_msg, NL80211_KEY_SEQ, seq_len, seq)) in wpa_driver_nl80211_set_key() 3360 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) in wpa_driver_nl80211_set_key() 3518 nla_put(msg, NL80211_KEY_SEQ, seq_len, seq)) || in nl_add_key() 3519 nla_put(msg, NL80211_KEY_DATA, key_len, key)) in nl_add_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 …]
|
/third_party/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()
|
/third_party/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) \
|
/third_party/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()
|
/third_party/libnl/ |
D | libnl-3.sym | 269 nla_put;
|
/third_party/libnl/python/netlink/ |
D | capi.i | 826 extern int nla_put(struct nl_msg *, int, int, const void *);
|
/third_party/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()
|
/third_party/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
|
/third_party/libnl/lib/xfrm/ |
D | sa.c | 1199 if (nla_put(msg, XFRMA_ALG_AUTH, len, auth) < 0) { in build_xfrm_sa_message()
|