Home
last modified time | relevance | path

Searched refs:received (Results 1 - 13 of 13) sorted by relevance

/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_s_server.cpp103 int FillReply(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply);
104 static int OnReceivedDiscover(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply);
105 static int OnReceivedRequest(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply);
106 static int OnReceivedDecline(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply);
107 static int OnReceivedRelease(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply);
108 static int OnReceivedInform(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply);
287 DHCP_LOGW("message length error, received %d bytes.", rsize); in ReceiveDhcpMessage()
315 void InitReply(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply) in InitReply() argument
336 if (FillReply(ctx, received, reply) != RET_SUCCESS) { in InitReply()
414 static int MessageProcess(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInf argument
711 FillReply(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply) FillReply() argument
896 GetBinding(DhcpAddressPool *pool, PDhcpMsgInfo received) GetBinding() argument
983 OnReceivedDiscover(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply) OnReceivedDiscover() argument
1030 GetRequestIpAddress(PDhcpMsgInfo received) GetRequestIpAddress() argument
1043 GetYourIpAddress(PDhcpMsgInfo received, uint32_t *yourIpAddr, DhcpAddressPool *pool) GetYourIpAddress() argument
1085 NotBindingRequest(DhcpAddressPool *pool, PDhcpMsgInfo received, PDhcpMsgInfo reply) NotBindingRequest() argument
1142 ValidateRequestMessage(const PDhcpServerContext ctx, const PDhcpMsgInfo received, PDhcpMsgInfo reply, uint32_t *yourIp) ValidateRequestMessage() argument
1185 HasNobindgRequest(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply) HasNobindgRequest() argument
1214 GetVendorIdentifierOption(PDhcpMsgInfo received) GetVendorIdentifierOption() argument
1231 GetHostNameOption(PDhcpMsgInfo received, AddressBinding *bindin) GetHostNameOption() argument
1251 GetUserClassOption(PDhcpMsgInfo received, AddressBinding *bindin) GetUserClassOption() argument
1270 GetRapidCommitOption(PDhcpMsgInfo received, AddressBinding *bindin) GetRapidCommitOption() argument
1290 GetOnlyIpv6Option(PDhcpMsgInfo received, AddressBinding *bindin) GetOnlyIpv6Option() argument
1310 GetPortalUrlOption(PDhcpMsgInfo received, AddressBinding *bindin) GetPortalUrlOption() argument
1330 ParseDhcpOption(PDhcpMsgInfo received, AddressBinding *bindin) ParseDhcpOption() argument
1346 OnReceivedRequest(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply) OnReceivedRequest() argument
1398 OnReceivedDecline(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply) OnReceivedDecline() argument
1439 OnReceivedRelease(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply) OnReceivedRelease() argument
1491 OnReceivedInform(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply) OnReceivedInform() argument
[all...]
/foundation/communication/dhcp/services/dhcp_server/include/
H A Ddhcp_s_server.h47 int GetVendorIdentifierOption(PDhcpMsgInfo received);
48 int GetHostNameOption(PDhcpMsgInfo received, AddressBinding *bindin);
50 int ParseDhcpOption(PDhcpMsgInfo received, AddressBinding *bindin);
51 int GetUserClassOption(PDhcpMsgInfo received, AddressBinding *bindin);
52 int GetRapidCommitOption(PDhcpMsgInfo received, AddressBinding *bindin);
53 int GetOnlyIpv6Option(PDhcpMsgInfo received, AddressBinding *bindin);
54 int GetPortalUrlOption(PDhcpMsgInfo received, AddressBinding *bindin);
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_s_server_test.cpp198 DhcpMsgInfo received; in HWTEST_F() local
199 ASSERT_TRUE(memset_s(&received, sizeof(PDhcpMsgInfo), 0, sizeof(PDhcpMsgInfo)) == EOK); in HWTEST_F()
200 EXPECT_EQ(REPLY_NAK, GetVendorIdentifierOption(&received)); in HWTEST_F()
205 PDhcpMsgInfo received; in HWTEST_F() local
206 ASSERT_TRUE(memset_s(&received, sizeof(PDhcpMsgInfo), 0, sizeof(PDhcpMsgInfo)) == EOK); in HWTEST_F()
207 EXPECT_EQ(REPLY_NONE, GetHostNameOption(received, nullptr)); in HWTEST_F()
220 PDhcpMsgInfo received; in HWTEST_F() local
221 ASSERT_TRUE(memset_s(&received, sizeof(PDhcpMsgInfo), 0, sizeof(PDhcpMsgInfo)) == EOK); in HWTEST_F()
222 EXPECT_EQ(REPLY_NONE, ParseDhcpOption(received, nullptr)); in HWTEST_F()
227 PDhcpMsgInfo received; in HWTEST_F() local
235 PDhcpMsgInfo received; HWTEST_F() local
242 PDhcpMsgInfo received; HWTEST_F() local
249 PDhcpMsgInfo received; HWTEST_F() local
[all...]
/foundation/multimodalinput/input/intention/common/channel/test/
H A Dchannel_test.cpp61 size_t received = receiver.Receive(); in HWTEST_F() local
62 EXPECT_EQ(received, expected); in HWTEST_F()
93 size_t received = receiver.Receive(); in HWTEST_F() local
94 ASSERT_EQ(received, expected); in HWTEST_F()
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/coap_discover/
H A Dcoap_client.c109 const coap_pdu_t *sent, const coap_pdu_t *received, const coap_mid_t id) in CoapMessageHandler()
111 if (received == NULL) { in CoapMessageHandler()
112 DFINDER_LOGE(TAG, "received error"); in CoapMessageHandler()
123 if (coap_pdu_get_type(received) == COAP_MESSAGE_RST) { in CoapMessageHandler()
128 if (coap_check_option(received, COAP_OPTION_OBSERVE, &optIter)) { in CoapMessageHandler()
132 blockOpt2 = coap_check_option(received, COAP_OPTION_BLOCK2, &optIter); in CoapMessageHandler()
133 blockOpt1 = coap_check_option(received, COAP_OPTION_BLOCK1, &optIter); in CoapMessageHandler()
139 coap_pdu_code_t rcv_code = coap_pdu_get_code(received); in CoapMessageHandler()
108 CoapMessageHandler(coap_session_t *session, const coap_pdu_t *sent, const coap_pdu_t *received, const coap_mid_t id) CoapMessageHandler() argument
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_socket.cpp231 size_t received = 0; in ReceiveWhenReady() local
233 while (received < size) { in ReceiveWhenReady()
234 // receivedBytes can only be -1 or [0, size - received] (from recv man) in ReceiveWhenReady()
235 const ssize_t receivedBytes = recv(client_, bytes, size - received, 0); in ReceiveWhenReady()
241 // so receivedBytes here always [0, size - received] in ReceiveWhenReady()
242 // then received can't be > `size` and it can't be overflowed in ReceiveWhenReady()
244 received += actualReceivedBytes; in ReceiveWhenReady()
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include/coap_discover/
H A Dcoap_client.h41 const coap_pdu_t *sent, const coap_pdu_t *received, const coap_mid_t id);
/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dsoftbus_conn_ble_trans.c75 buffer->received = 0; in DiscardBuffer()
97 "received this time, connId=%{public}u, packetDataLen=%{public}u, " in ConnGattTransRecv()
101 buffer->seq, buffer->total, buffer->received); in ConnGattTransRecv()
128 "there is incomple data waitting to receive, but another incomplete data received this time or total is " in ConnGattTransRecv()
129 "difference, discard all received segmental packet. " in ConnGattTransRecv()
134 buffer->received); in ConnGattTransRecv()
142 // mis-order packet received, we try to re-order it in ConnGattTransRecv()
144 "ble recv packet: it received an mis-order packet this time, There may be more times mis-order occured " in ConnGattTransRecv()
156 "ble recv packet: it received a duplicate packet this time, just discart this packet, " in ConnGattTransRecv()
170 "ble recv packet failed: calloc ble package or copy data failed, discard all received in ConnGattTransRecv()
[all...]
/foundation/communication/dsoftbus/tests/core/connection/ble/
H A Dconnection_ble_trans_test.cpp284 uint32_t received[3] = {0, 1000, 1}; in HWTEST_F() local
302 for (uint32_t i = 0; i < sizeof(received) / sizeof(received[0]); i++) { in HWTEST_F()
303 buffer.received = received[i]; in HWTEST_F()
/foundation/arkui/napi/test/unittest/cj_native/
H A Dtest_ark_interop.cpp84 double received[totalCases]; in TEST_F() local
90 received[i] = ARKTS_GetValueNumber(jsValues[i]); in TEST_F()
91 EXPECT_EQ(origins[i], received[i]); in TEST_F()
/foundation/communication/dsoftbus/core/connection/ble/include/
H A Dsoftbus_conn_ble_trans.h57 uint32_t received; member
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_dfile_transfer.c116 [DFILE_TRANS_FILE_HEADER_TIMEOUT] = "Receiver wait for HEADER frame timeout (partially received)", in GetErrorMessage()
117 [DFILE_TRANS_FILE_DATA_TIMEOUT] = "Receive file data timeout (partially received)", in GetErrorMessage()
252 * May encounter failure durinng HEADER stage, and not all the file names are received. In this case, we in NotifyTransMsg()
896 DFILE_LOGE(TAG, "transId %u get received files failed", dFileTrans->transId); in RefreshFileRecvStatus()
900 DFILE_LOGI(TAG, "transId %u get zero received files", dFileTrans->transId); in RefreshFileRecvStatus()
949 DFILE_LOGE(TAG, "transId %u get set all file data received failed", dFileTrans->transId); in ReceiveFileDataOngoing()
1317 uint8_t received; in HandleFileDataFrame() local
1334 received = FileListGetLastBlockReceived(trans->fileList, FileListGetNum(trans->fileList)); in HandleFileDataFrame()
1336 DFILE_LOGI(TAG, "transId:%u last block received:%u", trans->transId, received); in HandleFileDataFrame()
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/
H A Dsta_state_machine.cpp414 WIFI_LOGI("RootState-msgCode=%{public}d is received.\n", msg->GetMessageName()); in ExecuteStateMsg()
467 WIFI_LOGI("InitState-msgCode=%{public}d is received. m_instId = %{public}d\n", msg->GetMessageName(), in ExecuteStateMsg()
1113 int received = rxPackets - linkedInfo.lastRxPackets; in DealSignalPacketChanged() local
1118 if (received > STREAM_RXPACKET_THRESHOLD) { in DealSignalPacketChanged()
2731 WIFI_LOGI("SeparatedState-msgCode=%{public}d received. m_instId=%{public}d\n", msg->GetMessageName(), in ExecuteStateMsg()
2784 WIFI_LOGD("ApLinkedState-msgCode=%{public}d received. m_instId = %{public}d\n", msg->GetMessageName(), in ExecuteStateMsg()
2854 /* BSSID change is not received during roaming, only set BSSID */ in HandleStaBssidChangedEvent()
3107 WIFI_LOGI("GetIpState-msgCode=%{public}d received. m_instId = %{public}d\n", msg->GetMessageName(), in ExecuteStateMsg()
3812 WIFI_LOGI("DealHiLinkDataToWpa=%{public}d received.\n", msg->GetMessageName()); in DealHiLinkDataToWpa()

Completed in 16 milliseconds