Home
last modified time | relevance | path

Searched refs:sendBuf (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/time/time_service/test/fuzztest/timeservice_fuzzer/timesntp_fuzzer/
H A Dtimesntp_fuzzer.cpp46 char sendBuf[NTP_PACKAGE_SIZE] = { 0 }; in FuzzTimeCreateMessage() local
48 Convert(data, size, sendBuf); in FuzzTimeCreateMessage()
51 client.CreateMessage(sendBuf); in FuzzTimeCreateMessage()
57 char sendBuf[NTP_PACKAGE_SIZE] = { 0 }; in FuzzTimeReceivedMessage() local
59 Convert(data, size, sendBuf); in FuzzTimeReceivedMessage()
62 client.ReceivedMessage(sendBuf); in FuzzTimeReceivedMessage()
/ohos5.0/base/time/time_service/services/time/src/
H A Dsntp_client.cpp99 char sendBuf[NTP_PACKAGE_SIZE] = { 0 }; in RequestTime() local
100 CreateMessage(sendBuf); in RequestTime()
101 if (send(sendSocket, sendBuf, bufLen, 0) < 0) { in RequestTime()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_output.c239 struct NetBuf *sendBuf; in FillpBuildDataPkt() local
246 sendBuf = &item->buf; in FillpBuildDataPkt()
247 pktHdr = (struct FillpPktHead *)(void *)sendBuf->p; in FillpBuildDataPkt()
255 FillpBuildPktDataOptions(pcb, item, sendBuf->p + (FILLP_UINT16)FILLP_HLEN); in FillpBuildDataPkt()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dsysio_udp.c473 struct NetBuf *sendBuf = (struct NetBuf *)argBuf; in SysioSendPacketUdp() local
474 return pcb->fpcb.sendFunc(conn, sendBuf->p, sendBuf->len + FILLP_HLEN, pcb); in SysioSendPacketUdp()