To allocate an Internet protocol control block, in_pcballoc() is called.
要分配Internet协议控制块,可调用 in_pcballoc()。
The switch in the tcp_usrreq function calls in_setpeeraddr(), which copies the foreign IP address and foreign port number from the protocol control block and returns these to the server process.
tcp_usrreq函数中的切换调用 in_setpeeraddr(),后者从协议控制块复制外来IP地址和外来端口号,并将其返回到服务器进程。
The switch in the tcp_usrreq function calls in_setpeeraddr(), which copies the foreign IP address and foreign port number from the protocol control block and returns these to the server process.
tcp_usrreq函数中的切换调用 in_setpeeraddr(),后者从协议控制块复制外来IP地址和外来端口号,并将其返回到服务器进程。
应用推荐