This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: TCP stack not delaying/piggybacking ACKs?


Grant Edwards wrote:
> Why ACKs aren't being delayed is apparently a different issue...

Maybe your host is setting the PUSH bit in packets it sends? From
tcp_input.c:

                        if (th->th_flags & TH_PUSH)
                                tp->t_flags |= TF_ACKNOW;
                        else
                                tp->t_flags |= TF_DELACK;


i.e. packets with the PUSH bit set are ACKed immediately, others (as
long as they are in sequence) get a delayed ACK.

Martin

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]