Home
last modified time | relevance | path

Searched refs:FILLP_UINT16 (Results 1 – 25 of 41) sorted by relevance

12

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/
H A Dres.h32 FILLP_UINT16 numMsgSend;
41 FILLP_UINT16 maxSockNum;
42 FILLP_UINT16 maxConnNum;
43 FILLP_UINT16 maxInstNum;
59 FILLP_UINT16 nackRepeatTimes;
60 FILLP_UINT16 pktLossAllow;
75 FILLP_UINT16 cpuPauseTime;
78 FILLP_UINT16 minRate;
81 FILLP_UINT16 reserv;
83 FILLP_UINT16 nackRetryLen;
[all …]
H A Dfillp_cookie.h51 FILLP_UINT16 srcPort;
52 FILLP_UINT16 addressType; /* Address type */
73 FILLP_UINT16 srcPort;
74 FILLP_UINT16 addressType; /* Address type */
H A Dpcb.h59 FILLP_UINT16 addrType;
60 FILLP_UINT16 addrLen;
90 void SpungePcbSetAddrType(struct SpungePcb *pcb, FILLP_UINT16 addrType);
H A Dsysio.h29 …id *arg, FILLP_CONST char *buf, FILLP_SIZE_T size, FILLP_SOCKADDR *dest, FILLP_UINT16 destAddrLen);
37 int (*bind)(void *argSock, void *argPcb, FILLP_SOCKADDR *addr, FILLP_UINT16 len);
H A Dnet.h99 struct FtNetconn *FillpNetconnAlloc(FILLP_UINT16 domain, struct SpungeInstance *inst);
108 void NetconnSetAddrType(struct FtNetconn *conn, FILLP_UINT16 addrType);
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/fillp/
H A Dfillp.h96 FILLP_UINT16 dataLen; /* Data Len */
148 FILLP_UINT16 dataLen;
161 FILLP_UINT16 len;
166 FILLP_UINT16 seq;
167 FILLP_UINT16 totalMean;
169 FILLP_UINT16 rsv;
170 FILLP_UINT16 windowMean;
194 FILLP_UINT16 flag;
195 FILLP_UINT16 pktLoss;
225 FILLP_UINT16 flag;
[all …]
H A Dfillp_frame.h32 FILLP_UINT16 seqNum;
113 FILLP_UINT16 FillpFrameBuildOption(const struct FillpPcbItem *item, FILLP_UINT8 *option);
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/include/
H A Dfillpinc.h772 FILLP_UINT16 cpuPauseTime;
775 FILLP_UINT16 minRate;
778 FILLP_UINT16 reserv;
781 FILLP_UINT16 reserved;
793 FILLP_UINT16 rxBurst;
809 FILLP_UINT16 maxSockNum;
897 FILLP_UINT16 txBurst;
934 FILLP_UINT16 paddShort;
962 FILLP_UINT16 pktSize;
991 FILLP_UINT16 reserveExt;
[all …]
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dfillp_stack_config_in.c39 FILLP_UINT16 configValue = *(FILLP_UINT16 *)value; in FtConfigSetRxBurst()
95 FILLP_UINT16 configValue; in FtConfigSetMaxSockNum()
101 configValue = *(FILLP_UINT16 *)value; in FtConfigSetMaxSockNum()
117 FILLP_UINT16 configValue; in FtConfigSetMaxConnectionNum()
124 configValue = *(FILLP_UINT16 *)value; in FtConfigSetMaxConnectionNum()
166 FILLP_UINT16 configValue = *(FILLP_UINT16 *)value; in FtConfigSetOppositeSetPercentage()
179 FILLP_UINT16 configValue = *(FILLP_UINT16 *)value; in FtConfigSetNackRepeatTimes()
206 FILLP_UINT16 configValue = *(FILLP_UINT16 *)value; in FtConfigSetPktLossAllow()
237 FILLP_UINT16 configValue = *(FILLP_UINT16 *)value; in FtConfigSetMaxRatePercentage()
H A Dfillp_stack_config.c133 globalResource->udp.rxBurst = (FILLP_UINT16)g_resource.udp.rxBurst; in FtInitConfigGet()
165 *(FILLP_UINT16 *)value = g_resource.udp.rxBurst; in FtGetConfigStackHalf1()
178 *(FILLP_UINT16 *)value = g_resource.common.maxSockNum; in FtGetConfigStackHalf1()
182 *(FILLP_UINT16 *)value = g_resource.common.maxConnNum; in FtGetConfigStackHalf1()
191 *(FILLP_UINT16 *)value = g_resource.flowControl.oppositeSetPercentage; in FtGetConfigStackHalf1()
200 *(FILLP_UINT16 *)value = g_resource.flowControl.nackRepeatTimes; in FtGetConfigStackHalf1()
208 *(FILLP_UINT16 *)value = g_resource.flowControl.pktLossAllow; in FtGetConfigStackHalf1()
226 *(FILLP_UINT16 *)value = g_resource.flowControl.maxRatePercentage; in FtGetConfigStackHalf2()
246 *(FILLP_UINT16 *)value = g_resource.common.recvCachePktNumBufferTimeout; in FtGetConfigStackHalf2()
390 FILLP_UINT16 usTempTimerValue = *(FILLP_UINT16 *)value; in FtSetConfigStackHalf2()
H A Dpcb.c89 FILLP_UINT16 *valp = FILLP_NULL_PTR; in SendUdpSegmentCmsg()
92 cm->cmsg_len = CMSG_LEN(sizeof(FILLP_UINT16)); in SendUdpSegmentCmsg()
93 valp = (FILLP_UINT16 *)(void *)CMSG_DATA(cm); in SendUdpSegmentCmsg()
101 FILLP_CHAR control[CMSG_SPACE(sizeof(FILLP_UINT16))] = {0}; in SpungePcbSendmsgInner()
159 FILLP_UINT16 cfgMss = CFG_MSS; in SpungePcbSendmsg()
278 void SpungePcbSetAddrType(struct SpungePcb *pcb, FILLP_UINT16 addrType) in SpungePcbSetAddrType()
H A Dsysio_udp.c32 FILLP_UINT16 destAddrLen);
46 static int SysioBindUdp(void *argSock, void *argPcb, FILLP_SOCKADDR *addr, FILLP_UINT16 len);
147 FILLP_UINT16 destAddrLen) in SysioSendUdp()
364 static int SysioBindUdp(void *argSock, void *argPcb, FILLP_SOCKADDR *addr, FILLP_UINT16 len) in SysioBindUdp()
H A Dnet.c87 void NetconnSetAddrType(struct FtNetconn *conn, FILLP_UINT16 addrType) in NetconnSetAddrType()
107 struct FtNetconn *FillpNetconnAlloc(FILLP_UINT16 domain, struct SpungeInstance *inst) in FillpNetconnAlloc()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dsockets.h61 FILLP_UINT16 reserve; /* Now not used, need to remove it */
62 FILLP_UINT16 connRetryTimeout; /* Testability addition in the code it is 10. */
76 FILLP_UINT16 pktSize; /* default pkt size to cal flow rate */
124 FILLP_UINT16 dataOptionFlag;
125 FILLP_UINT16 dataOptionSize;
129 FILLP_UINT16 sockAddrType;
132 FILLP_UINT16 flags;
244 FILLP_INT SysSetThreadName(FILLP_CHAR *name, FILLP_UINT16 nameLen);
H A Dutils.h52 __inline static FILLP_UINT32 UtilsIpv4AddrPortKey(FILLP_UINT16 port, struct sockaddr_in *remoteAddr) in UtilsIpv4AddrPortKey()
57 __inline static FILLP_UINT32 UtilsIpv6AddrPortKey(FILLP_UINT16 port, struct sockaddr_in6 *remoteAdd… in UtilsIpv6AddrPortKey()
76 return UtilsIpv4AddrPortKey((FILLP_UINT16)port, addr); in UtilsAddrHashKey()
78 return UtilsIpv6AddrPortKey((FILLP_UINT16)port, (struct sockaddr_in6 *)addr); in UtilsAddrHashKey()
H A Dsocket_common.h51 FILLP_INT SockUpdatePktDataOpt(struct FtSocket *sock, FILLP_UINT16 addFlag, FILLP_UINT16 delFlag);
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
H A Dcheck_gso_support.c39 FILLP_CHAR ctrl[CMSG_SPACE(sizeof(FILLP_UINT16))] = {0}; in SendUdpSegment()
43 FILLP_UINT16 *valp = FILLP_NULL_PTR; in SendUdpSegment()
71 cm->cmsg_len = CMSG_LEN(sizeof(FILLP_UINT16)); in SendUdpSegment()
72 valp = (FILLP_UINT16 *)(void *)CMSG_DATA(cm); in SendUdpSegment()
H A Dsocket_common.c353 FILLP_INT SockUpdatePktDataOpt(struct FtSocket *sock, FILLP_UINT16 addFlag, FILLP_UINT16 delFlag) in SockUpdatePktDataOpt()
355 FILLP_UINT16 dataOptLen = 0; in SockUpdatePktDataOpt()
356 FILLP_UINT16 dataOptFlag = (sock->dataOptionFlag | addFlag) & ~(delFlag); in SockUpdatePktDataOpt()
365 dataOptLen += (FILLP_UINT16)(FILLP_DATA_OPT_HLEN + FILLP_OPT_TIMESTAMP_LEN); in SockUpdatePktDataOpt()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_mgt_msg_log.c25 #define FILLP_COOKIE_TAG_AND_LEN_SIZE (sizeof(FILLP_UINT16) + sizeof(FILLP_UINT16))
71 FILLP_UINT16 type = FILLP_PKT_GET_TYPE(hdr.flag); in FillpPktSimpleLog()
258 FILLP_UINT16 tagCookie = *(FILLP_UINT16 *)(data + FILLP_HLEN); in FillpConnConfirmTxLog()
260 FILLP_UINT16 cookieLen = *(FILLP_UINT16 *)(data + FILLP_HLEN + sizeof(FILLP_UINT16)); in FillpConnConfirmTxLog()
H A Dfillp_conn.c95 FILLP_UINT16 flag; in FillpConnReqInput()
322 buf = buf + sizeof(FILLP_UINT16); in FillpConnReqAckClientBuild()
323 *len += sizeof(FILLP_UINT16); in FillpConnReqAckClientBuild()
326 buf = buf + sizeof(FILLP_UINT16); in FillpConnReqAckClientBuild()
327 *len += sizeof(FILLP_UINT16); in FillpConnReqAckClientBuild()
565 FILLP_UINT16 addrLen = 0; in FillpInitNewConnByConfirm()
1154 FILLP_UINT16 flag; in FillpFinInputTrace()
1437 FILLP_UINT16 dataLen = 0; in FillpSendConnReqAckBuild()
1472 dataLen += (FILLP_UINT16)ret; in FillpSendConnReqAckBuild()
1483 dataLen += (FILLP_UINT16)ret; in FillpSendConnReqAckBuild()
[all …]
H A Dfillp_input.c110 FILLP_UINT16 datOptLen; in FillpAnalysisDataOptions()
111 FILLP_UINT16 curOptLen; in FillpAnalysisDataOptions()
121 datOptLen = *(FILLP_UINT16 *)datOptAddr; in FillpAnalysisDataOptions()
123 item->dataOptLen = (FILLP_UINT16)(datOptLen + FILLP_DATA_OFFSET_LEN); in FillpAnalysisDataOptions()
124 *(FILLP_UINT16 *)datOptAddr = datOptLen; in FillpAnalysisDataOptions()
131 datOptAddr += (FILLP_UINT16)FILLP_DATA_OFFSET_LEN; in FillpAnalysisDataOptions()
134 curOptLen = (FILLP_UINT16)((FILLP_UINT16)dataOption->len + FILLP_DATA_OPT_HLEN); in FillpAnalysisDataOptions()
524 FILLP_UINT16 traceMsgLen = sizeof(struct FillpPktPack); in FillpPackInputSendMsgTrace()
552 traceMsgLen = pktHdr->dataLen + (FILLP_UINT16)FILLP_HLEN; in FillpPackInputSendMsgTrace()
793 FILLP_UINT16 flag) in FillpHdlConnect()
[all …]
H A Dfillp_output.c201 static FILLP_UINT16 FillpBuildTimestamp(FILLP_CHAR *dataOptionPtr) in FillpBuildTimestamp()
216 return (FILLP_UINT16)(FILLP_DATA_OPT_HLEN + FILLP_OPT_TIMESTAMP_LEN); in FillpBuildTimestamp()
222 FILLP_UINT16 offset = 0; in FillpBuildPktDataOptions()
233 *(FILLP_UINT16 *)(dataOptionAddr) = FILLP_HTONS(offset); in FillpBuildPktDataOptions()
242 FILLP_UINT16 flag = 0; in FillpBuildDataPkt()
255 FillpBuildPktDataOptions(pcb, item, sendBuf->p + (FILLP_UINT16)FILLP_HLEN); in FillpBuildDataPkt()
489 FILLP_UINT16 dataLen = 0; in FillpSendPack()
H A Dfillp_frame.c163 FILLP_UINT16 FillpFrameBuildOption(const struct FillpPcbItem *item, FILLP_UINT8 *option) in FillpFrameBuildOption()
177 frameOpt->seqNum = FILLP_HTONS((FILLP_UINT16)info->seqNum); in FillpFrameBuildOption()
186 return (FILLP_UINT16)(FILLP_DATA_OPT_HLEN + FILLP_OPT_FRAME_INFO_LEN); in FillpFrameBuildOption()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/
H A Dfillp_stack_app_config_in.c271 FILLP_UINT16 usTempTimerValue; in FtAppSetConnRetryTimeout()
273 usTempTimerValue = *(FILLP_UINT16 *)value; in FtAppSetConnRetryTimeout()
320 FILLP_UINT16 configValue; in FtAppConfigSetTxBurst()
322 configValue = *(FILLP_UINT16 *)value; in FtAppConfigSetTxBurst()
460 FILLP_UINT16 configValue; in FtAppConfigSetPktSize()
463 configValue = *(FILLP_UINT16 *)value; in FtAppConfigSetPktSize()
466 FILLP_UINT16 dataOptionAreaSize = 0; in FtAppConfigSetPktSize()
469 dataOptionAreaSize = (FILLP_UINT16)(sock->dataOptionSize + FILLP_DATA_OFFSET_LEN); in FtAppConfigSetPktSize()
957 *(FILLP_UINT16 *)value = resource->common.connRetryTimeout; in FtInnerAppConfigGetHelper()
1043 *(FILLP_UINT16 *)value = (FILLP_UINT16)resource->udp.txBurst; in FtInnerAppConfigGet()
[all …]
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/
H A Dvtp_instance.cpp124 FILLP_UINT16 maxSocketNums = MAX_DEFAULT_SOCKET_NUM; in PreSetFillpCoreParams()
131 FILLP_UINT16 maxConnectionNums = MAX_DEFAULT_SOCKET_NUM; // keep same with the nums of socket. in PreSetFillpCoreParams()

12