Skip to content

Commit 397fe1e

Browse files
committed
net: tcp: Remove NULL-pkt support for tcp_in()
The NULL-pkt parameter for tcp_in() was designed for generating a SYN packet to start the 1st TCP handshake. It is only used in net_tcp_connect() and tp_input(). To simplify the tcp_in() code logic and make it better under- standable, a tcp_start_handshake() is added for net_tcp_connect() and tp_input() to use. Thus, the tcp_in() only handles the in- coming TCP packets. Signed-off-by: Shrek Wang <[email protected]>
1 parent 7a9fb54 commit 397fe1e

File tree

1 file changed

+268
-262
lines changed

1 file changed

+268
-262
lines changed

0 commit comments

Comments
 (0)