On 28 May 2012 14:13, Jasti Durgashree <[email protected]> wrote:
> I want to write my own c code for snmp message format.

Why?

>                                                         So which file I
> should refer in net-snmp directory to write my own snmp header and pdu
> format code and also how to map asn.1 data types with normal data types in
> coding

snmplib/snmp_api.c    (snmp_build)  and snmplib/asn1.c


But I'd strongly recommend that you don't try to re-invent the wheel.
Why not simply use the routines that are provided?
Are you intending to re-implement the whole of the C library as well?

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to