Home | History | Annotate | Download | only in drivers

Lines Matching defs:cb

84 static struct nl_handle *nl80211_handle_alloc(void *cb)
90 handle = nl_handle_alloc_cb(cb);
128 static struct nl_handle * nl_create_handle(struct nl_cb *cb, const char *dbg)
132 handle = nl80211_handle_alloc(cb);
661 struct nl_cb *cb;
664 cb = nl_cb_clone(global->nl_cb);
665 if (!cb)
674 nl_cb_err(cb, NL_CB_CUSTOM, error_handler, &err);
675 nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler, &err);
676 nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, &err);
679 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM,
683 int res = nl_recvmsgs(nl_handle, cb);
691 nl_cb_put(cb);
3389 struct nl_cb *cb = eloop_ctx;
3394 res = nl_recvmsgs(handle, cb);
4269 wpa_printf(MSG_ERROR, "nl80211: Failed to alloc cb struct");