From owner-freebsd-net@FreeBSD.ORG Thu Jul 24 11:51:30 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 431F237B401 for ; Thu, 24 Jul 2003 11:51:30 -0700 (PDT) Received: from mwinf0401.wanadoo.fr (smtp5.wanadoo.fr [193.252.22.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63C4443F75 for ; Thu, 24 Jul 2003 11:51:29 -0700 (PDT) (envelope-from vjardin@wanadoo.fr) Received: from venus.vincentjardin.net (AVelizy-102-1-4-90.w80-11.abo.wanadoo.fr [80.11.204.90]) by mwinf0401.wanadoo.fr (SMTP Server) with ESMTP id 1433C5800112; Thu, 24 Jul 2003 20:51:28 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Vincent Jardin To: Julian Elischer Date: Thu, 24 Jul 2003 20:52:31 +0200 User-Agent: KMail/1.4.3 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200307242052.31081.vjardin@wanadoo.fr> cc: net@freebsd.org Subject: Re: Netgraph, meta and socket PF_NG X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 18:51:30 -0000 Le Jeudi 24 Juillet 2003 20:26, Julian Elischer a =E9crit : > you are correct > > My plan was to use the metadata part of recvmesg() > to transfer metadata but never implemented it and it has not been > needed. > I suggest that you write a very simple node (start with ng_sample.c) > that converts metadata to a 'header' prepends it to the data > and then pass that up. I though about it, however I would like to avoid this case that is not en= ough=20 generic. > Alternatively you could look at implementing the recvmesg() > metadata transfer. However I am not a Unix socket expert ;-( I'll look how it can be done. Thanks, Vincent