/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/ |
H A D | net.h | 58 struct FtNetconn { struct 93 void FillpNetconnSetSafeErr(struct FtNetconn *conn, FILLP_INT err); 95 void FillpNetconnSetState(struct FtNetconn *conn, FILLP_UINT8 state); 99 struct FtNetconn *FillpNetconnAlloc(FILLP_UINT16 domain, struct SpungeInstance *inst); 101 void NetconnSetSendCacheSize(struct FtNetconn *conn, FILLP_UINT32 cacheSize); 102 void NetconnSetRecvCacheSize(struct FtNetconn *conn, FILLP_UINT32 cacheSize); 103 void NetconnSetPktSize(struct FtNetconn *conn, FILLP_UINT32 pktSize); 104 void NetconnSetOpersiteRate(struct FtNetconn *conn, FILLP_UINT32 rate); 105 void NetconnSetSlowStart(struct FtNetconn *conn, FILLP_BOOL slowStart); 106 void NetconnSetPackInterval(struct FtNetconn *con [all...] |
H A D | spunge_stack.h | 36 void SpungeConnClosed(struct FtNetconn *conn); 39 FILLP_BOOL SpungeConnCheckUnsendBoxEmpty(struct FtNetconn *conn);
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/ |
H A D | net.c | 48 void NetconnSetSock(struct FtSocket *sock, struct FtNetconn *conn) in NetconnSetSock() 54 void NetconnSetSendCacheSize(struct FtNetconn *conn, FILLP_UINT32 cacheSize) in NetconnSetSendCacheSize() 58 void NetconnSetRecvCacheSize(struct FtNetconn *conn, FILLP_UINT32 cacheSize) in NetconnSetRecvCacheSize() 62 void NetconnSetPktSize(struct FtNetconn *conn, FILLP_UINT32 pktSize) in NetconnSetPktSize() 67 void NetconnSetOpersiteRate(struct FtNetconn *conn, FILLP_UINT32 rate) in NetconnSetOpersiteRate() 72 void NetconnSetSlowStart(struct FtNetconn *conn, FILLP_BOOL slowStart) in NetconnSetSlowStart() 77 void NetconnSetPackInterval(struct FtNetconn *conn, FILLP_UINT32 interval) in NetconnSetPackInterval() 82 void NetconnSetLocalPort(struct FtNetconn *conn, FILLP_INT port) in NetconnSetLocalPort() 87 void NetconnSetAddrType(struct FtNetconn *conn, FILLP_UINT16 addrType) in NetconnSetAddrType() 92 void NetconnSetDirectlySend(struct FtNetconn *con [all...] |
H A D | pcb.c | 34 struct FtNetconn *conn = (struct FtNetconn *)argConn; in SpungePcbRecv() 61 struct FtNetconn *conn = (struct FtNetconn *)arg; in SpungePcbSend() 97 static FILLP_INT SpungePcbSendmsgInner(struct FtNetconn *conn, struct SpungePcb *spcb, in SpungePcbSendmsgInner() 155 struct FtNetconn *conn = FILLP_NULL_PTR; in SpungePcbSendmsg() 165 conn = (struct FtNetconn *)spcb->conn; in SpungePcbSendmsg() 167 conn = (struct FtNetconn *)arg; in SpungePcbSendmsg() 295 struct FtNetconn *conn = FILLP_NULL_PTR; in SpungePcbRemove() 302 conn = (struct FtNetconn *)pc in SpungePcbRemove() [all...] |
H A D | spunge_stack.c | 109 struct FtNetconn *conn = FILLP_NULL_PTR; in SpungeFreeAcceptBox() 308 struct FtNetconn *netconn = sock->netconn; in SpungeShutdownSock() 336 FILLP_BOOL SpungeConnCheckUnsendBoxEmpty(struct FtNetconn *conn) in SpungeConnCheckUnsendBoxEmpty() 375 static int SpungeDestroyNoWait(struct FillpPcb *pcb, struct FtSocket *sock, struct FtNetconn *conn) in SpungeDestroyNoWait() 392 struct FtNetconn *conn = (struct FtNetconn *)argConn; in SpungeCheckDisconn() 453 struct FtNetconn *conn = (struct FtNetconn *)argConn; in SpungeSendConnectMsg() 527 void SpungeConnClosed(struct FtNetconn *conn) in SpungeConnClosed()
|
H A D | sysio_udp.c | 467 struct FtNetconn *conn = (struct FtNetconn *)pcb->conn; in SysioSendPacketUdp()
|
H A D | spunge_core.c | 125 struct FtNetconn *conn = (struct FtNetconn *)pcb->conn; in SpungeDoSendCycle() 647 sizeof(struct FtNetconn), FILLP_TRUE, &itemOperaCb); in FtInitGlobalNetPool() 926 struct FtNetconn *netconn = FILLP_NULL_PTR; in SpungeLoopCheckUnsendBox() 936 netconn = (struct FtNetconn *)item[j]->netconn; in SpungeLoopCheckUnsendBox() 1111 struct FtNetconn *conn = FILLP_NULL_PTR; in FillpCalculateFairness() 1122 conn = (struct FtNetconn *)pcb->conn; in FillpCalculateFairness()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/ |
H A D | fillp_stack_app_config.c | 332 struct FtNetconn *netconn = FILLP_NULL_PTR; in FtCheckSockValid() 338 netconn = (struct FtNetconn *)(sock->netconn); in FtCheckSockValid() 349 struct FtNetconn *netconn = FILLP_NULL_PTR; in FtGetAppFcPeriodRecvRate() 354 netconn = (struct FtNetconn *)(sock->netconn); in FtGetAppFcPeriodRecvRate() 363 struct FtNetconn *netconn = FILLP_NULL_PTR; in FtGetAppFcPeriodRecvRateBps() 368 netconn = (struct FtNetconn *)(sock->netconn); in FtGetAppFcPeriodRecvRateBps() 376 struct FtNetconn *netconn = FILLP_NULL_PTR; in FtGetAppFcPeriodRecvPktLost() 381 netconn = (struct FtNetconn *)(sock->netconn); in FtGetAppFcPeriodRecvPktLost() 390 struct FtNetconn *netconn = FILLP_NULL_PTR; in FtGetAppFcPeriodStastics() 398 netconn = (struct FtNetconn *)(soc in FtGetAppFcPeriodStastics() [all...] |
H A D | api.c | 1141 if ((sock->netconn != FILLP_NULL_PTR) && (((struct FtNetconn *)sock->netconn)->pcb != FILLP_NULL_PTR)) { in FtFillpStatsGet() 1143 &((struct FtNetconn *)sock->netconn)->pcb->fpcb.statistics, sizeof(struct FillpStatisticsPcb)); in FtFillpStatsGet() 1356 (((struct FtNetconn *)sock->netconn)->pcb) == FILLP_NULL_PTR) { in FtFillpStatShow() 1370 pcb = &(((struct FtNetconn *)sock->netconn)->pcb->fpcb.statistics); in FtFillpStatShow()
|
H A D | socket_app.c | 947 static void SockCopyAddr(struct sockaddr *addr, socklen_t *addrLen, struct FtNetconn *conn) in SockCopyAddr() 971 static struct FtNetconn *SockPopConn(struct FtSocket *sock, FILLP_INT sockFd) in SockPopConn() 973 struct FtNetconn *conn = FILLP_NULL_PTR; in SockPopConn() 1043 struct FtNetconn *conn = FILLP_NULL_PTR; in SockAccept() 1297 struct FtNetconn *conn = FILLP_NULL_PTR; in SockGetRtt() 1306 conn = (struct FtNetconn *)sock->netconn; in SockGetRtt()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/ |
H A D | fillp_mgt_msg_log.c | 89 static FILLP_INT FillpExtParaRttFormat(FILLP_CONST struct FtNetconn *conn, FILLP_CHAR *buf, size_t len) in FillpExtParaRttFormat() 94 static FILLP_INT FillpExtParaPktSizeFormat(FILLP_CONST struct FtNetconn *conn, FILLP_CHAR *buf, size_t len) in FillpExtParaPktSizeFormat() 120 static FILLP_INT FillpExtParaCharacterFormat(FILLP_CONST struct FtNetconn *conn, FILLP_CHAR *buf, size_t len) in FillpExtParaCharacterFormat() 141 static FILLP_INT FillpExtParaFcAlgFormat(FILLP_CONST struct FtNetconn *conn, FILLP_CHAR *buf, size_t len) in FillpExtParaFcAlgFormat() 163 FILLP_CONST struct FtNetconn *conn, FILLP_CHAR *buf, size_t len) = { 173 struct FtNetconn conn; in FillpExtParaFormat() 174 (void)memset_s(&conn, sizeof(struct FtNetconn), 0, sizeof(struct FtNetconn)); in FillpExtParaFormat()
|
H A D | fillp_conn.c | 210 static void FillpDecodeRtt(struct FtNetconn *conn, FILLP_CONST FILLP_UCHAR *buf, FILLP_INT bufLen) in FillpDecodeRtt() 229 static void FillpDecodePktSize(struct FtNetconn *conn, FILLP_CONST FILLP_UCHAR *buf, FILLP_INT bufLen) in FillpDecodePktSize() 248 static void FillpDecodeCharacters(struct FtNetconn *conn, FILLP_CONST FILLP_UCHAR *buf, FILLP_INT bufLen) in FillpDecodeCharacters() 267 static void FillpDecodeFcAlg(struct FtNetconn *conn, FILLP_CONST FILLP_UCHAR *buf, FILLP_INT bufLen) in FillpDecodeFcAlg() 279 typedef void (*FIllpExtParaDecoder)(struct FtNetconn *conn, FILLP_CONST FILLP_UCHAR *buf, FILLP_INT bufLen); 288 FILLP_INT32 FillpDecodeExtPara(FILLP_CONST FILLP_UCHAR *buf, FILLP_INT bufLen, struct FtNetconn *conn) in FillpDecodeExtPara() 376 struct FtNetconn *conn = FILLP_GET_CONN(pcb); in FillpDecodeConnReqAckClientPara() 491 static FILLP_INT FillpInitNewPcbByNewConn(struct FtNetconn *newConn, FILLP_SIZE_T maxSendCache, in FillpInitNewPcbByNewConn() 524 static void FillpInitNewPcbByConfirm(struct FtNetconn *newConn, FILLP_CONST struct FillpPktConnConfirm *confirm) in FillpInitNewPcbByConfirm() 548 void FillpInitNewconnBySock(struct FtNetconn *con [all...] |
H A D | fillp_common.c | 211 struct FtNetconn *conn = FILLP_GET_CONN(pcb); in FillpAckUnrecvList() 291 struct FtNetconn *conn = FILLP_GET_CONN(pcb); in FillpAckUnackList() 514 struct FtSocket *sock = (struct FtSocket *)((struct FtNetconn *)((struct SpungePcb*)pcb->spcb)->conn)->sock; in FillpAddNodeAtDelayNackListTail() 735 struct FtNetconn *conn = FILLP_GET_CONN(pcb); in FillpCalNackDelayTimeByPackInterval()
|
H A D | fillp_output.c | 376 struct FtNetconn *conn = (struct FtNetconn *)FILLP_GET_CONN(fpcb); in FillpSendItem()
|
H A D | fillp_flow_control.c | 365 struct FtNetconn *netconn = FILLP_GET_CONN(pcb); in FillpFcCycle()
|
H A D | fillp_pcb.c | 31 #define FILLP_PCB_GET_CONN(pcb) (struct FtNetconn *)((struct SpungePcb *)((pcb)->spcb))->conn
|
H A D | fillp_input.c | 61 struct FtNetconn *conn = FILLP_GET_CONN(pcb); in FillpChangePackInteval()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/ |
H A D | spunge_message.c | 80 struct FtNetconn *conn = FillpNetconnAlloc(sock->sockAddrType, inst); in SpungeHandleMsgAllocSock() 143 struct FtNetconn *netconn = FILLP_NULL_PTR; in SpungeListenMsgCheckState() 369 struct FtNetconn **pConn, struct SpungePcb **pPcb) in SpungeBindMsgCheckState() 372 struct FtNetconn *conn = FILLP_NULL_PTR; in SpungeBindMsgCheckState() 420 struct FtNetconn *conn = FILLP_NULL_PTR; in SpungeHandleMsgBind() 480 struct FtNetconn *netconn = FILLP_NULL_PTR; in SpungeHandleMsgConnAccepted() 489 netconn = (struct FtNetconn *)acceptMsg->netconn; in SpungeHandleMsgConnAccepted() 548 struct FtNetconn *conn = FILLP_NULL_PTR; in SpungeHandleMsgDoShutdown() 607 static void SpungeCloseMsgFreeSrc(struct FtNetconn *conn, struct FtSocket *sock) in SpungeCloseMsgFreeSrc() 643 struct FtNetconn *con in SpungeHandleMsgClose() [all...] |
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/fillp/ |
H A D | fillp_common.h | 36 #define FILLP_GET_CONN(pcb) ((struct FtNetconn*) ((struct SpungePcb*) ((pcb)->spcb))->conn)
|
H A D | fillp.h | 440 struct FtNetconn; 442 FILLP_INT32 FillpDecodeExtPara(FILLP_CONST FILLP_UCHAR *buf, FILLP_INT bufLen, struct FtNetconn *conn);
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/ |
H A D | sockets.h | 93 struct FtNetconn *netconn; 94 /* These following members are used for connection and referenced by FtNetconn */
|