Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 1998 13:42:21 +0200 (CEST)
From:      Mikael Karpberg <karpen@ocean.campus.luth.se>
To:        archie@whistle.com (Archie Cobbs)
Cc:        wollman@khavrinen.lcs.mit.edu, luigi@labinfo.iet.unipi.it, eivind@yes.no, current@FreeBSD.ORG
Subject:   Re: and again on forwarding...
Message-ID:  <199805211142.NAA29389@ocean.campus.luth.se>
In-Reply-To: <199805201832.LAA02113@bubba.whistle.com> from Archie Cobbs at "May 20, 98 11:32:41 am"

next in thread | previous in thread | raw e-mail | index | archive | help
According to Archie Cobbs:
> Garrett Wollman writes:
> > <<On Wed, 20 May 1998 12:42:01 +0200 (MET DST), Luigi Rizzo <luigi@labinfo.iet.unipi.it> said:
> > 
> > >> Is that only clients in our kernel, or are there clients 'out there'
> > >> which we'd have to care for, too?
> > 
> > > i think he only refers to kernel 'clients'. Not a big deal, IMHO.
> > 
> > Remember that one of which is the ``raw'' interface.  In order to
> > maintain application compatibility, the SOCK_RAW interface will need
> > to do all the munging which is removed from other code paths.
> 
> Same thing applies to ``divert'' sockets...

If it's possible to move th munging from always being done, to being
done only there, that would seem like progress to me. What exactly
does the "munging" involve? Is it something good, or would be be nice
to get rid of it alltogether? 

I mean, if it's of little use, but just to provide compability with
older (and/or maybe non-FreeBSD) client, maybe there could also be
a SOCK_RAW_NEW which simply does the same thing but skips the munging?
Save thing for the divert thing, I guess, although this would be
FreeBSD specific, and not entirely ancient software that uses the
divert routines, so a kernel option "DIVERT_DO_MUNGING" could be added.
Then the munging code moved to divert code could just be ifdef:ed on that.

Or?

  /Mikael

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



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