Home
last modified time | relevance | path

Searched refs:spcb (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dpcb.c97 static FILLP_INT SpungePcbSendmsgInner(struct FtNetconn *conn, struct SpungePcb *spcb, in SpungePcbSendmsgInner() argument
108 mh.msg_name = (struct sockaddr *)&spcb->remoteAddr; in SpungePcbSendmsgInner()
109 mh.msg_namelen = spcb->addrLen; in SpungePcbSendmsgInner()
134 … ret = spcb->fpcb.sendFunc(conn, conn->sendIov[i].iov_base, conn->sendIov[i].iov_len, spcb); in SpungePcbSendmsgInner()
147 spcb->fpcb.sendmsgEio = FILLP_TRUE; in SpungePcbSendmsgInner()
158 struct SpungePcb *spcb = (struct SpungePcb *)fpcb->spcb; in SpungePcbSendmsg() local
165 conn = (struct FtNetconn *)spcb->conn; in SpungePcbSendmsg()
177 ret = SpungePcbSendmsgInner(conn, spcb, udpSock, size); in SpungePcbSendmsg()
192 ret = SpungePcbSendmsgInner(conn, spcb, udpSock, size); in SpungePcbSendmsg()
215 pcb->fpcb.spcb = (void *)pcb; in SpungePcbNew()
H A Dsysio_udp.c237 struct SpungePcb *spcb = FILLP_NULL_PTR; in SysioFetchPacketUdp() local
252 spcb = SysioGetPcbFromRemoteaddrUdp((struct sockaddr *)&netbuf->addr, osSock, list); in SysioFetchPacketUdp()
253 return spcb; in SysioFetchPacketUdp()
516 struct SpungePcb *spcb = FILLP_NULL_PTR; in SysioGetPcbFromRemoteaddrUdp() local
521 spcb = SpungePcbHashNodeEntry(node); in SysioGetPcbFromRemoteaddrUdp()
522 … if (UtilsAddrMatch((struct sockaddr_in *)addr, (struct sockaddr_in *)&spcb->remoteAddr)) { in SysioGetPcbFromRemoteaddrUdp()
523 return spcb; in SysioGetPcbFromRemoteaddrUdp()
525 spcb = FILLP_NULL_PTR; in SysioGetPcbFromRemoteaddrUdp()
H A Dspunge_core.c54 struct SpungePcb *spcb = FILLP_NULL_PTR; in SpungeDoRecvCycle() local
63 spcb = osSock->ioSock->ops->fetchPacket((void *)osSock, (void *)&buf, 0); in SpungeDoRecvCycle()
64 if (spcb != FILLP_NULL_PTR) { in SpungeDoRecvCycle()
65 FillpDoInput(&spcb->fpcb, &buf, inst); in SpungeDoRecvCycle()
1184 struct SpungePcb *pcb = ((struct FillpPcb *)args)->spcb; in FillpCheckPcbNackListToSend()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_conn.c473 struct SpungePcb *spcb = (struct SpungePcb*)pcb->spcb; in FillpConnReqAckInput() local
478 spcb->addrType = AF_INET; in FillpConnReqAckInput()
482 spcb->addrType = AF_INET6; in FillpConnReqAckInput()
483 spcb->remoteAddr = p->addr; in FillpConnReqAckInput()
566 struct SpungePcb *spcb = (struct SpungePcb*)pcb->spcb; in FillpInitNewConnByConfirm() local
598 sizeof(spcb->localAddr)); in FillpInitNewConnByConfirm()
924 struct SpungePcb *spcb = (struct SpungePcb*)fpcb->spcb; in FillpCheckandcopyConfirmAckAddr() local
1581 struct SpungePcb*spcb = (struct SpungePcb*)pcb->spcb; in ConnConfirmBuild() local
1583 &spcb->remoteAddr, sizeof(spcb->remoteAddr)); in ConnConfirmBuild()
1893 struct SpungePcb*spcb = (struct SpungePcb*)pcb->spcb; in FillpGenerateCookie() local
[all …]
H A Dfillp_pcb.c31 #define FILLP_PCB_GET_CONN(pcb) (struct FtNetconn *)((struct SpungePcb *)((pcb)->spcb))->conn
519 SpungeDoSendCycle((struct SpungePcb*)fpcb->spcb, fpcb->pcbInst, realDetaTime); in FillpPcbSendFc()
H A Dfillp_timer.c189 SpungeDoSendCycle((struct SpungePcb *)pcb->spcb, pcb->pcbInst, realDetaTime); in FillpSendTimerCb()
H A Dfillp_common.c514 …struct FtSocket *sock = (struct FtSocket *)((struct FtNetconn *)((struct SpungePcb*)pcb->spcb)->co… in FillpAddNodeAtDelayNackListTail()
803 (struct SpungePcb *)pcb->spcb); in FillpBuildAndSendPack()
H A Dfillp_output.c406 …s = fpcb->sendFunc(conn, (void *)item->buf.p, (FILLP_INT)(item->buf.len + FILLP_HLEN), fpcb->spcb); in FillpSendItem()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/fillp/
H A Dfillp_common.h36 #define FILLP_GET_CONN(pcb) ((struct FtNetconn*) ((struct SpungePcb*) ((pcb)->spcb))->conn)
H A Dfillp_pcb.h175 void *spcb; member