No response re 2.6?

Since it works on 7 and already worked on 8, I've pushed the opt2 patch to
Luca, closing out this thread.  Ref BMS-0094.

-----Burton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Anthony David
Sent: Wednesday, June 12, 2002 3:59 PM
To: [EMAIL PROTECTED]
Cc: Luca Deri; [EMAIL PROTECTED]
Subject: Re: [Ntop] [compile error] sflowPlugin in RC2 from
snapshot.ntop.org


"Burton M. Strauss III" <[EMAIL PROTECTED]> writes:

> Bet a dollar to a donut that 2.6 doesn't support IPv6, so it's missing the
> header files.
>
> Here's what I have... (Linux)
>
> ipv6.h:
>
> #ifndef _IPV6_H
> #define _IPV6_H
>
> #include <linux/in6.h>
> #include <asm/byteorder.h>
> ...
>
> in6.h:
>
> ...
> struct in6_addr
> {
>         union
>         {
>                 __u8            u6_addr8[16];
>                 __u16           u6_addr16[8];
>                 __u32           u6_addr32[4];
>         } in6_u;
> #define s6_addr                 in6_u.u6_addr8
> #define s6_addr16               in6_u.u6_addr16
> #define s6_addr32               in6_u.u6_addr32
> };
> ...
>
> sFlowPlugin.c has an ifdef, SFT_NEED_IN6ADDR, that does the define - see
> lines 161..174
>
> So, (opt1.patch) we could set SFT_NEED_IN6ADDR based on the absence of
> _IPV6_H (Linux) and _NETINET_IN6_H (Solaris 8) in ntop.h - or we could put
> it into ./configure (opt2.patch)...
>
> Preferences??  I think opt2 is cleaner provided it works under Solaris 2.6
> and 8 - neither of which I can test...

Tried opt2 on Solaris 7 (SPARC) - OK
Will test on a  2.6 (SPARC) box ASAP

--
Anthony David

Gambling(n): A discretionary tax on those asleep during high school maths
http://adavid.com.au/
0xA72CE1ED fingerprint = EA1E C69E FE59 BBE1 AA4B  F354 BD09 9765 A72C E1ED
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop

Reply via email to