From owner-freebsd-current@FreeBSD.ORG Tue Jun 8 06:52:49 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 097E916A4CE; Tue, 8 Jun 2004 06:52:49 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49AD143D53; Tue, 8 Jun 2004 06:52:48 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i586wBwW030491 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Jun 2004 09:58:12 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i586qZHZ056855; Tue, 8 Jun 2004 09:52:35 +0300 (EEST) (envelope-from ru) Date: Tue, 8 Jun 2004 09:52:35 +0300 From: Ruslan Ermilov To: Gleb Smirnoff Message-ID: <20040608065235.GA56799@ip.net.ua> References: <20040607071701.GC17986@cell.sick.ru> <20040607074037.GB18232@cell.sick.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <20040607074037.GB18232@cell.sick.ru> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: net@FreeBSD.org cc: Julian Elischer cc: FreeBSD current users Subject: Re: HEADSUP! netgraph Metadata changing. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 06:52:49 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 sus= pect > J> > J> there are people using that. > J> >=20 > J> > Since ng_ksocket tags packets for itself only, we can safely change = it. > J>=20 > J> Since I did not add that code I am not very familiar with it or who us= es > J> it. (or why) > J>=20 > J> if this is true than yes we can do this.. >=20 > It is used only on UDP connection, to send replies back to where the orig= inal > packets came from. >=20 I wouldn't hardcode it this way. Rather, it just mimics the sendto()/recvfrom() semantics, to represent the "to"/"from" arguments, respectively. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAxWIzqRfpzJluFF4RAjOkAJ9JZGZNx59wAY8ZIqDgK2sQ7nq6/QCeLuI3 KVd2hlhxR9QUsnSrzv9K+BQ= =Ytac -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--