|
From: | Gary Olson |
Subject: | [lwip-users] Where are TCP PCB Flags Initialized? |
Date: | Mon, 20 Oct 2008 14:36:39 -0400 |
Hi, Looking in tcp.c I see this tcp_recved(struct tcp_pcb *pcb, u16_t len) { //int ackNow = 0; if ((u32_t)pcb->rcv_wnd + len >
TCP_WND) { pcb->rcv_wnd = TCP_WND; } else { pcb->rcv_wnd += len; } if (!(pcb->flags & TF_ACK_DELAY)
&&
!(pcb->flags & TF_ACK_NOW)) Ect. What
I am looking for is where the pcb->flags is initialized. I am wanting
to change the pcb->flags from TF_ACK_DELAY to TF_ACK_NOW. I
want to see if the behavior changes if I change the value. I am running
TCP on Xilinx. Basically the echo.c test. Thank
You,
Gary Olson |
[Prev in Thread] | Current Thread | [Next in Thread] |