Date: Sat, 24 Oct 1998 23:07:13 -0700 From: David Greenman <dg@root.com> To: Nicholas Charles Brawn <ncb05@uow.edu.au> Cc: freebsd-net@FreeBSD.ORG Subject: Re: How does kernel assign local port? Message-ID: <199810250607.XAA14600@implode.root.com> In-Reply-To: Your message of "Sun, 25 Oct 1998 16:03:25 %2B1100." <Pine.SOL.4.02A.9810251558420.9894-100000@banshee.cs.uow.edu.au>
next in thread | previous in thread | raw e-mail | index | archive | help
>I've looked through uipc_syscalls.c and uipc_socket.c to try to >determine how & where the kernel assigns the local port a client program >(ie telnet(1)) binds to. I've specifically looked at connect() and >soconnect() but weren't able to determine how they are assigned. Anyone >able to give me a hand here? in_pcbbind() in /sys/netinet/in_pcb.c -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project 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?199810250607.XAA14600>