From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755634Ab0GVBUf (ORCPT ); Wed, 21 Jul 2010 21:20:35 -0400 Received: from [61.177.137.56] ([61.177.137.56]:33337 "HELO mail.semico.com.cn" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with SMTP id S1751050Ab0GVBUe (ORCPT ); Wed, 21 Jul 2010 21:20:34 -0400 Message-ID: <007001cb293c$36ec6630$3701a8c0@wxintech.com> From: "zhanglx" To: "zhanglx" , Subject: Question about net subsystem Date: Thu, 22 Jul 2010 09:21:30 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id o6M1Kkho007938 hello, I have some questions about net subsystem. Does the kernel code store the IP address of local machine, in which variable? If there are two net cards, then there will be two IP and MAC address, how will the kernel store them? When there are two net cards, which card will the PC use to connect to net. Does the webbrowser such as Firefox also use the series of functions( sock(), connect(), send(),receive()...) to connect to internet? Thanks, zhanglx{.n++%ݶw{.n+{G{ayʇڙ,jfhz_(階ݢj"mG?&~iOzv^m ?I