Date: Tue, 02 Apr 1996 12:23:10 +0000 From: Poul-Henning Kamp <phk@critter.tfs.com> To: Bruce Evans <bde@zeta.org.au> Cc: FreeBSD-Current@freebsd.org, gpalmer@freebsd.org Subject: Re: Linker sets & structures for networking code Message-ID: <2946.828447790@critter.tfs.com> In-Reply-To: Your message of "Tue, 02 Apr 1996 21:27:47 %2B1000." <199604021127.VAA11042@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> >Which brings me to another problem with this code. The first field of > >the `protosw' structure is: > > > short pr_type; /* socket type used for */ > > >Which (if I understand the way this works right - I haven't been able > >to backtrack through the networking code enough to verify this) is > >used to match the requested protocol type against available protocol > >types. Since (in uipc_proto.c) pr_type for the raw_* stuff is declared > >as `0', I can't see how raw_input ever gets call via the localsw > >array. (Infact there are several examples of `raw_input' being called > >which bypasses localsw totally). So why on earth is it there?!? My conclusion was that it was an attempt to please the OSI powers that were, without completely wrecking the performance. I could, for all I can see, be ripped out. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2946.828447790>