Hi all,

I used "mib2c.iterate_access.conf" to generate my template code for XXX table.
In XXXTable_get_first_data_point(), I use XXXTable_createStructure() to get 
external data and store them in a local structure when this table is accessed 
at the first time. (The external data are all PHY register values.)
So the agent can response very fast after the first request.
But the external data I must get at the first time is very huge, the agent 
always timeouts when it still works in  XXXTable_createStructure() to get 
external data.
Could anyone give me some suggestions about resolving this condition?

I also tried to not get all external data, but I don't know how to get the 
index value of the incoming request in XXXTable_get_first_data_point().
Could anyone help me to know where can get the index valuse of the incoming 
request in template code that are generated from "mib2c.iterate_acc.conf".


Thanks in advance.



BR,







永鈦鑫   iTAS Corporation
新竹市水源街75號
NO. 75,Shuiyuan St., Hsinchu City, Taiwan, R.O.C.
Tel:03-5716099 Ext.1208
E-mail:tewen.hs...@itas.com.tw
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to