Lines Matching refs:attr

169 	struct nlattr *attr;  in wlan_cfg80211_coap_offload_reply_enable()  local
185 attr = tb[COAP_ATTR(REPLY_SRC_IPV4)]; in wlan_cfg80211_coap_offload_reply_enable()
186 if (!attr) { in wlan_cfg80211_coap_offload_reply_enable()
193 params.src_ip_v4 = nla_get_u32(attr); in wlan_cfg80211_coap_offload_reply_enable()
195 attr = tb[COAP_ATTR(REPLY_FILTER)]; in wlan_cfg80211_coap_offload_reply_enable()
196 ret = wlan_cfg80211_coap_offload_reply_fill_filter(attr, &params); in wlan_cfg80211_coap_offload_reply_enable()
200 attr = tb[COAP_ATTR(REPLY_MSG)]; in wlan_cfg80211_coap_offload_reply_enable()
201 if (!attr) { in wlan_cfg80211_coap_offload_reply_enable()
206 params.coapmsg_len = nla_len(attr); in wlan_cfg80211_coap_offload_reply_enable()
207 params.coapmsg = nla_data(attr); in wlan_cfg80211_coap_offload_reply_enable()
209 attr = tb[COAP_ATTR(REPLY_CACHE_EXPTIME)]; in wlan_cfg80211_coap_offload_reply_enable()
210 if (!attr) in wlan_cfg80211_coap_offload_reply_enable()
213 params.cache_timeout = nla_get_u32(attr); in wlan_cfg80211_coap_offload_reply_enable()
408 struct nlattr *attr; in wlan_cfg80211_coap_fill_buf_info() local
410 attr = nla_nest_start(reply_skb, index); in wlan_cfg80211_coap_fill_buf_info()
411 if (!attr) { in wlan_cfg80211_coap_fill_buf_info()
426 nla_nest_end(reply_skb, attr); in wlan_cfg80211_coap_fill_buf_info()
444 struct nlattr *attr; in wlan_cfg80211_coap_offload_cache_deliver() local
467 attr = nla_nest_start(skb, COAP_ATTR(CACHES)); in wlan_cfg80211_coap_offload_cache_deliver()
468 if (!attr) { in wlan_cfg80211_coap_offload_cache_deliver()
489 nla_nest_end(skb, attr); in wlan_cfg80211_coap_offload_cache_deliver()
629 struct nlattr *attr; in wlan_cfg80211_coap_offload() local
653 attr = tb[COAP_ATTR(REPLY)]; in wlan_cfg80211_coap_offload()
655 attr); in wlan_cfg80211_coap_offload()
662 attr = tb[COAP_ATTR(PERIODIC_TX)]; in wlan_cfg80211_coap_offload()
665 attr); in wlan_cfg80211_coap_offload()