From owner-freebsd-net Sun Oct 29 13:16:43 2000 Delivered-To: freebsd-net@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 5E88937B479 for ; Sun, 29 Oct 2000 13:16:41 -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 NAA84828; Sun, 29 Oct 2000 13:16:40 -0800 (PST) Received: (from archie@localhost) by curve.dellroad.org (8.11.0/8.11.0) id e9TLGeq40517; Sun, 29 Oct 2000 13:16:40 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200010292116.e9TLGeq40517@curve.dellroad.org> Subject: Re: BPF usage questions In-Reply-To: "from Greg Fausak at Oct 27, 2000 05:23:11 pm" To: Greg Fausak Date: Sun, 29 Oct 2000 13:16:40 -0800 (PST) Cc: julian@elischer.org, net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greg Fausak writes: > I get a compile error when I hit: > > #define NG_ONE2MANY_LINK_STATS_TYPE_INFO { \ > { \ > { "recvOctets", &ng_parse_uint64_type }, \ > { "recvPackets", &ng_parse_uint64_type }, \ > { "xmitOctets", &ng_parse_uint64_type }, \ > { "xmitPackets", &ng_parse_uint64_type }, \ > { NULL } \ > } \ > > > I changed the references to ng_parse_int64_type and it seems to > compile now. The ng_parse_uint64_type is a fairly recent addition; you did the right thing. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message