#include "lwip/opt.h"
#include "lwip/tcp.h"
#include "lwip/def.h"
#include "lwip/ip_addr.h"
#include "lwip/netif.h"
#include "lwip/mem.h"
#include "lwip/memp.h"
#include "lwip/inet.h"
#include "lwip/inet_chksum.h"
#include "lwip/stats.h"
#include "lwip/snmp.h"
#include "arch/perf.h"
Go to the source code of this file.
Functions | |
void | tcp_input (struct pbuf *p, struct netif *inp) |
Variables | |
struct tcp_pcb * | tcp_input_pcb |
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).
Definition in file tcp_in.c.
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 |
Definition at line 93 of file tcp_in.c.