Lines Matching refs:p_open
462 static void on_srv_l2cap_psm_connect_l(tBTA_JV_L2CAP_OPEN *p_open, l2cap_socket *sock) in on_srv_l2cap_psm_connect_l() argument
468 accept_rs = btsock_l2cap_alloc_l(sock->name, (const bt_bdaddr_t*)p_open->rem_bda, FALSE, 0); in on_srv_l2cap_psm_connect_l()
493 accept_rs->app_fd, p_open->tx_mtu); in on_srv_l2cap_psm_connect_l()
503 static void on_srv_l2cap_le_connect_l(tBTA_JV_L2CAP_LE_OPEN *p_open, l2cap_socket *sock) in on_srv_l2cap_le_connect_l() argument
509 accept_rs = btsock_l2cap_alloc_l(sock->name, (const bt_bdaddr_t*)p_open->rem_bda, FALSE, 0); in on_srv_l2cap_le_connect_l()
517 accept_rs->handle = p_open->handle; in on_srv_l2cap_le_connect_l()
525 *(p_open->p_p_cback) = (void*)btsock_l2cap_cbk; in on_srv_l2cap_le_connect_l()
526 *(p_open->p_user_data) = UINT_TO_PTR(accept_rs->id); in on_srv_l2cap_le_connect_l()
536 accept_rs->app_fd, p_open->tx_mtu); in on_srv_l2cap_le_connect_l()
541 static void on_cl_l2cap_psm_connect_l(tBTA_JV_L2CAP_OPEN *p_open, l2cap_socket *sock) in on_cl_l2cap_psm_connect_l() argument
543 bd_copy(sock->addr.address, p_open->rem_bda, 0); in on_cl_l2cap_psm_connect_l()
550 if (send_app_connect_signal(sock->our_fd, &sock->addr, sock->channel, 0, -1, p_open->tx_mtu)) { in on_cl_l2cap_psm_connect_l()
560 static void on_cl_l2cap_le_connect_l(tBTA_JV_L2CAP_LE_OPEN *p_open, l2cap_socket *sock) in on_cl_l2cap_le_connect_l() argument
562 bd_copy(sock->addr.address, p_open->rem_bda, 0); in on_cl_l2cap_le_connect_l()
569 if (send_app_connect_signal(sock->our_fd, &sock->addr, sock->channel, 0, -1, p_open->tx_mtu)) { in on_cl_l2cap_le_connect_l()