Re: "compairing array with NULL"

2010-03-18 Thread sanjaykumar
Dave Shield wrote: On 18 March 2010 07:34, sanjaykumar wrote: Hi I find many places in net-snmp code "compairing array with NULL" Firstly, the code fragments which you quote appear to be part of the MfD framework, which is nothing to do with me. So I don&

"compairing array with NULL"

2010-03-17 Thread sanjaykumar
Hi I find many places in net-snmp code "compairing array with NULL" e.g.: 1. if ((NULL == tbl_idx->ipDefaultRouterAddress) || (tbl_idx->ipDefaultRouterAddress_len < (ipDefaultRouterAddress_val_ptr_len))) { snmp_log(LOG_ERR, "not enough space for value\n"); return

crash in snmplib/snmpusm.c

2009-09-04 Thread sanjaykumar
Hi All,   I have a  doubt about the below function 1. Does     [  user nanoName[] = ""   ]  is valid user name ? 2. If not why does it is assigned it to "name" ? 3. I think if  "char *name"  received as NULL, Then instead of assigning to null character and looping , It will bette

use of "pipe" in netsnmp-5.4.2.1

2009-07-27 Thread sanjaykumar
Hi all,   I have a query regarding the use of "pipe" in netsnmp-5.4.2.1 I find the netsnmp is using the "pipe" in some of file like agent/mibgroup/utilities/execute.c agent/mibgroup/util_funcs.c snmplib/snmpCallbackDomain.c snmplib/winpipe.c I am not able to really find why it is g

argument to send_notifications function

2009-07-14 Thread sanjaykumar
Hi all,    I need to send the notification under the particular condition (as per packet cable specification after 25th step) For that i am trying to use the below function available in "agent/mibgroup/notification/snmpNotifyTable.c" For that I am not able to get what should the value

openssl library for net-snmp

2009-06-30 Thread sanjaykumar
Hi All, I am trying to port the Net-snmp-5.4.2.1 on MIPS platform. To do that net-snmp expecting the OPENSSL library has present to support the privacy. Somebody could help me out what would be actual configuration to generate the OPENSSL Library to support the netsnmp-5.4.2.1. Reg

Re: snmpNotifyFilterTable

2009-06-11 Thread sanjaykumar
4.2.1) Rgds, Sanjay Wes Hardaker wrote: On Wed, 10 Jun 2009 20:21:51 +0530, sanjaykumar said: s> "parse_snmpNotifyFilterProfileTable(const char *token, char *line) " That function reads configuration

snmpNotifyFilterTable

2009-06-10 Thread sanjaykumar
Hi All,    I am try to create a row in  snmpNotifyFilterTable. As I was going through the code of  NotifyFilterProfileTable  I got the below function to create a row  "parse_snmpNotifyFilterProfileTable(const char *token,  char *line) " As snmpNotifyFilterTable has use the "mfd.conf",

config problem for Encryption support

2009-05-22 Thread sanjaykumar
Hi, I am compiling the code as following and expecting the "Encryption support" But I am not getting what is problem. Could somebody help me out regarding this > ./configure --with-openssl=/home/openssl/openssl-0.9.8g/lib > --host=mips-linux --prefix=/nfsroot/usr --with-endianness=big

Agent Shutdown problem

2009-05-06 Thread sanjaykumar
Hi all, I am running the netsnmp 5.4.2.1 as thread 1 : I am facing the problem while my application reboot so snmp thread should also Most of shutdown problem is occurs in mib module Basically when application reboot then it facing problem in "init_mib_modules()" and it crash. Backtrace sh

snmpd.conf

2009-04-29 Thread sanjaykumar
Hi,   I am running the netsnmp 5.4.2.1 as thread. I am providing the all the required configuration using a data structure, I am not providing any config  through "snmpd.conf" So, Could let me know which are function I suppose to "Comment out" at time of "initialization" and while snmp is

Segmentation fault (core dumped) problem

2009-04-27 Thread sanjaykumar
Hi  I am facing following following crash problem .Segmentation fault (core dumped) following is the trace file Please suggest me , what could be the reason for this Thanks and regards, Sanjay gdb ./packetcable_mta core.28328 GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, I