From: Matti Aarnio <matti.aarnio@zmailer.org>
To: Jeff Sipek <jeffpc@optonline.net>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [RFC] TCP and UDP implementations
Date: Sat, 26 Jul 2003 11:11:01 +0300 [thread overview]
Message-ID: <20030726081101.GD6898@mea-ext.zmailer.org> (raw)
In-Reply-To: <200307260316.02149.jeffpc@optonline.net>
On Sat, Jul 26, 2003 at 03:15:53AM -0400, Jeff Sipek wrote:
> Hello all,
> I noticed that there are two implementations of TCP and UDP in the kernel -
> one for IPv4 and the other for IPv6. Correct me if I am wrong, but wouldn't
> it be better to just have one implementation for both versions of IP? I know
> this for sure:
The way how things are in 2.4 (I haven't looked too deeply into 2.5/2.6),
IPv6 TCP and UDP do NEED IPv4 TCP code to make most of TCP logic.
With UDP the amount of logic in kernel side is a lot simpler, and
I do think the code was in essense duplicated.
> 1) it would decrease the size of the kernel (this wouldn't be too dramatic,
> but still)
>
> 2) it would make maintaining of the code half the work
Because of the degree of present sharing: no.
> AFAIK there are small differences in TCP and UDP between IPv4 and IPv6,
> but they could be resolved using simple "work arounds."
IPv6's TCP is (was) just that kind of "work around" to handle differences
in IP addresses.
> Thanks,
> Jeff.
/Matti Aarnio
prev parent reply other threads:[~2003-07-26 7:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-26 7:15 Jeff Sipek
2003-07-26 8:11 ` Matti Aarnio [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030726081101.GD6898@mea-ext.zmailer.org \
--to=matti.aarnio@zmailer.org \
--cc=jeffpc@optonline.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®