Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2001 12:31:42 -0700
From:      Wes Peters <wes@softweyr.com>
To:        Vishwanath P <vishu_bp@postmark.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: TCP/IP stack
Message-ID:  <3AB7B01E.B601D8F5@softweyr.com>
References:  <20010320055052.20711.qmail@venus.postmark.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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
wes@softweyr.com                                           http://softweyr.com/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AB7B01E.B601D8F5>