Home
last modified time | relevance | path

Searched refs:FILLP_CONST (Results 1 – 25 of 49) sorted by relevance

12

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/
H A Dfillp_stack_config_in.h27 FILLP_INT32 FtConfigSetRxBurst(IN FILLP_CONST void *value);
30 FILLP_INT32 FtConfigSetCpuCoreUse(IN FILLP_CONST void *value);
31 FILLP_INT32 FtConfigSetMaxSockNum(IN FILLP_CONST void *value);
33 FILLP_INT32 FtConfigSetFullCpu(IN FILLP_CONST void *value);
37 FILLP_INT32 FtConfigSetAlg(IN FILLP_CONST void *value);
39 FILLP_INT32 FtConfigSetInitialRate(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);
[all …]
H A Dsysio.h29 …int (*send)(void *arg, FILLP_CONST char *buf, FILLP_SIZE_T size, FILLP_SOCKADDR *dest, FILLP_UINT1…
30 void *(*recv)(void *arg, FILLP_CONST void *buf, void *databuf);
49 …int (*setsockopt)(void *argSock, FILLP_INT level, FILLP_INT optName, FILLP_CONST void *optVal, soc…
H A Dnet.h118 struct FillpPcb *pcb, FILLP_CONST struct NetBuf *p);
120 void FillpInitNewconnBySock(struct FtNetconn *conn, FILLP_CONST struct FtSocket *sock);
121 void FillpConnConfirmInput(struct FillpPcb *pcb, FILLP_CONST struct NetBuf *p, struct SpungeInstanc…
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_mgt_msg_log.c37 static FILLP_CONST FILLP_CHAR *g_fillpTypeStr[] = {
82 FillpHeaderNtoH(&hdr, (FILLP_CONST struct FillpPktHead *)req->head, direction); in FillpConnReqLog()
100 FILLP_CONST FILLP_CHAR *bitmapStr[], size_t bitmapStrSize) in FillpBitmapFormat()
129 FILLP_CONST FILLP_CHAR *characterStr[] = { "HRBB", "PKT_IVAR" }; in FillpExtParaCharacterFormat()
150 FILLP_CONST FILLP_CHAR *fcAlgStr[] = { "ALG_1", "ALG_2", "ALG_3", "ALG_MSG" }; in FillpExtParaFcAlgFormat()
163 FILLP_CONST struct FtNetconn *conn, FILLP_CHAR *buf, size_t len) = {
200FILLP_CONST struct FillpConnReqAckClient *ack, FILLP_CONST FILLP_UCHAR *extPara, FILLP_INT extPara… in FillpConnReqAckRxLog()
213 FILLP_CONST FILLP_UCHAR *extPara, FILLP_INT extParaLen) in FillpConnReqAckTxLog()
228 FILLP_CONST FILLP_UCHAR *extPara, FILLP_INT extParaLen) in FillpConnConfirmRxLog()
293 FILLP_CONST struct FillpPktConnConfirmAck *confirmAck, FILLP_INT direction) in FillpConnConfirmAckLog()
[all …]
H A Dfillp_conn.c33 static void FillpConnReqInputTrace(FILLP_CONST struct FillpPcb *pcb, FILLP_CONST struct FtSocket *s… in FillpConnReqInputTrace()
560FILLP_CONST struct FillpPktConnConfirm *confirm, FILLP_CONST struct FtNetconn *conn, FILLP_CONST s… in FillpInitNewConnByConfirm()
632 FILLP_CONST struct FillpPktConnConfirm *confirm, FILLP_CONST struct FtNetconn *conn, in FillpProcessConnConfirm()
812 FILLP_CONST struct NetBuf *p) in FillpHandleConnConfirmAckInput()
940FILLP_CONST struct sockaddr_in *ipv4Addr = (FILLP_CONST struct sockaddr_in *)&confirmAck->remoteAd… in FillpCheckandcopyConfirmAckAddr()
941FILLP_CONST struct sockaddr_in *bind4Addr = (FILLP_CONST struct sockaddr_in *)&spcb->localAddr; in FillpCheckandcopyConfirmAckAddr()
951FILLP_CONST struct sockaddr_in6 *ipv6Addr = (FILLP_CONST struct sockaddr_in6 *)&confirmAck->remote… in FillpCheckandcopyConfirmAckAddr()
952FILLP_CONST struct sockaddr_in6 *bind6Addr = (FILLP_CONST struct sockaddr_in6 *)&spcb->localAddr; in FillpCheckandcopyConfirmAckAddr()
1089 struct FtNetconn *conn, FILLP_CONST struct NetBuf *p, FILLP_CONST struct FillpFinFlags *flags) in ConnectingHandleFinInput()
1148 static void FillpFinInputTrace(FILLP_CONST struct FtSocket *sock, FILLP_CONST struct NetBuf *p) in FillpFinInputTrace()
[all …]
H A Dfillp_input.c153 FILLP_CONST struct FillpPktHead *pktHdr) in FillpProcessItemData()
298 static int FillpCheckNackPacket(FILLP_CONST struct FillpPcb *pcb, FILLP_CONST struct NetBuf *p) in FillpCheckNackPacket()
315 IGNORE_OVERFLOW static int FillpCheckNackSeq(FILLP_CONST struct FillpPcb *pcb, in FillpCheckNackSeq()
316 FILLP_CONST struct FillpPktHead *pktHdr, FILLP_CONST struct FillpSeqPktNum *seqPktNum) in FillpCheckNackSeq()
333 static void FillpNackInputTrace(FILLP_CONST struct FtSocket *sock, FILLP_CONST struct FillpPktNack … in FillpNackInputTrace()
334 FILLP_CONST struct FillpPktHead *pktHdr) in FillpNackInputTrace()
433 static void FillpNackInput(struct FillpPcb *pcb, FILLP_CONST struct NetBuf *p) in FillpNackInput()
509 static void FillpPackInputSendMsgTrace(FILLP_CONST struct FillpPcb *pcb, FILLP_CONST struct FillpPk… in FillpPackInputSendMsgTrace()
510 FILLP_CONST struct FillpPktPack *pack) in FillpPackInputSendMsgTrace()
654 FILLP_CONST struct FillpPktPack *pack) in FillpChangePackInterval()
[all …]
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dfillp_stack_config_in.c37 FILLP_INT32 FtConfigSetRxBurst(IN FILLP_CONST void *value) in FtConfigSetRxBurst()
80 FILLP_INT32 FtConfigSetCpuCoreUse(IN FILLP_CONST void *value) in FtConfigSetCpuCoreUse()
93 FILLP_INT32 FtConfigSetMaxSockNum(IN FILLP_CONST void *value) in FtConfigSetMaxSockNum()
137 FILLP_INT32 FtConfigSetFullCpu(IN FILLP_CONST void *value) in FtConfigSetFullCpu()
190 FILLP_INT32 FtConfigSetAlg(IN FILLP_CONST void *value) in FtConfigSetAlg()
218 FILLP_INT32 FtConfigSetInitialRate(IN FILLP_CONST void *value) in FtConfigSetInitialRate()
263 FILLP_INT32 FtConfigSetMaxRate(IN FILLP_CONST void *value) in FtConfigSetMaxRate()
276 FILLP_INT32 FtConfigSetLimitRate(IN FILLP_CONST void *value) in FtConfigSetLimitRate()
288 FILLP_INT32 FtConfigSetMaxRecvRate(IN FILLP_CONST void *value) in FtConfigSetMaxRecvRate()
301 FILLP_INT32 FtConfigSetSendCache(IN FILLP_CONST void *value) in FtConfigSetSendCache()
[all …]
H A Dfillp_stack_config.c77 static FILLP_INT32 FtInitConfigSet(IN FILLP_CONST FillpGlobalConfigsSt *globalResource) in FtInitConfigSet()
293 IN FILLP_CONST void *param) in FtGetConfigStack()
316 IN FILLP_CONST void *value) in FtSetConfigStackHalf1()
369 IN FILLP_CONST void *value) in FtSetConfigStackHalf2()
420 IN FILLP_CONST void *value, in FtSetConfigStack()
421 IN FILLP_CONST void *param) in FtSetConfigStack()
443 IO void *value, IN FILLP_CONST void *param) in FtConfigGet()
468 FILLP_INT32 FtConfigSet(IN FILLP_UINT32 name, IN FILLP_CONST void *value, in FtConfigSet()
469 IN FILLP_CONST void *param) in FtConfigSet()
484 return FtInitConfigSet((FILLP_CONST FillpGlobalConfigsSt *)value); in FtConfigSet()
[all …]
H A Dsysio_udp.c29 FILLP_CONST char *buf,
36 FILLP_CONST struct SockOsSocket *osSock,
37 FILLP_CONST struct Hlist *list);
40 static void *SysioRecvUdp(void *arg, FILLP_CONST void *buf, void *databuf);
86 FILLP_CONST void *optVal,
144 FILLP_CONST char *buf, in SysioSendUdp()
184 FILLP_CONST void *optVal, in SysioSetsockoptUdp()
192 static void *SysioRecvUdp(void *arg, FILLP_CONST void *buf, void *databuf) in SysioRecvUdp()
488 FILLP_CONST struct SockOsSocket *osSock) in SysioGetListenSocketByOssock()
512 FILLP_CONST struct SockOsSocket *osSock, in SysioGetPcbFromRemoteaddrUdp()
[all …]
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/fillp/
H A Dfillp_mgt_msg_log.h32 void FillpPktSimpleLog(FILLP_INT sockIndex, FILLP_CONST struct FillpPktHead *hdrInput, FILLP_INT di…
33 void FillpConnReqLog(FILLP_INT sockIndex, FILLP_CONST struct FillpPktConnReq *req, FILLP_INT direct…
34 void FillpConnReqAckRxLog(FILLP_INT sockIndex, FILLP_CONST struct FillpPktHead *hdr,
35FILLP_CONST struct FillpConnReqAckClient *ack, FILLP_CONST FILLP_UCHAR *extPara, FILLP_INT extPara…
36 void FillpConnReqAckTxLog(FILLP_INT sockIndex, FILLP_CONST struct FillpPktConnReqAck *ack,
37 FILLP_CONST FILLP_UCHAR *extPara, FILLP_INT extParaLen);
38 void FillpConnConfirmRxLog(FILLP_INT sockIndex, FILLP_CONST struct FillpPktConnConfirm *confirm,
39 FILLP_CONST FILLP_UCHAR *extPara, FILLP_INT extParaLen);
40 void FillpConnConfirmTxLog(FILLP_INT sockIndex, FILLP_CONST FILLP_UCHAR *data, FILLP_INT dataLen,
43 FILLP_CONST struct FillpPktConnConfirmAck *confirmAck, FILLP_INT direction);
[all …]
H A Dfillp.h402 void FillpGenerateCookie(IN FILLP_CONST struct FillpPcb *pcb, IN struct FillpPktConnReq *req,
405 FILLP_INT FillpValidateCookie(IN FILLP_CONST struct FillpPcb *pcb, IN FILLP_UINT16 serverPort,
406 IN FILLP_CONST struct sockaddr_in6 *clientAddr, IN FILLP_CONST FillpCookieContent *stateCookie);
408 void FillpSendConnReqAck(struct FillpPcb *pcb, FILLP_CONST FillpCookieContent *stateCookie, FILLP_U…
410 void FillpSendConnConfirm(struct FillpPcb *pcb, FILLP_CONST struct FillpConnReqAckClient *reqAck);
433 void FillpConnReqInput(struct FillpPcb *pcb, FILLP_CONST struct NetBuf *p);
434 void FillpConnReqAckInput(struct FillpPcb *pcb, FILLP_CONST struct NetBuf *p);
435 void FillpConnConnectionEstFailure(struct FillpPcb *pcb, FILLP_CONST struct NetBuf *p);
436 void FillpConnConfirmAckInput(struct FillpPcb *pcb, FILLP_CONST struct NetBuf *p);
438 void FillpFinInput(struct FillpPcb *pcb, FILLP_CONST struct NetBuf *p, FILLP_BOOL *pcbFreed);
[all …]
H A Dfillp_algorithm.h28 typedef void (*fillpAlgAnalysePack)(void *argPcb, FILLP_CONST void *argPack);
29 typedef void (*fillpAlgAnalyseNack)(void *argPcb, FILLP_CONST void *argNack);
30 typedef void (*fillpAlgHdlPackFlag)(void *argPcb, FILLP_CONST void *argPack);
59 void FillpAlg0AnalysePack(void *argPcb, FILLP_CONST void *argPack);
H A Dfillp_pcb.h40 typedef FILLP_INT (*fillpSendFunc)(void *arg, FILLP_CONST char *buf, FILLP_INT size, void *pcb);
41 typedef FILLP_INT (*fillpSendmsgFunc)(void *arg, FILLP_CONST char *buf, FILLP_INT size, void *pcb);
233 static __inline struct FillpPcb *FillpSendNodeEntry(FILLP_CONST struct HlistNode *node) in FillpSendNodeEntry()
264 FILLP_UINT32 FillpGetSockPackInterval(FILLP_CONST struct FillpPcb *pcb);
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/include/
H A Dfillp_stack_app_config_in.h33 FILLP_INT32 FtAppInitConfigSet(IN FILLP_CONST FillpAppGlobalConfigsSt *globalResource, IN FILLP_INT…
34 FILLP_INT32 FtGetConfigApp(IN FILLP_UINT32 name, IO void *value, IN FILLP_CONST void *param);
35 FILLP_INT32 FtSetConfigApp(IN FILLP_UINT32 name, IN FILLP_CONST void *value, IN FILLP_CONST void *p…
36 FILLP_INT32 FtAppValidateConfigParams(IN FILLP_CONST FillpAppGlobalConfigsSt *globalResource);
38 IN FILLP_CONST struct GlobalAppResource *resource);
39 FILLP_INT32 FtInnerAppConfigSet(IN FILLP_UINT32 name, IN FILLP_CONST void *value,
H A Dsocket_app.h38 FillpErrorType SockConnect(FILLP_INT sockIndex, FILLP_CONST struct sockaddr *name, socklen_t nameLe…
40 FillpErrorType SockBind(FILLP_INT sockIndex, FILLP_CONST struct sockaddr *name, FILLP_UINT32 nameLe…
42 FILLP_INT SockSend(FILLP_INT sockIndex, FILLP_CONST void *data, FILLP_SIZE_T size, FILLP_INT flags);
43 FILLP_INT SockSendFrame(FILLP_INT sockIndex, FILLP_CONST void *data, FILLP_SIZE_T size, FILLP_INT f…
44 FILLP_CONST struct FrameInfo *frame);
61 FILLP_INT SockIoctlsocket(FILLP_INT fd, FILLP_SLONG cmd, FILLP_CONST FILLP_INT *val);
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/
H A Dfillp_stack_app_config_in.c204 IN FILLP_CONST void *value, in FtAppTimerConfigSet()
225 IN FILLP_CONST void *value, in FtAppSetKeepAliveTime()
267 IN FILLP_CONST void *value, in FtAppSetConnRetryTimeout()
285 IN FILLP_CONST void *value, in FtAppSetDisconnectRetryTimeout()
316 IN FILLP_CONST void *value, in FtAppConfigSetTxBurst()
334 IN FILLP_CONST void *value, in FtAppConfigSetSendCache()
361 IN FILLP_CONST void *value, in FtAppConfigSetRecvCache()
388 IN FILLP_CONST void *value, in FtAppSetMaxServerSendCache()
406 IN FILLP_CONST void *value, in FtAppSetMaxServeRecvCache()
425 IN FILLP_CONST void *value, in FtAppConfigSetOppositeSetRate()
[all …]
H A Dapi.c64 FILLP_CONST struct sockaddr *name, in FtBind()
93 FILLP_CONST FILLP_SOCKADDR *name, in FtConnect()
153 FILLP_CONST struct FrameInfo *frame) in FtSendFrame()
713 void FillpDebugCmdSetPrintLevel(FILLP_CONST void *content) in FillpDebugCmdSetPrintLevel()
819 void FillpDebugCmdSocketConfigRes(FILLP_CONST void *content) in FillpDebugCmdSocketConfigRes()
920 IN FILLP_CONST void *pContent) in FillpDebugControl()
1067 FILLP_CONST void *optVal, in FtSetSockOpt()
1276 void FtFillpStatTraffic(FILLP_CONST struct FillpStatisticsPcb *pcb) in FtFillpStatTraffic()
1301 IN FILLP_CONST struct FillpStatisticsPcb *pcb) in FtFillpInnerStatShow()
1463 IN FILLP_CONST FillpSysLibCallbackFuncSt *libSysFunc, in FillpApiRegLibSysFunc()
[all …]
H A Dsocket_opt.c156 static FILLP_INT SockSetOptTimestamp(struct FtSocket *sock, FILLP_CONST void *optVal, socklen_t opt… in SockSetOptTimestamp()
165 if (*(FILLP_CONST FILLP_INT *)optVal) { in SockSetOptTimestamp()
177 static FILLP_INT SockSetOptLinger(struct FtSocket *sock, FILLP_CONST void *optVal, socklen_t optLen) in SockSetOptLinger()
234 static FILLP_INT SockSetOptFcAlg(struct FtSocket *sock, FILLP_CONST void *optVal, socklen_t optLen) in SockSetOptFcAlg()
252 static FILLP_INT SockSetOptDirectlySend(struct FtSocket *sock, FILLP_CONST void *optVal, socklen_t … in SockSetOptDirectlySend()
265 FILLP_INT optName, FILLP_CONST void *optVal, socklen_t optLen) in SockSetSockOptFillp()
292 FILLP_CONST void *optVal, in SockSetSockOpt()
H A Dsocket_app.c172 FILLP_CONST struct FrameInfo *frame) in SockSendSetFrameInfo()
184 static FILLP_CONST struct FrameInfo *SockSendGetFrameInfo(struct msghdr *m) in SockSendGetFrameInfo()
196 return (FILLP_CONST struct FrameInfo *)CMSG_DATA(cmsg); in SockSendGetFrameInfo()
203 static void SockSendSetFrameInfo(struct msghdr *m, FILLP_CONST struct FrameInfo *frame) in SockSendSetFrameInfo()
209 static FILLP_CONST struct FrameInfo *SockSendGetFrameInfo(struct msghdr *m) in SockSendGetFrameInfo()
211 return (FILLP_CONST struct FrameInfo *)m->msg_control; in SockSendGetFrameInfo()
216 FILLP_CONST struct FrameInfo *frame) in SockSendFrame()
391 static void SockSendmsgPushOrSendItem(FILLP_CONST struct FtSocket *sock, in SockSendmsgPushOrSendItem()
474 FILLP_CONST struct FrameInfo *frame = SockSendGetFrameInfo(msg); in SockSendmsgDataToBufCache()
1240 FILLP_CONST struct sockaddr *name, FILLP_UINT32 nameLen) in SockBindConnectValidateParams()
[all …]
H A Dfillp_stack_app_config.c62 static FILLP_INT32 FtCheckCofigPar(FILLP_CONST FillpAppGlobalConfigsSt *resource, FILLP_INT sockInd… in FtCheckCofigPar()
77 static void CopyGlobalConfig(FILLP_CONST FillpAppGlobalConfigsSt *globalConfig, struct GlobalAppRes… in CopyGlobalConfig()
126 FILLP_INT32 FtAppInitConfigSet(IN FILLP_CONST FillpAppGlobalConfigsSt *globalConfig, IN FILLP_INT s… in FtAppInitConfigSet()
274 FILLP_INT32 FtSetConfigApp(IN FILLP_UINT32 name, IN FILLP_CONST void *value, IN FILLP_CONST void *p… in FtSetConfigApp()
460 FILLP_INT32 FtGetConfigApp(IN FILLP_UINT32 name, IO void *value, IN FILLP_CONST void *param) in FtGetConfigApp()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/include/
H A Dfillpinc.h77 extern FILLP_INT DLL_API FtSend(FILLP_INT fd, FILLP_CONST void *data, size_t size, FILLP_INT flag);
95 FILLP_CONST struct FrameInfo *frame);
310 FILLP_CONST struct SpungeEpollEvent *event);
365 extern FILLP_INT DLL_API FtIoctl(FILLP_INT fd, FILLP_ULONG cmd, FILLP_CONST FILLP_INT *val);
442 IN FILLP_CONST void *traceHandle);
468 extern FILLP_INT32 DLL_API FtRegTraceCallbackFn(IN FILLP_CONST FillpTraceSend traceFuncCallback);
504 extern void DLL_API FillpDebugControl(IN FILLP_UINT8 command, IN FILLP_CONST void *content);
584 FILLP_CONST void *optValue, socklen_t optLen);
1035 IN FILLP_CONST void *para);
1357 extern FILLP_INT32 DLL_API FtConfigSet(IN FILLP_UINT32 name, IN FILLP_CONST void *value,
[all …]
H A Dfillpcallbacks.h191 IN FILLP_INT optName, IN FILLP_CONST void *optVal, IN FILLP_INT optLen);
246 typedef void *(*FillpMemChrFunc)(IN FILLP_CONST void *fd, IN FILLP_INT c, IN FILLP_SIZE_T n);
575 typedef FILLP_INT32 (*FillpBindSocketFunc)(IN FILLP_INT32 fd, IN FILLP_CONST void *myAddr, IN FILLP…
604 typedef FILLP_INT (*FillpSendtoFunc)(IN FILLP_INT fd, IN FILLP_CONST void *buf,
605 IN FILLP_SIZE_T len, IN FILLP_INT flags, IN FILLP_CONST void *to, IN FILLP_SIZE_T toLen);
620 typedef FILLP_INT (*FillpSendFunc)(IN FILLP_INT fd, IN FILLP_CONST void *buffer,
637 typedef FILLP_INT (*FillpSendFuncmmsg)(IN FILLP_INT fd, IN FILLP_CONST void *buffer,
655 typedef FILLP_INT (*FillpRecvmmsgFunc)(IN FILLP_INT fd, IN FILLP_CONST void *buffer,
684 typedef FILLP_INT32 (*FillpConnectFunc)(IN FILLP_INT32 fd, IN FILLP_CONST void *myAddr,
785 IN FILLP_CONST void *msg, IN FILLP_INT flags);
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dutils.h82 __inline static FILLP_BOOL UtilsIpv6AddrMatch(FILLP_CONST struct sockaddr_in6 *a, FILLP_CONST struc… in UtilsIpv6AddrMatch()
105 static __inline FILLP_BOOL UtilsAddrMatch(FILLP_CONST struct sockaddr_in *addrA, FILLP_CONST struct… in UtilsAddrMatch()
H A Dcallbacks.h89 void *FillpMemChr(IN FILLP_CONST void *s, IN FILLP_INT c, IN FILLP_SIZE_T n);
314 IN FILLP_CONST void *myAddr, /* bind addr */
332 IN FILLP_CONST void *myAddr, /* bind addr */
420 IN FILLP_CONST void *optVal,
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
H A Dfillp_os.c139 …return FILLP_SETSOCKOPT(sock, SOL_SOCKET, SO_SNDBUF, (FILLP_CONST char *)&size, sizeof(FILLP_INT)); in SysArchSetSockSndbuf()
148 …return FILLP_SETSOCKOPT(sock, SOL_SOCKET, SO_RCVBUF, (FILLP_CONST char *)&size, sizeof(FILLP_INT)); in SysArchSetSockRcvbuf()

12