Lines Matching refs:cb
79 static struct nl_handle *nl80211_handle_alloc(void *cb)
85 handle = nl_handle_alloc_cb(cb);
112 static struct nl_handle * nl_create_handle(struct nl_cb *cb, const char *dbg)
116 handle = nl80211_handle_alloc(cb);
557 struct nl_cb *cb;
560 cb = nl_cb_clone(global->nl_cb);
561 if (!cb)
570 nl_cb_err(cb, NL_CB_CUSTOM, error_handler, &err);
571 nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler, &err);
572 nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, &err);
575 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM,
579 nl_recvmsgs(nl_handle, cb);
581 nl_cb_put(cb);
2824 struct nl_cb *cb = eloop_ctx;
2828 nl_recvmsgs(handle, cb);
3496 wpa_printf(MSG_ERROR, "nl80211: Failed to alloc cb struct");