Skip to contentSkip to conversation

Question about net subsystem

DISCUSSION zhanglx 1 participant 1 message Jul 23, 2010

lore
Share & tools
lore

zhanglx

author
#0 lore raw

There is a doc of LinuxIPNetworking on kernelnewbies.org. It describes networking in detail.

thanks,
zhanglx
----- Original Message -----
From: "zhanglx" <[email protected]>
To: "zhanglx" <[email protected]>; <[email protected]>
Sent: Thursday, July 22, 2010 9:21 AM
Subject: Question about net subsystem

Quoted 16 lines

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