Home
last modified time | relevance | path

Searched refs:FtSocket (Results 1 - 25 of 37) sorted by relevance

12

/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dsocket_common.h25 void EpollEventCallback(struct FtSocket *sock, FILLP_UINT32 upEvent);
45 void SockFreeSocket(struct FtSocket *sock);
46 struct FtSocket *SockAllocSocket(void);
47 struct FtSocket *SockGetSocket(FILLP_INT sockIndex);
48 FILLP_BOOL SockCanSendData(FILLP_CONST struct FtSocket *sock);
49 FILLP_BOOL SockCanRecvData(struct FtSocket *sock);
50 struct FtSocket *SockApiGetAndCheck(int sockIdx);
51 FILLP_INT SockUpdatePktDataOpt(struct FtSocket *sock, FILLP_UINT16 addFlag, FILLP_UINT16 delFlag);
H A Dsockets.h90 struct FtSocket { struct
151 static __inline struct FtSocket *SockEntryListenSocket(struct HlistNode *node) in SockEntryListenSocket()
153 return (struct FtSocket *)((char *)(node) - (uintptr_t)(&(((struct FtSocket *)0)->listenNode))); in SockEntryListenSocket()
202 struct FtSocket **sockPool;
226 /* Set the blocking status of FtSocket
228 The flag (which contains the socket options is in FtSocket and NOT in netconn CB)
229 is in FtSocket structure, this is because: Application can set the socket to
230 nonblock just after calling FtSocket (before ft_connet/FtAccept), but the
233 void SockSetNonblocking(struct FtSocket *soc
[all...]
H A Dspunge.h154 void SpungeEpollEventCallback(struct FtSocket *sock, FILLP_INT event, FILLP_INT count);
155 void SpungeEpollAppRecvOne(struct FtSocket *sock);
157 void SockSetOsSocket(struct FtSocket *ftSock, struct SockOsSocket *osSock);
H A Dopt.h36 struct FtSocket *ftSock;
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
H A Dsocket_common.c26 struct FtSocket *sock; in EpollUpdateEpEvent()
52 void EpollEventCallback(struct FtSocket *sock, FILLP_UINT32 upEvent) in EpollEventCallback()
162 void SockFreeSocket(struct FtSocket *sock) in SockFreeSocket()
173 struct FtSocket *sock; in SpungeInitSocket()
222 struct FtSocket *sock = FILLP_NULL_PTR; in SpungeAllocFtSock()
228 sock = (struct FtSocket *)SpungeAlloc(1, sizeof(struct FtSocket), SPUNGE_ALLOC_TYPE_CALLOC); in SpungeAllocFtSock()
258 struct FtSocket *SockAllocSocket(void) in SockAllocSocket()
260 struct FtSocket *sock = FILLP_NULL_PTR; in SockAllocSocket()
277 struct FtSocket *SockGetSocke
[all...]
H A Dspunge_message.c78 struct FtSocket *sock = (struct FtSocket *)msg->sock; in SpungeHandleMsgAllocSock()
120 struct FtSocket *sock = FILLP_NULL_PTR; in SpungeHandleMsgFreeSockEagain()
128 sock = (struct FtSocket *)value; in SpungeHandleMsgFreeSockEagain()
139 struct FtSocket **pSock, struct SockOsSocket **pOsSock) in SpungeListenMsgCheckState()
141 struct FtSocket *sock = FILLP_NULL_PTR; in SpungeListenMsgCheckState()
151 sock = (struct FtSocket *)value; in SpungeListenMsgCheckState()
186 struct FtSocket *sock = FILLP_NULL_PTR; in SpungeHandleMsgListen()
230 static FILLP_INT SpungeConnMsgCheckSockState(struct FtSocket *sock, FILLP_INT connState) in SpungeConnMsgCheckSockState()
254 static FILLP_INT SpungeConnMsgGetSock(void *value, struct FtSocket **pSoc
[all...]
H A Dspunge.c35 void SpungeEpollAppRecvOne(struct FtSocket *sock) in SpungeEpollAppRecvOne()
40 void SpungeEpollEventCallback(struct FtSocket *sock, FILLP_INT event, FILLP_INT count) in SpungeEpollEventCallback()
64 void SockSetOsSocket(struct FtSocket *ftSock, struct SockOsSocket *osSock) in SockSetOsSocket()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dspunge_stack.c57 static void SpungeEpollFreeResource(struct FtSocket *sock) in SpungeEpollFreeResource()
71 /* Scan the epoll instance list to which this FtSocket is associated with */ in SpungeEpollFreeResource()
77 struct FtSocket *epollSock = FILLP_NULL_PTR; in SpungeEpollFreeResource()
106 void SpungeFreeAcceptBox(struct FtSocket *sock) in SpungeFreeAcceptBox()
126 void SpungeIncFreeCntPostEagain(struct FtSocket *sock) in SpungeIncFreeCntPostEagain()
145 struct FtSocket *sock = FILLP_NULL_PTR; in RecursiveRbTree()
192 void SpungEpollClose(struct FtSocket *sock) in SpungEpollClose()
237 static void SpungeCloseCBSocket(struct FtSocket *sock) in SpungeCloseCBSocket()
252 void SpungeFreeSock(struct FtSocket *sock) in SpungeFreeSock()
307 struct FtSocket *soc in SpungeShutdownSock()
[all...]
H A Dsysio_udp.c137 struct FtSocket *sock = (struct FtSocket *)argSock; in SysioListenUdp()
211 struct FtSocket *sock = (struct FtSocket *)argSock; in SysioFreeSocketUdp()
491 struct FtSocket *sock = FILLP_NULL_PTR; in SysioGetListenSocketByOssock()
537 struct FtSocket *sock = (struct FtSocket *)argSock; in SysioConnectedUdp()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/
H A Depoll_app.c89 static void EpollAddToSockWaitList(struct FtSocket *sock, struct EpItem *epi) in EpollAddToSockWaitList()
102 struct FtSocket *sock, in EpollCtlTriggleEvent()
147 struct FtSocket *sock, in EpModify()
223 struct FtSocket *sock = FILLP_NULL_PTR; in EpRemove()
326 struct FtSocket *sock, in EpPoll()
452 struct FtSocket *sock = SockGetSocket(fd); in EpInsert()
492 static struct FtSocket *SpungeGetEpollSocketByFd(FILLP_INT epFd) in SpungeGetEpollSocketByFd()
494 struct FtSocket *epollSock = SockGetSocket(epFd); in SpungeGetEpollSocketByFd()
526 static FILLP_INT SpungeEpollCtlCheckSockValid(struct FtSocket *epollSock, struct FtSocket *soc
[all...]
H A Dsocket_opt.c26 static FILLP_INT SockGetOptSendCache(struct FtSocket *sock, void *optVal, FILLP_INT *optLen) in SockGetOptSendCache()
50 static FILLP_INT SockGetSockOptFillp(struct FtSocket *sock, FILLP_INT optName, void *optVal, FILLP_INT *optLen) in SockGetSockOptFillp()
103 struct FtSocket *sock = SockApiGetAndCheck(sockIndex); in SockGetSockOpt()
156 static FILLP_INT SockSetOptTimestamp(struct FtSocket *sock, FILLP_CONST void *optVal, socklen_t optLen) in SockSetOptTimestamp()
177 static FILLP_INT SockSetOptLinger(struct FtSocket *sock, FILLP_CONST void *optVal, socklen_t optLen) in SockSetOptLinger()
194 static FILLP_INT SockSetFcAlg(struct FtSocket *sock, FILLP_UINT32 alg) in SockSetFcAlg()
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 optLen) in SockSetOptDirectlySend()
264 static FILLP_INT SockSetSockOptFillp(struct FtSocket *sock, in SockSetSockOptFillp()
295 struct FtSocket *soc in SockSetSockOpt()
[all...]
H A Dfillp_stack_app_config.c22 static FILLP_INT FillpValidateSockAllocStateWithRdwaitAcquired(struct FtSocket *sock, FILLP_INT sockIndex) in FillpValidateSockAllocStateWithRdwaitAcquired()
35 struct FtSocket *sock = FILLP_NULL_PTR; in FtGetRightAppResourceByIndex()
128 struct FtSocket *sock = FILLP_NULL_PTR; in FtAppInitConfigSet()
216 struct FtSocket *sock = FILLP_NULL_PTR; in FtAppInitConfigGet()
245 static FILLP_INT32 FtInnerValidateAppConfigSet(FILLP_UINT32 name, struct FtSocket *sock, FILLP_INT sockIndex) in FtInnerValidateAppConfigSet()
276 struct FtSocket *sock = FILLP_NULL_PTR; in FtSetConfigApp()
330 static FILLP_INT32 FtCheckSockValid(struct FtSocket *sock) in FtCheckSockValid()
347 static FILLP_INT32 FtGetAppFcPeriodRecvRate(struct FtSocket *sock, FILLP_UINT32 *value) in FtGetAppFcPeriodRecvRate()
361 static FILLP_INT32 FtGetAppFcPeriodRecvRateBps(struct FtSocket *sock, FILLP_ULLONG *value) in FtGetAppFcPeriodRecvRateBps()
374 static FILLP_INT32 FtGetAppFcPeriodRecvPktLost(struct FtSocket *soc
[all...]
H A Dsocket_app.c25 static void SockSetError(struct FtSocket *sock, FillpErrorType err) in SockSetError()
108 struct FtSocket *sock = FILLP_NULL_PTR; in SockSocket()
277 static struct FtSocket *SocketGetForDataTrans(FILLP_INT sockIndex, FILLP_INT flags) in SocketGetForDataTrans()
279 struct FtSocket *sock = FILLP_NULL_PTR; in SocketGetForDataTrans()
312 static struct FillpPcbItem *SockSendReqFpcbItemWithSem(struct FtSocket *sock, FILLP_INT flags) in SockSendReqFpcbItemWithSem()
349 static struct FillpPcbItem *SockSendReqFpcbItemWithoutSem(struct FtSocket *sock, FILLP_INT flags) in SockSendReqFpcbItemWithoutSem()
377 static struct FillpPcbItem *SockSendReqFpcbItem(struct FtSocket *sock, FILLP_INT flags) in SockSendReqFpcbItem()
391 static void SockSendmsgPushOrSendItem(FILLP_CONST struct FtSocket *sock, in SockSendmsgPushOrSendItem()
408 static void SockSendMsgSetItem(struct FillpPcbItem *item, FILLP_CONST struct FtSocket *sock, in SockSendMsgSetItem()
431 static void SockItemSetFrameInfo(struct FillpPcbItem *item, FILLP_CONST struct FtSocket *soc
[all...]
H A Dspunge_app.c24 static FILLP_INT SpungeInitSocket(struct FtSocket *sock) in SpungeInitSocket()
84 struct FtSocket *SpungeAllocSock(FILLP_INT allocType) in SpungeAllocSock()
86 struct FtSocket *sock = FILLP_NULL_PTR; in SpungeAllocSock()
114 void SpungeDelEpInstFromFtSocket(struct FtSocket *sock, FILLP_INT epFd) in SpungeDelEpInstFromFtSocket()
H A Dfillp_stack_app_config_in.c237 struct FtSocket *sock = FILLP_NULL_PTR; in FtAppSetKeepAliveTime()
339 struct FtSocket *sock = FILLP_NULL_PTR; in FtAppConfigSetSendCache()
366 struct FtSocket *sock = FILLP_NULL_PTR; in FtAppConfigSetRecvCache()
430 struct FtSocket *sock = FILLP_NULL_PTR; in FtAppConfigSetOppositeSetRate()
461 struct FtSocket *sock = FILLP_NULL_PTR; in FtAppConfigSetPktSize()
499 struct FtSocket *sock) in FtAppConfigSetSendBufSize()
534 struct FtSocket *sock) in FtAppConfigSetRecvBufSize()
571 struct FtSocket *sock = FILLP_NULL_PTR; in FtAppConfigSetSlowStart()
601 struct FtSocket *sock = SockGetSocket(sockIndex); in FtAppConfigSetMaxRate()
656 struct FtSocket *soc in FtAppEnlargePackInterval()
[all...]
H A Dfillp_dfx.c277 static void FillpDfxSockQosNotify(const struct FtSocket *sock) in FillpDfxSockQosNotify()
311 void FillpDfxSockLinkAndQosNotify(const struct FtSocket *sock, FillpDfxLinkEvtType evtType) in FillpDfxSockLinkAndQosNotify()
489 struct FtSocket *sock = SockApiGetAndCheck(sockIndex); in FillpDumpShowSockResource()
522 static FILLP_INT32 DoShowSockList(FILLP_CONST struct FtSocket *sock, FILLP_CHAR *data, FILLP_UINT32 *len) in DoShowSockList()
560 struct FtSocket *sock = FILLP_NULL_PTR; in FillpDumpShowSockList()
596 static FILLP_INT DoShowSockQos(FILLP_CONST struct FtSocket *sock, FILLP_CHAR *data, FILLP_UINT32 *len) in DoShowSockQos()
625 static struct FtSocket *FillpDfxGetSock(FILLP_INT sockIndex, void *softObj, FillpDfxDumpFunc dump, in FillpDfxGetSock()
628 struct FtSocket *sock = SockApiGetAndCheck(sockIndex); in FillpDfxGetSock()
641 typedef FILLP_INT (*FillpDumpSockDataShowCb)(FILLP_CONST struct FtSocket *sock, FILLP_CHAR *data, FILLP_UINT32 *len);
648 struct FtSocket *soc in FillpDumpShowSockData()
[all...]
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/include/
H A Dspunge_app.h35 struct FtSocket *SpungeAllocSock(FILLP_INT allocType);
36 void SpungeDelEpInstFromFtSocket(struct FtSocket *sock, FILLP_INT epFd);
H A Dfillp_dfx.h43 void FillpDfxSockLinkAndQosNotify(const struct FtSocket *sock, FillpDfxLinkEvtType evtType);
H A Dfillp_stack_app_config_in.h40 IN struct GlobalAppResource *resource, IN FILLP_INT sockIndex, IN struct FtSocket *sock);
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/
H A Dspunge_core.h74 void SpungeFreeAcceptBox(struct FtSocket *sock);
75 void SpungeIncFreeCntPostEagain(struct FtSocket *sock);
77 void SpungeFreeSock(struct FtSocket *sock);
H A Dnet.h114 void NetconnSetSock(struct FtSocket *sock, struct FtNetconn *conn);
117 void FillpHandleConnConfirmAckInput(struct FtSocket *sock, struct FtNetconn *conn,
120 void FillpInitNewconnBySock(struct FtNetconn *conn, FILLP_CONST struct FtSocket *sock);
H A Dspunge_stack.h40 void SpungEpollClose(struct FtSocket *sock);
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_conn.c33 static void FillpConnReqInputTrace(FILLP_CONST struct FillpPcb *pcb, FILLP_CONST struct FtSocket *sock, in FillpConnReqInputTrace()
63 static FILLP_INT FillpConnReqStateCheck(struct FillpPcb *pcb, FILLP_CONST struct FtSocket *sock) in FillpConnReqStateCheck()
97 struct FtSocket *sock = FILLP_GET_SOCKET(pcb); in FillpConnReqInput()
403 static void FillpConnReqAckTrace(struct FtSocket *sock, struct FillpPktHead *pktHdr) in FillpConnReqAckTrace()
430 struct FtSocket *sock = FILLP_GET_SOCKET(pcb); in FillpConnReqAckInput()
494 struct FtSocket *sock = (struct FtSocket *)newConn->sock; in FillpInitNewPcbByNewConn()
548 void FillpInitNewconnBySock(struct FtNetconn *conn, FILLP_CONST struct FtSocket *sock) in FillpInitNewconnBySock()
568 struct FtSocket *sock = (struct FtSocket *)con in FillpInitNewConnByConfirm()
[all...]
H A Dfillp_input.c35 static void FillpCalRecvJitter(struct FtSocket *sock, FILLP_LLONG arrival, FILLP_LLONG receiveTransmit) in FillpCalRecvJitter()
63 (((struct FtSocket *)conn->sock)->resConf.common.enlargePackIntervalFlag == FILLP_TRUE && in FillpChangePackInteval()
78 struct FtSocket *sock = FILLP_GET_SOCKET(pcb); in FillpProcessDataOptions()
333 static void FillpNackInputTrace(FILLP_CONST struct FtSocket *sock, FILLP_CONST struct FillpPktNack *nack, in FillpNackInputTrace()
435 struct FtSocket *ftSock = (struct FtSocket *)FILLP_GET_CONN(pcb)->sock; in FillpNackInput()
512 struct FtSocket *ftSock; in FillpPackInputSendMsgTrace()
597 struct FtSocket *ftSock = FILLP_NULL_PTR; in FillpHandleAdhocpackFlag()
653 static void FillpChangePackInterval(struct FillpPcb *pcb, FILLP_CONST struct FtSocket *sock, in FillpChangePackInterval()
678 struct FtSocket *soc in FillpHandlePackFlag()
[all...]
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/fillp/
H A Dfillp_common.h37 #define FILLP_GET_SOCKET(pcb) ((struct FtSocket*)(FILLP_GET_CONN(pcb)->sock))
54 void FillpBuildAndSendPack(struct FillpPcb *pcb, struct FtSocket *ftSock, struct FillpPktPack *pack,

Completed in 14 milliseconds

12