anybody using net-snmp on AMD64 or other 64bit platforms??

Willem Jan Withagen wjw at
Sun Jun 13 22:56:32 GMT 2004

> > Willem Jan Withagen wrote:
> > > Reason I ask, is that it crashes with me at all kinds of places...
> > >
> > > I've started looking at the warnings from a regular make.
> > > And in the process of tryin to fix those there are a lot of places where
> > > typeconversions are really messed up.
> > >
> > > int, size_t, I32, function addresses and pointers are all intermixed.
> > > And this of course will create all kinds unwanted effects....
> > >
> > > Are there any suggestions as to enhance portability this way...
> > >
> > > eg. what kind of generic pointer type would one use to make shure
> > > that pointers are the correct size on both architectures....
> > >
> > > Or as a side questions:
> > >     Are there other snmp-daemons that run on 64bit platforms??

I've got it more or less running, and snmpd is no longer crashing on me "yet".
But I'm now getting wrong answers for the tcp/udp connections. But for
established connections as well as open server ports....

Both netstat and snmpd do this by retreiving data with sysctl from the kernel.
And where netstat has got its things right, snmpd seems to be really off.
The most likely reason is that snmpd defines some structures by itself, but now
the question is which part is that???

Does anybody know of tools to compare or analyse the raw data coming out of a
struct tcpcb.....


More information about the freebsd-ports mailing list