|
发表于 2003-5-30 10:51:24
|
显示全部楼层
check the tcp_check_req() in tcp_minisocks.c. i believe this fun handle the incoming one, it change the accept_queue. it is called by *tcp_v4_hnd_req(struct sock *sk,struct sk_buff *skb) in tcp_ipv4.c, which also call tcp_v4_search_req().
accept will check if already have connection in queue (accept_queue), if so handle it, if not , then call wait_connect. |
|