- moved processing of refused_data to an own function (used from tcp_fasttmr and tcp_input);

- improved readability of tcp_slowtmr by using defines to access keepalive variables
This commit is contained in:
goldsimon
2011-10-23 18:10:46 +02:00
parent 78f0307246
commit 0fb07ba328
3 changed files with 60 additions and 72 deletions

View File

@@ -72,6 +72,7 @@ void tcp_rexmit (struct tcp_pcb *pcb);
void tcp_rexmit_rto (struct tcp_pcb *pcb);
void tcp_rexmit_fast (struct tcp_pcb *pcb);
u32_t tcp_update_rcv_ann_wnd(struct tcp_pcb *pcb);
err_t tcp_process_refused_data(struct tcp_pcb *pcb);
/**
* This is the Nagle algorithm: try to combine user data to send as few TCP