Home
last modified time | relevance | path

Searched refs:sendRet (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/
H A Dsocket.cpp709 SocketSendRet sendRet = SendDataToApp(sock.transportFd_, sock.recvDataBuf_, sock.recvBufLen_); in OnSocketWriteReadyNative() local
710 switch (sendRet) { in OnSocketWriteReadyNative()
790 SocketSendRet sendRet = SendDataToApp(this->transportFd_, buffer, len); in WriteDataToAPP() local
791 switch (sendRet) { in WriteDataToAPP()
946 auto sendRet = send(fd, buf, len, MSG_DONTWAIT); in SendDataToApp() local
948 auto sendRet = send(fd, buf, len, MSG_NOSIGNAL); in SendDataToApp() local
950 if (sendRet < 0) { in SendDataToApp()
957 if (sendRet == 0) { in SendDataToApp()
961 if (sendRet == ssize_t(len)) { in SendDataToApp()
/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_s_server.cpp386 int sendRet = -1; in SendDhcpReply() local
395 sendRet = SendDhcpOffer(ctx, reply); in SendDhcpReply()
399 sendRet = SendDhcpAck(ctx, reply); in SendDhcpReply()
403 sendRet = SendDhcpNak(ctx, reply); in SendDhcpReply()
408 if (replyType && sendRet != RET_SUCCESS) { in SendDhcpReply()

Completed in 6 milliseconds