Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
H A Dsocket_common.c88 struct GlobalAppResource g_appResource = { variable
132 g_appResource.udp.txBurst = FILLP_DEFAULT_APP_TX_BURST; in InitGlobalAppResourceDefault()
134 g_appResource.common.recvCache = FILLP_DEFAULT_APP_RECV_CACHE; in InitGlobalAppResourceDefault()
137 g_appResource.common.udpSendBufSize = FILLP_DEFAULT_UDP_SEND_BUFSIZE; in InitGlobalAppResourceDefault()
138 g_appResource.common.sendCache = FILLP_DEFAULT_APP_SEND_CACHE; in InitGlobalAppResourceDefault()
142 g_appResource.common.recvBufSize = FILLP_DEFAULT_UDP_RECV_BUFSIZE; in InitGlobalAppResourceDefault()
143 g_appResource.common.enableNackDelay = FILLP_DELAY_NACK_ENABLE; in InitGlobalAppResourceDefault()
151 g_appResource.flowControl.maxRate = FILLP_DEFAULT_MAX_RATE; in InitGlobalAppResourceDefault()
152 g_appResource.flowControl.maxRecvRate = FILLP_DEFAULT_MAX_RECV_RATE; in InitGlobalAppResourceDefault()
155 g_appResource.flowControl.pktSize = FILLP_DEFAULT_APP_PKT_SIZE; in InitGlobalAppResourceDefault()
[all …]
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/
H A Dspunge_app.c59 if (g_appResource.common.enableDateOptTimestamp) { in SpungeInitSocket()
72 …(void)memcpy_s(&sock->resConf, sizeof(struct GlobalAppResource), &g_appResource, sizeof(struct Glo… in SpungeInitSocket()
H A Dfillp_stack_app_config.c56 *resource = &g_appResource; in FtGetRightAppResourceByIndex()
323 resource = &g_appResource; in FtSetConfigApp()
498 struct GlobalAppResource *resource = &g_appResource; in FtGetConfigApp()
H A Dapi.c867 resource = &g_appResource; in FillpDebugCmdSocketConfigRes()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dsocket_common.h42 extern struct GlobalAppResource g_appResource;
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dsysio_udp.c264 if (SysArchSetSockRcvbuf(udpSock->udpSock, g_appResource.common.recvBufSize)) { in SysioSetSocketOpt()
270 if (SysArchSetSockSndbuf(udpSock->udpSock, g_appResource.common.udpSendBufSize)) { in SysioSetSocketOpt()
H A Dnet.c255 (g_appResource.common.enableNackDelay == FILLP_FALSE)) { in FillpNetconnSetState()
H A Dspunge_core.c1450 stb->maxPktSize = (FILLP_UINT32)g_appResource.flowControl.pktSize; in SpungeInitTokenBucket()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_common.c596 if ((g_appResource.common.enableNackDelay) && (pcb->recv.nackList.size < pcb->mpRecvSize)) { in FillBiggerItem()
607 } else if (g_appResource.common.enableNackDelay == FILLP_FALSE && in FillBiggerItem()
634 if (g_appResource.common.enableNackDelay) { in FillpDataToStack()
H A Dfillp_input.c167 …if (g_resource.common.outOfOrderCacheEnable && (g_appResource.common.enableNackDelay == FILLP_FALS… in FillpProcessItemData()