Skip to content

Commit e712587

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 handshaking. 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_handshaking() 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 e712587

File tree

1 file changed

+145
-139
lines changed

1 file changed

+145
-139
lines changed

0 commit comments

Comments
 (0)