swetha wrote:
Hi
Hi
im a newbie to the network programming stuff.iv got to implement functionality
of netstat using apis n system calls.for that i need to understand the code
provided in this link
http://cvs.opensolaris.org/source/xref/netvirt/usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
Can anybody plz explain the mibget function provided in tis code the line
number is 654. explain the basic logic involved in detail n y is a linked list
of items used (mib_item_s) .plz help..this is urgent
It looks to me like this is using a TLI message exchange to get data
items from the TCP/IP/ICMP stack. Please have a look at mib_open(), for
example.
You might want to research TLI if this protocol doesn't make sense to you.
-- Garrett
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code