Lines Matching refs:appContext

167 void chppRegisterClient(struct ChppAppState *appContext, void *clientContext,  in chppRegisterClient()  argument
173 if (appContext->registeredClientCount >= CHPP_MAX_REGISTERED_CLIENTS) { in chppRegisterClient()
175 appContext->registeredClientCount); in chppRegisterClient()
178 clientState->appContext = appContext; in chppRegisterClient()
180 clientState->index = appContext->registeredClientCount; in chppRegisterClient()
182 appContext->registeredClientContexts[appContext->registeredClientCount] = in chppRegisterClient()
184 appContext->registeredClientStates[appContext->registeredClientCount] = in chppRegisterClient()
186 appContext->registeredClients[appContext->registeredClientCount] = in chppRegisterClient()
193 appContext->registeredClientCount, uuidText, in chppRegisterClient()
198 appContext->registeredClientCount++; in chppRegisterClient()
322 chppClientRecalculateNextTimeout(clientState->appContext); in chppClientTimestampRequest()
335 clientState->appContext->nextRequestTimeoutNs = MIN( in chppClientTimestampRequest()
336 clientState->appContext->nextRequestTimeoutNs, rRState->responseTimeNs); in chppClientTimestampRequest()
344 clientState->appContext->nextRequestTimeoutNs / CHPP_NSEC_PER_MSEC); in chppClientTimestampRequest()
405 clientState->appContext->nextRequestTimeoutNs) { in chppClientTimestampResponse()
407 chppClientRecalculateNextTimeout(clientState->appContext); in chppClientTimestampResponse()
428 clientState->appContext->transportContext, buf, len); in chppSendTimestampedRequestOrFail()
486 chppTimesyncMeasureOffset(clientState->appContext); in chppClientSendOpenRequest()
588 chppAppProcessRxDatagram(clientState->appContext, (uint8_t *)response, in chppClientCloseOpenRequests()
596 chppClientRecalculateNextTimeout(clientState->appContext); in chppClientCloseOpenRequests()