Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 1998 17:18:29 +1100 (EST)
From:      Nicholas Charles Brawn <ncb05@uow.edu.au>
To:        Don Lewis <Don.Lewis@tsc.tdk.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: How does kernel assign local port?
Message-ID:  <Pine.SOL.4.02A.9810251716350.22990-100000@banshee.cs.uow.edu.au>
In-Reply-To: <199810250600.XAA24646@salsa.gv.tsc.tdk.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 24 Oct 1998, Don Lewis wrote:

> It's done in in_pcbbind() in netinet/in_pcb.c.  In the case of telnet,
> the call is done by tcp_connect() in netinet/tcp_usrreq.c.
> 

I have yet to look at the source (not at work box), but why are there
two different functions to assign the local port, instead of just one?

Cheers,
Nick

--
Email: ncb@poboxes.com - http://www.poboxes.com/ncb 
Key fingerprint =  DE 30 33 D3 16 91 C8 8D  A7 F8 70 03 B7 77 1A 2A



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?Pine.SOL.4.02A.9810251716350.22990-100000>