>>>>> On Mon, 08 Nov 2004 08:52:06 EET, Fatih Erikci <[EMAIL PROTECTED]> said:

Fatih> for(vars = response->variables; vars; vars = vars->next_variable)
Fatih> print_variable(vars->name, vars->name_length, vars);

Fatih> and my output is : 

Fatih> IF-MIB::ifInOctets.9 = Counter32: 3562291204

Fatih> now i only need the "3562291204" number as a variable because i
Fatih> have to do some arithmetic operations on it. can anyone know
Fatih> how to do this?

You want to manipulate vars->val.uinteger

-- 
Wes Hardaker
Sparta


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to