|void||tcp_input (struct pbuf *p, struct netif *inp)|
The input processing functions of the TCP layer.
These functions are generally called in the order (ip_input() ->) tcp_input() -> * tcp_process() -> tcp_receive() (-> application).
|void tcp_input||(||struct pbuf *||p,|
|struct netif *||inp|
The initial input processing of TCP. It verifies the TCP header, demultiplexes the segment between the PCBs and passes it on to tcp_process(), which implements the TCP finite state machine. This function is called by the IP layer (in ip_input()).
|p||received TCP segment to process (p->payload pointing to the IP header)|
|inp||network interface on which this segment was received|