📄 tcp_in.c
字号:
/* tcp_in.c - tcp_in */#include <conf.h>#include <kernel.h>#include <network.h>#include <ports.h>/*------------------------------------------------------------------------ * tcp_in - deliver an inbound TCP packet to the TCP process *------------------------------------------------------------------------ */inttcp_in(struct netif *pni, struct ep *pep){ /* drop instead of blocking on psend */ TcpInSegs++; if (pcount(tcps_iport) >= TCPQLEN) { freebuf(pep); return SYSERR; } psend(tcps_iport, (int)pep); return OK;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -