- 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 3585cc1a70
commit 386a4b7079
3 changed files with 62 additions and 89 deletions

View File

@@ -70,6 +70,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