Vishwanath P wrote:
>
> Hi ,
>
> can any one help me with this.
> how is the tcp/ip stack running.is it a single process? or is it
> running as multiple processes.
> pls tell me if i do ps -aef which is the process concerned with the
> tcp/ip stack implementation.
>
> As far as i know inetd daemon has daemons for applications like
> telnet, ftp etc... But how abt the actual stack where is it ie which
> is the process?
The answer is "all over the place." Some parts of TCP/IP run in interrupt
context, some run in the general kernel context, and some run in kernel
context serving on behalf of a process. There is no central network task
or process, like in VxWorks.
A more detailed discussion of the exact contexts at each point can be
found in "TCP/IP Illustrated, Volume 2: Implementation" by W. Richard
Stevens, or in "The Design and Implementation of the 4.4BSD Operating
System" by McKusick et al.
--
"Where am I, and what am I doing in this handbasket?"
Wes Peters Softweyr LLC
[EMAIL PROTECTED] http://softweyr.com/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message