Iam aslo porting one application on to QNX platform.
My Application is supposed to retrieve ICMP statistics from kernel,which
raises a need to use the kvm*( ) functions.But unfortunately these are not
bringing proper results for my application.
Can u please tell ,in what sequence u called these functions in ur
application and exactly with what arguments u got the result.
Iam very thankful to u for extending any kind of help.
waiting for ur reply
“John A. Murphy” <email@example.com> wrote in message
I took another look, and it’s more obvious than I thought:). Thanks for
Sean Boudreau wrote:
‘netstat’ isn’t generally available. You’d have to contact your sales
John A. Murphy <> firstname.lastname@example.org> > wrote:
: I’ve used the kvm_* functions for the same purpose in FreeBSD, and I’d
: kvm.c at cvs.qnx.com, but it’s use is non obvious. I don’t suppose
: source to ‘netsat’ is available…
: Sean Boudreau wrote:
:> This currently isn’t a documented way to do this; however
:> I’ll point out that our ‘netstat’ utility (which closely
:> follows NetSD’s) uses the kvm_* functions to walk the stack’s
:> lists. The source to our kvm_*() can currently be found under
:> John A. Murphy <> email@example.com> > wrote:
:> : How can I check the status of a TCP/IP connection? That is, given
:> : pair of address and ports, how can I check to see if the connection
:> : still active. In a filter I could call in_pcblookup_connect; how
:> : do the same sort of thing if I’m not in a filter? Equivalently,
:> : does SNMP get at the information (or does SNMP live inside
:> : Murf