BUG26301 and BUG26267: correct simultaneous close behaviour, and make

snd_nxt have the same meaning as in the RFCs.
This commit is contained in:
kieranm
2009-06-25 09:57:36 +00:00
parent aefeba3fc0
commit c232edb83a
4 changed files with 33 additions and 53 deletions

View File

@@ -338,12 +338,11 @@ struct tcp_pcb {
u16_t ssthresh;
/* sender variables */
u32_t snd_nxt, /* next seqno to be sent */
snd_max; /* Highest seqno sent. */
u32_t snd_nxt; /* next new seqno to be sent */
u16_t snd_wnd; /* sender window */
u32_t snd_wl1, snd_wl2, /* Sequence and acknowledgement numbers of last
u32_t snd_wl1, snd_wl2; /* Sequence and acknowledgement numbers of last
window update. */
snd_lbb; /* Sequence number of next byte to be buffered. */
u32_t snd_lbb; /* Sequence number of next byte to be buffered. */
u16_t acked;