From owner-freebsd-net@FreeBSD.ORG Wed Feb 8 13:32:00 2012 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE05F106564A; Wed, 8 Feb 2012 13:32:00 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id 4152A8FC13; Wed, 8 Feb 2012 13:32:00 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.5/8.14.5) with ESMTP id q18DVw1K023042; Wed, 8 Feb 2012 17:31:58 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id q18DVwOL023041; Wed, 8 Feb 2012 17:31:58 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Wed, 8 Feb 2012 17:31:58 +0400 From: Gleb Smirnoff To: rozhuk.im@gmail.com Message-ID: <20120208133158.GJ13554@FreeBSD.org> References: <4f298d95.82b7cc0a.49b2.5d24@mx.google.com> <4F2A2C1F.1060609@freebsd.org> <4f2b0826.10cbcc0a.5660.ffff8aa9@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4f2b0826.10cbcc0a.5660.ffff8aa9@mx.google.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-net@FreeBSD.org, 'Julian Elischer' Subject: Re: m_pullup - fail X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2012 13:32:00 -0000 On Fri, Feb 03, 2012 at 07:03:11AM +0900, rozhuk.im@gmail.com wrote: r> I am writing a netgraph node for processing UDP packets passing through the r> router / bridge. r> Node must fully inspect the entire contents of the package, in some cases, r> change them. In this case you need something like m_megapullup() that can be found in sys/netinet/libalias/alias.c -- Totus tuus, Glebius.