tcp_in.c File Reference


Functions

void tcp_input (struct pbuf *p, struct netif *inp)

Detailed Description

Transmission Control Protocol, incoming traffic

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).


Function Documentation

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()).

Parameters:
p received TCP segment to process (p->payload pointing to the IP header)
inp network interface on which this segment was received


Generated on Sun Mar 23 19:22:46 2008 for lwIP 1.3.0 by  doxygen 1.5.4