All I can gather is that it is treated as an octet string of 4 bytes.

"No task is so humble that it does not offer an outlet for individuality"


-----Original Message-----
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf 
Of Dave Shield
Sent: Tuesday, April 14, 2009 4:46 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: datatype for IPADDRESS

2009/4/14 Tanisha Kashyap <tanisha.kash...@aricent.com>:

> I don't know how to edit the following:
> case MODE_GET:
>             snmp_set_var_typed_value(requests->requestvb,
>                   ASN_IPADDRESS,
>                  (u_char *) ???, ???);

See the file 'agent/mibgroup/mibII/udpTable.c'
which includes a similar MIB object.

In general this ought to be the first thing you try
whenever you're stuck. Look for something similar
in the Net-SNMP source code, and see if that provides
sufficient information to get you started again.

Dave

"DISCLAIMER: This message is proprietary to Aricent and is intended solely for 
the use of the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be circulated or used for any purpose 
other than for what it is intended. If you have received this message in 
error,please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly prohibited from using, 
copying, altering, or disclosing the contents of this message. Aricent accepts 
no responsibility for loss or damage arising from the use of the information 
transmitted by this email including damage from virus."

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to