Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2000 13:16:40 -0800 (PST)
From:      Archie Cobbs <archie@dellroad.org>
To:        Greg Fausak <lgfausak@august.net>
Cc:        julian@elischer.org, net@FreeBSD.ORG
Subject:   Re: BPF usage questions
Message-ID:  <200010292116.e9TLGeq40517@curve.dellroad.org>
In-Reply-To: <m13pHu3-002H0mC@gomer.august.net> "from Greg Fausak at Oct 27, 2000 05:23:11 pm"

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




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