Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jun 2004 10:58:31 +0400
From:      Gleb Smirnoff <glebius@cell.sick.ru>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        FreeBSD current users <current@FreeBSD.org>
Subject:   Re: HEADSUP! netgraph Metadata changing.
Message-ID:  <20040608065831.GC26822@cell.sick.ru>
In-Reply-To: <20040608065235.GA56799@ip.net.ua>
References:  <20040607071701.GC17986@cell.sick.ru> <Pine.BSF.4.21.0406070034350.19288-100000@InterJet.elischer.org> <20040607074037.GB18232@cell.sick.ru> <20040608065235.GA56799@ip.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 08, 2004 at 09:52:35AM +0300, Ruslan Ermilov wrote:
R> > J> > J> In addition the ng_ksocket node adds info into metadata and I suspect
R> > J> > J> there are people using that.
R> > J> > 
R> > J> > Since ng_ksocket tags packets for itself only, we can safely change it.
R> > J> 
R> > J> Since I did not add that code I am not very familiar with it or who uses
R> > J> it. (or why)
R> > J> 
R> > J> if this is true than yes we can do this..
R> > 
R> > It is used only on UDP connection, to send replies back to where the original
R> > packets came from.
R> > 
R> I wouldn't hardcode it this way.  Rather, it just mimics the
R> sendto()/recvfrom() semantics, to represent the "to"/"from"
R> arguments, respectively.

Pardon, haven't understand what do you suggest. You mean, that it'll be better
if node originating packets will insert this tag?

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE



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