Home
last modified time | relevance | path

Searched refs:nack (Results 1 - 7 of 7) sorted by relevance

/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_common.c442 static void FillpSendRepaetNack(struct FillpPcb *pcb, struct FillpPktNack *nack) in FillpSendRepaetNack() argument
449 (void)memcpy_s(&(nackTest.nack), sizeof(struct FillpPktNack), nack, sizeof(struct FillpPktNack)); in FillpSendRepaetNack()
474 struct FillpPktNack *nack = pcb->send.retryNackQueue[pcb->send.retryIndex]; in FillpSendNack() local
476 if (nack == FILLP_NULL_PTR) { in FillpSendNack()
477 nack = SpungeAlloc(1, sizeof(struct FillpPktNack), SPUNGE_ALLOC_TYPE_CALLOC); in FillpSendNack()
478 if (nack == FILLP_NULL_PTR) { in FillpSendNack()
479 FILLP_LOGERR("fail to allocate memory for retry nack queue"); in FillpSendNack()
482 pcb->send.retryNackQueue[pcb->send.retryIndex] = nack; in FillpSendNack()
485 nack in FillpSendNack()
[all...]
H A Dfillp_pcb.c186 fpcb->statistics.nack.historyNackQueueLen = FILLP_DEFAULT_NACK_RETRY_LEN; in InitSimplePcbPar()
187 pcb->retryNackQueue = SpungeAlloc(fpcb->statistics.nack.historyNackQueueLen, sizeof(struct FillpPktNack *), in InitSimplePcbPar()
190 FILLP_LOGERR("fail to allocate memory for history nack queue"); in InitSimplePcbPar()
397 pcb->nack.nackHistorySendQueueNum = 0; in InitSimpleStatics()
398 pcb->nack.currentHistoryNackNum = 0; in InitSimpleStatics()
399 pcb->nack.nackSendTime = fpcb->pcbInst->curTime; in InitSimpleStatics()
407 if (pcb->nack.nackInterval == 0) { in FillpInitStastics()
408 pcb->nack.nackInterval = FILLP_MIN_NACK_INTERVAL; in FillpInitStastics()
412 pcb->nack.nackDelayTimeout = (pcb->pack.packInterval > FILLP_INTERVAL_THRESHOLD) ? in FillpInitStastics()
615 for (i = 0; i < fpcb->statistics.nack in FillpPcbRemoveSend()
[all...]
H A Dfillp_input.c303 FILLP_LOGWAR("fillp_sock_id:%d, Invalid nack request, len = %d", FILLP_GET_SOCKET(pcb)->index, p->len); in FillpCheckNackPacket()
325 /* use to ignore the redundant nack packet */ in FillpCheckNackSeq()
333 static void FillpNackInputTrace(FILLP_CONST struct FtSocket *sock, FILLP_CONST struct FillpPktNack *nack, in FillpNackInputTrace() argument
347 tmpNack.lastPktNum = nack->lastPktNum; in FillpNackInputTrace()
445 struct FillpPktNack *nack = &nackReq->nack; in FillpNackInput() local
450 struct FillpPktHead *pktHdr = (struct FillpPktHead *)nack->head; in FillpNackInput()
451 seqPktNum.endPktNum = FILLP_NTOHL(nack->lastPktNum); in FillpNackInput()
464 FillpNackInputTrace(ftSock, nack, pktHdr); in FillpNackInput()
487 FillpFcNackInput(pcb, nack); in FillpNackInput()
[all...]
H A Dfillp_flow_control.c245 void FillpFcNackInput(struct FillpPcb *pcb, struct FillpPktNack *nack) in FillpFcNackInput() argument
248 pcb->algFuncs.analysisNack(pcb, (void *)nack); in FillpFcNackInput()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/fillp/
H A Dfillp_flow_control.h60 void FillpFcNackInput(struct FillpPcb *pcb, struct FillpPktNack *nack);
H A Dfillp.h65 #define FILLP_ITEM_RESEND_TRIGGER_NACK 0X01 /* item resend triggered by nack */
68 #define FILLP_ITEM_RESEND_TRIGGER_HNACK 0X04 /* item resend triggered by history nack */
235 struct FillpPktNack nack; member
/foundation/communication/dsoftbus/components/nstackx/fillp/include/
H A Dfillpinc.h708 FT_CONF_NACK_REPEAT_TIMES, /* Indicates about the nack control packet repeat count */
936 /* Indicates the duration for delaying nack packet. Minimum Value: greater than or equal to (10000 << 3)
1251 struct FillpNackStastics nack; /* Indicates the NACK statistics. */ member

Completed in 9 milliseconds