Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2001 09:40:00 -0800 (PST)
From:      Archie Cobbs <archie@dellroad.org>
To:        "Rogier R. Mulhuijzen" <drwilco@drwilco.net>
Cc:        "Vitaly V. Belekhov" <vitaly@riss-telecom.ru>, Julian Elischer <julian@elischer.org>, "Thomas T. Veldhouse" <veldy@veldy.net>, freebsd-current@freebsd.org, Archie Cobbs <archie@dellroad.org>
Subject:   Re: bw limit in netgraph (Was: status of bridge code)
Message-ID:  <200101251740.JAA06220@curve.dellroad.org>
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"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101251740.JAA06220>