Home | History | Annotate | Download | only in wifi_hal

Lines Matching defs:cb

238     struct nl_cb *cb = nl_socket_get_cb(user_sock);
239 if (cb == NULL) {
240 ALOGE("Could not get cb");
245 nl_cb_set(cb, NL_CB_SEQ_CHECK, NL_CB_CUSTOM, no_seq_check, NULL);
246 nl_cb_err(cb, NL_CB_CUSTOM, error_handler, &info->user_sock_arg);
247 nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler, &info->user_sock_arg);
248 nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, &info->user_sock_arg);
250 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, user_sock_message_handler, info);
251 nl_cb_put(cb);
361 struct nl_cb *cb = NULL;
402 cb = nl_socket_get_cb(event_sock);
403 if (cb == NULL) {
410 nl_cb_set(cb, NL_CB_SEQ_CHECK, NL_CB_CUSTOM, no_seq_check, NULL);
411 nl_cb_err(cb, NL_CB_CUSTOM, error_handler, &err);
412 nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler, &err);
413 nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, &err);
415 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, internal_valid_message_handler,
417 nl_cb_put(cb);
671 struct nl_cb *cb = nl_socket_get_cb(sock);
673 int res = nl_recvmsgs(sock, cb);
676 nl_cb_put(cb);