Home
last modified time | relevance | path

Searched refs:globalResource (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dfillp_stack_config.c86 ret = FtValidateConfigParams(globalResource); in FtInitConfigSet()
91 g_resource.udp.rxBurst = globalResource->udp.rxBurst; in FtInitConfigSet()
93 g_resource.common.maxSockNum = globalResource->common.maxSockNum; in FtInitConfigSet()
95 g_resource.common.fullCpuEnable = globalResource->common.fullCpu; in FtInitConfigSet()
107 g_resource.flowControl.maxRate = globalResource->flowControl.maxRate; in FtInitConfigSet()
111 g_resource.flowControl.fcAlg = globalResource->flowControl.fcAlg; in FtInitConfigSet()
133 globalResource->udp.rxBurst = (FILLP_UINT16)g_resource.udp.rxBurst; in FtInitConfigGet()
134 globalResource->common.maxSockNum = g_resource.common.maxSockNum; in FtInitConfigGet()
136 globalResource->common.fullCpu = g_resource.common.fullCpuEnable; in FtInitConfigGet()
141 globalResource->flowControl.maxRate = g_resource.flowControl.maxRate; in FtInitConfigGet()
[all …]
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/
H A Dfillp_stack_app_config_in.c29 …if ((globalResource->flowControl.maxRate == 0) || (globalResource->flowControl.maxRate > FILLP_MAX… in FtAppValidateFlowConfig()
34 if ((globalResource->flowControl.maxRecvRate == 0) || in FtAppValidateFlowConfig()
40 if ((globalResource->flowControl.pktSize == 0) || in FtAppValidateFlowConfig()
46 if ((globalResource->flowControl.slowStart != FILLP_TRUE) && in FtAppValidateFlowConfig()
63 … if ((globalResource->udp.txBurst == 0) || (globalResource->udp.txBurst > FILLP_MAX_TX_RX_BURST)) { in FtAppValidateUdpParams()
101 if ((globalResource->common.sendCache == FILLP_NULL) || in FtAppValidateCommParams()
107 if ((globalResource->common.recvCache == FILLP_NULL) || in FtAppValidateCommParams()
171 ret = FtAppValidateUdpParams(globalResource); in FtAppValidateConfigParams()
176 ret = FtAppValidateCommParams(globalResource); in FtAppValidateConfigParams()
181 ret = FtAppValidateTimerParams(globalResource); in FtAppValidateConfigParams()
[all …]
H A Dfillp_stack_app_config.c214 FILLP_INT32 FtAppInitConfigGet(IO FillpAppGlobalConfigsSt *globalResource, IN FILLP_INT sockIndex) in FtAppInitConfigGet() argument
231 CopySockConfig(globalResource, resource); in FtAppInitConfigGet()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/include/
H A Dfillp_stack_app_config_in.h32 FILLP_INT32 FtAppInitConfigGet(IO FillpAppGlobalConfigsSt *globalResource, IN FILLP_INT sockIndex);
33 FILLP_INT32 FtAppInitConfigSet(IN FILLP_CONST FillpAppGlobalConfigsSt *globalResource, IN FILLP_INT…
36 FILLP_INT32 FtAppValidateConfigParams(IN FILLP_CONST FillpAppGlobalConfigsSt *globalResource);
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/
H A Dfillp_stack_config.h35 FILLP_INT32 FtValidateConfigParams(IN FILLP_CONST FillpGlobalConfigsSt *globalResource);