How to define the table with the index of mac address

2005-11-24 Thread livia xie
Hello, friends   I have a private table whose index is mac address. I use mib2c to generate the base codes for me and it recongnizes the mac address index's type as ASN_OCT_STR. Then I define the mac address as a char array with size of 6. To test the codes, I contruct the datas manually. But when

Re: mib.c coredump

2005-11-24 Thread Patrick Welche
On Fri, Sep 30, 2005 at 07:48:12PM -0400, Robert Story wrote: > On Fri, 16 Sep 2005 19:29:46 +0100 Patrick wrote: > PW> On Fri, Sep 16, 2005 at 04:39:12PM +0100, Patrick Welche wrote: > PW> > On Thu, Sep 15, 2005 at 11:46:10AM +0100, Patrick Welche wrote: > PW> gets me a core dump at the same place

Table iterator and get-next question

2005-11-24 Thread Barbara Kuriata
Hi,   I have a question about implementation of the get-next request.   I've generated code for my MIB using the mib2c tool. In the init function I've registered the iterator access routines like below:   iinfo->get_first_data_point =  myTable_get_first_data_point;iinfo->get_next_data_point =

5.3.pre4 HP-UX 10.20: non-root agent hangs when walked

2005-11-24 Thread Thomas Anders
-Coders, according to Dave's testing with CVS MAIN on HP-UX 10.20, test #58 (snmpwalk) fails against an agent that's running as non-root (as is typically the case during "make test"), but succeeds when the agent is running as root. (BTW, the same holds true for the snmpnetstat test.) I don't

Re: Multiple Index in snmp table

2005-11-24 Thread M.Anusha
Hi, I checked the udp and tcp tables. I generated the code with few options Ex: mib2c nodename followed by options 2 -> 2-> 2. But this code is different than the one in tcp and udp code and am facing problems with this code. Please give me the options to be given to mib2c comiler to generate

agentx support for java lib on windows 2k machine

2005-11-24 Thread jigar contractor
Hi,    I am developing AgentX subagent utility in Java on windows 2000 platform. I want to develop is using netsnmp java library. Recenlty the last netsnmpj.jar file has not included this subagent utility. I want to know that is there any newer version of netsnmpj published? If so then from

cross-compile error: dereferencing pointer to incomplete type

2005-11-24 Thread Rick.Lee
build system: linux redhat9.0 cross compiler: arm-linux-gcc 2.95.3 system configure method: ./configure --prefix=/root/usr --build=i686-linux --host=arm-linux --target=arm-linux --with-perl-modules --with-endianness=little 2>&1 | tee b error related produced result: checking for rtentry.rt_dst...

Re: How to force a cache reload when dynamic interfaces creating/removing happen

2005-11-24 Thread Dave Shield
On Wed, 2005-11-23 at 10:41 -0600, [EMAIL PROTECTED] wrote: > I want to trigger a cache reload only when > dynamic interfaces creating/removing happen. Let's be clear about exactly what you mean here. By "dynamic", do you mean in response to explicit SNMP SET requests, or when