ICMP stats for QNX

Hi all,

I am porting net-snmp 5.0.1 to QNX neutrino. We are having problems
retriving the ICMP stats. The net-snmp code uses /dev/kmem to read the
stats, but QNX does not have this device. How can I get the ICMP stats (or
for that matter UDP, TCP or IP too)?

Does anyone know about /dev/kmem in QNX?

Thanks in advance for any help.