On 23 August 2011 08:27, sujata patra <[email protected]> wrote: > I have one more doubt. Let's say there is two table tcpTable and udpTable. > And both has been loaded by same _load() function and _free function.
> So I do not want to create seperate cache for udp table. > Like to keep the same cache for both the table oids. > is it possible to do so ? Yes. > How can I do so ? Have a look at the code for the ifXTable (if-mib/ifXTable/*) This shares the same cache as the main ifTable. In particular, the routine _ifXTable_container_init() makes use of netsnmp_cache_find_by_oid() to retrieve the shared cache structure. Dave ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
