From owner-freebsd-current Thu Jan 25 9:41:52 2001 Delivered-To: freebsd-current@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id B130737B401 for ; Thu, 25 Jan 2001 09:41:32 -0800 (PST) Received: from curve.dellroad.org (curve.dellroad.org [10.1.1.30]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id JAA59544; Thu, 25 Jan 2001 09:40:16 -0800 (PST) Received: (from archie@localhost) by curve.dellroad.org (8.9.3/8.9.3) id JAA06220; Thu, 25 Jan 2001 09:40:01 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200101251740.JAA06220@curve.dellroad.org> Subject: Re: bw limit in netgraph (Was: status of bridge code) In-Reply-To: <4.3.2.7.0.20010125082405.00c906c0@mail.drwilco.net> "from Rogier R. Mulhuijzen at Jan 25, 2001 08:30:17 am" To: "Rogier R. Mulhuijzen" Date: Thu, 25 Jan 2001 09:40:00 -0800 (PST) Cc: "Vitaly V. Belekhov" , Julian Elischer , "Thomas T. Veldhouse" , freebsd-current@freebsd.org, Archie Cobbs X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Rogier R. Mulhuijzen writes: > Quick question for the netgraph guru's. I haven't looked yet, but is there > an explanation of the NG_ macros I see used in the netgraph nodes' code? Yes, but it's not documented :) Actually the daemonnews article does document these somewhat. The main ones are NG_MKMESSAGE() for creating a new control message and NG_MKRESPONSE() for creating a response to a control message; and NG_SEND_DATA() to send a data/meta pair, NG_FREE_DATA() to free one. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message