Re: HEADSUP! netgraph Metadata changing.

From: Ruslan Ermilov <ru_at_FreeBSD.org>
Date: Tue, 8 Jun 2004 09:52:35 +0300
On Mon, Jun 07, 2004 at 11:40:37AM +0400, Gleb Smirnoff wrote:
> On Mon, Jun 07, 2004 at 12:35:56AM -0700, Julian Elischer wrote:
> J> > On Sun, Jun 06, 2004 at 06:35:51PM -0700, Julian Elischer wrote:
> J> > J> In addition the ng_ksocket node adds info into metadata and I suspect
> J> > J> there are people using that.
> J> > 
> J> > Since ng_ksocket tags packets for itself only, we can safely change it.
> J> 
> J> Since I did not add that code I am not very familiar with it or who uses
> J> it. (or why)
> J> 
> J> if this is true than yes we can do this..
> 
> It is used only on UDP connection, to send replies back to where the original
> packets came from.
> 
I wouldn't hardcode it this way.  Rather, it just mimics the
sendto()/recvfrom() semantics, to represent the "to"/"from"
arguments, respectively.


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Tue Jun 08 2004 - 04:52:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:56 UTC