HEADSUP! netgraph Metadata changing.

Ruslan Ermilov ru at FreeBSD.org
Tue Jun 8 06:52:49 GMT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040608/29262c7e/attachment.bin


More information about the freebsd-current mailing list