1 /* 2 * Copyright (C) 2022 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #ifndef FILLP_STACK_CONFIG_IN_H 17 #define FILLP_STACK_CONFIG_IN_H 18 19 #include "res.h" 20 #include "spunge.h" 21 #include "spunge_stack.h" 22 23 #ifdef __cplusplus 24 extern "C" { 25 #endif /* __cplusplus */ 26 27 FILLP_INT32 FtConfigSetRxBurst(IN FILLP_CONST void *value); 28 FILLP_INT32 FtConfigSetRecvCachePktNumBufferSize(IN FILLP_CONST void *value); 29 FILLP_INT32 FtConfigSetOutOfOrderCacheFeature(IN FILLP_CONST void *value); 30 FILLP_INT32 FtConfigSetCpuCoreUse(IN FILLP_CONST void *value); 31 FILLP_INT32 FtConfigSetMaxSockNum(IN FILLP_CONST void *value); 32 FILLP_INT32 FtConfigSetMaxConnectionNum(IN FILLP_CONST void *value); 33 FILLP_INT32 FtConfigSetFullCpu(IN FILLP_CONST void *value); 34 FILLP_INT32 FtConfigSetFullCpuUseThresholdRate(IN FILLP_CONST void *value); 35 FILLP_INT32 FtConfigSetOppositeSetPercentage(IN FILLP_CONST void *value); 36 FILLP_INT32 FtConfigSetNackRepeatTimes(IN FILLP_CONST void *value); 37 FILLP_INT32 FtConfigSetAlg(IN FILLP_CONST void *value); 38 FILLP_INT32 FtConfigSetPktLossAllow(IN FILLP_CONST void *value); 39 FILLP_INT32 FtConfigSetInitialRate(IN FILLP_CONST void *value); 40 FILLP_INT32 FtConfigSetMaxRatePercentage(IN FILLP_CONST void *value); 41 FILLP_INT32 FtConfigSetSupportFairness(IN FILLP_CONST void *value); 42 FILLP_INT32 FtConfigSetMaxRate(IN FILLP_CONST void *value); 43 FILLP_INT32 FtConfigSetLimitRate(IN FILLP_CONST void *value); 44 FILLP_INT32 FtConfigSetMaxRecvRate(IN FILLP_CONST void *value); 45 FILLP_INT32 FtConfigSetSendCache(IN FILLP_CONST void *value); 46 FILLP_INT32 FtConfigSetRecvCache(IN FILLP_CONST void *value); 47 48 #ifdef __cplusplus 49 } 50 #endif /* __cplusplus */ 51 52 #endif /* FILLP_STACK_CONFIG_IN_H */ 53