/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/ |
H A D | spunge_message.c | 89 NetconnSetRecvCacheSize(conn, sock->resConf.common.recvCache); in SpungeHandleMsgAllocSock() 90 NetconnSetSendCacheSize(conn, sock->resConf.common.sendCache); in SpungeHandleMsgAllocSock() 94 sock->resConf.common.sendCache, sock->resConf.common.recvCache, sock->resConf.flowControl.pktSize, in SpungeHandleMsgAllocSock() 95 sock->resConf.flowControl.oppositeSetRate, sock->resConf.flowControl.slowStart, sock->sockAddrType); in SpungeHandleMsgAllocSock() 301 fpcb->connRetryTimeoutTimerNode.interval = (FILLP_UINT32)FILLP_UTILS_MS2US(sock->resConf.common.connRetryTimeout); in SpungeStartConnRetryTimer() 330 NetconnSetConnectTimeout(sock->netconn, FILLP_UTILS_MS2US((FILLP_LLONG)sock->resConf.common.connectTimeout)); in SpungeHandleMsgConnect() 516 sock->resConf in SpungeHandleMsgConnAccepted() [all...] |
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/ |
H A D | spunge_core.c | 77 FILLP_UINT32 pktNum = sock->resConf.udp.txBurst; in SpungeCalExpectedBytes() 83 if (pktNum <= (sock->resConf.udp.txBurst)) { in SpungeCalExpectedBytes() 91 pktNum = sock->resConf.udp.txBurst; in SpungeCalExpectedBytes() 266 inst->msgBox = FillpQueueCreate("spunge_msg_box", g_spunge->resConf.maxMsgItemNum, SPUNGE_ALLOC_TYPE_MALLOC); in SpungeInstMsgBoxInit() 275 inst->msgPool = SpungeMsgCreatePool(FILLP_MSG_ITEM_INIT_NUM, (int)g_spunge->resConf.maxMsgItemNum); in SpungeInstMsgBoxInit() 451 g_spunge->epitemPool = DympCreatePool(FILLP_EPOLL_ITEM_INIT_NUM, (int)g_spunge->resConf.maxEpollEventNum, in FtAllocateEpollResource() 460 g_spunge->eventpollPool = DympCreatePool(FILLP_EPOLL_ITEM_INIT_NUM, (int)g_spunge->resConf.maxEpollEventNum, in FtAllocateEpollResource() 561 static void FtGetSpungeRes(struct SpungeResConf *resConf) in FtGetSpungeRes() argument 563 (void)memset_s(resConf, sizeof(struct SpungeResConf), 0, sizeof(struct SpungeResConf)); in FtGetSpungeRes() 565 resConf in FtGetSpungeRes() [all...] |
H A D | spunge_stack.c | 438 (FILLP_UINT32)FILLP_UTILS_MS2US((FILLP_LLONG)sock->resConf.common.disconnectRetryTimeout); in SpungeCheckDisconn()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/ |
H A D | fillp_flow_control.c | 169 if (sock->resConf.flowControl.constRateEnbale) { in FillpCalSendInterval() 170 flowControl->sendRate = sock->resConf.flowControl.maxRate; in FillpCalSendInterval() 377 if (detaTime >= (FILLP_LLONG)FILLP_UTILS_MS2US((FILLP_LLONG)sock->resConf.common.keepAliveTime)) { in FillpFcCycle() 379 sock->index, detaTime, sock->resConf.common.keepAliveTime); in FillpFcCycle() 390 (FILLP_UINT32)(FILLP_UTILS_MS2US((FILLP_LLONG)sock->resConf.common.keepAliveTime) - detaTime); in FillpFcCycle() 392 pcb->keepAliveTimerNode.interval, sock->index, detaTime, sock->resConf.common.keepAliveTime); in FillpFcCycle()
|
H A D | fillp_conn.c | 495 newConn->pcb->fpcb.pktSize = UTILS_MIN(sock->resConf.flowControl.pktSize, newConn->peerPktSize); in FillpInitNewPcbByNewConn() 551 NetconnSetPktSize(conn, sock->resConf.flowControl.pktSize); in FillpInitNewconnBySock() 552 NetconnSetOpersiteRate(conn, sock->resConf.flowControl.oppositeSetRate); in FillpInitNewconnBySock() 553 NetconnSetSlowStart(conn, sock->resConf.flowControl.slowStart); in FillpInitNewconnBySock() 554 NetconnSetPackInterval(conn, sock->resConf.flowControl.packInterval); in FillpInitNewconnBySock() 555 FILLP_LOGDBG("Set pack interval:%u", sock->resConf.flowControl.packInterval); in FillpInitNewconnBySock() 570 maxSendCache = sock->resConf.common.maxServerAllowSendCache; in FillpInitNewConnByConfirm() 571 maxRecvCache = sock->resConf.common.maxServerAllowRecvCache; in FillpInitNewConnByConfirm() 651 FillpInitPeerOfNewconn(newConn, sock->resConf.flowControl.pktSize); in FillpProcessConnConfirm() 816 if (sock->resConf in FillpHandleConnConfirmAckInput() [all...] |
H A D | fillp_flow_control_alg0.c | 67 alg->maxRateAllowed = FILLP_GET_SOCKET(pcb)->resConf.flowControl.maxRate; in FillpAlg0FlowControlInit() 214 maxRateAllowed = FILLP_GET_SOCKET(pcb)->resConf.flowControl.maxRate; in FillpAlg0PackStateProcess()
|
H A D | fillp_timer.c | 54 if (appFcStastics->periodTimePassed < (FILLP_LLONG)(sock->resConf.common.fcStasticsInterval)) { in FillpCalFcAppStastics() 170 (curTime - pack->packRttDetectTime) > (FILLP_LLONG)(sock->resConf.common.fcStasticsInterval)) { in FillpPackTimerCb()
|
H A D | fillp_common.c | 526 pcb->delayNackTimerNode.interval = (FILLP_UINT32)sock->resConf.common.nackDelayTimeout; in FillpAddNodeAtDelayNackListTail() 749 sock->resConf.common.nackDelayTimeout = pcb->statistics.pack.packInterval - FILLP_INTERVAL_THRESHOLD; in FillpCalNackDelayTimeByPackInterval() 751 sock->resConf.common.nackDelayTimeout = UTILS_MAX(sock->resConf.common.nackDelayTimeout, in FillpCalNackDelayTimeByPackInterval()
|
H A D | fillp_pcb.c | 664 pcb->keepAliveTimerNode.interval = FILLP_UTILS_MS2US(sock->resConf.common.keepAliveTime); in FillpInitPcbTimeNode() 756 return sock->resConf.flowControl.packInterval; in FillpGetSockPackInterval()
|
H A D | fillp_input.c | 63 (((struct FtSocket *)conn->sock)->resConf.common.enlargePackIntervalFlag == FILLP_TRUE && in FillpChangePackInteval() 657 if (sock->resConf.common.enlargePackIntervalFlag && (pack->flag & FILLP_PACK_FLAG_NO_DATA_SEND)) { in FillpChangePackInterval()
|
H A D | fillp_output.c | 466 if (ftSock->resConf.common.enlargePackIntervalFlag) { in FillpSetSimplePack()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/ |
H A D | socket_opt.c | 226 sock->resConf.common.recvCache = FILLP_DEFAULT_MSG_RECV_CACHE; in SockSetFcAlg() 227 sock->resConf.common.sendCache = FILLP_DEFAULT_MSG_SEND_CACHE; in SockSetFcAlg() 228 NetconnSetRecvCacheSize(sock->netconn, sock->resConf.common.recvCache); in SockSetFcAlg() 229 NetconnSetSendCacheSize(sock->netconn, sock->resConf.common.sendCache); in SockSetFcAlg()
|
H A D | fillp_stack_app_config.c | 54 *resource = &sock->resConf; in FtGetRightAppResourceByIndex() 319 resource = &sock->resConf; in FtSetConfigApp() 435 resource = &sock->resConf; in FtGetSockValue()
|
H A D | spunge_app.c | 72 (void)memcpy_s(&sock->resConf, sizeof(struct GlobalAppResource), &g_appResource, sizeof(struct GlobalAppResource)); in SpungeInitSocket()
|
H A D | epoll_app.c | 37 FILLP_UINT loopLimit = g_spunge->resConf.maxEpollItemNum; in EpFind() 63 FILLP_UINT loopLimit = g_spunge->resConf.maxEpollItemNum; in EpRbtreeInsert()
|
H A D | fillp_dfx.c | 497 FILLP_INT32 isOk = DoShowSockConfigRes(sockIndex, &sock->resConf, data, &len); in FillpDumpShowSockResource() 563 FILLP_CHAR *data = (FILLP_CHAR *)calloc(1U, g_spunge->resConf.maxSockNum * FILLP_DFX_DUMP_ONE_SOCK_BUF); in FillpDumpShowSockList()
|
H A D | socket_app.c | 883 if ((backLog == 0) || (backLog > (FILLP_INT)g_spunge->resConf.maxConnNum)) { in SockListen() 886 backLog, g_spunge->resConf.maxConnNum, sock->index); in SockListen() 888 backLog = (FILLP_INT)g_spunge->resConf.maxConnNum; in SockListen()
|
H A D | api.c | 860 resource = &sock->resConf; in FillpDebugCmdSocketConfigRes()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/ |
H A D | spunge.h | 130 struct SpungeResConf resConf; member
|
H A D | sockets.h | 144 struct GlobalAppResource resConf; /* Total size is 15 * sizeof uint32 */ member
|