Lines Matching defs: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);
420 struct nl_cb *cb;
423 cb = nl_cb_clone(global->nl_cb);
424 if (!cb)
433 nl_cb_err(cb, NL_CB_CUSTOM, error_handler, &err);
434 nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler, &err);
435 nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, &err);
438 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM,
442 nl_recvmsgs(nl_handle, cb);
444 nl_cb_put(cb);
2239 struct nl_cb *cb = eloop_ctx;
2243 nl_recvmsgs(handle, cb);
2728 wpa_printf(MSG_ERROR, "nl80211: Failed to alloc cb struct");