有1.3.2版本的可以试试~ LWIP代码这么多,我也没怎么用过的。我看了下tcp_output定义,根据上面注释的意思,应该只是TCP局部函数,用户不需要管的吧?
- /* Only used by IP to pass a TCP segment to TCP: */
- void tcp_input (struct pbuf *p, struct netif *inp);
- /* Used within the TCP code only: */
- err_t tcp_send_empty_ack(struct tcp_pcb *pcb);
- err_t tcp_output (struct tcp_pcb *pcb);
- 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);
|