Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - kerne structures related to PPPmgr and nicinfo: Page 1 of 4 (4 Items)
   
kerne structures related to PPPmgr and nicinfo  
Hi 

I need to know traffic on my ppp link and also on network interface.

Right now i am using 
cat /dev/socket/pppmgr > file  and then reading form file, but i want to know structure/functions which that mainitanns 
these info in kernel.

and also regarding netwrok interfce i use nicinfo, netstat etc and i also found few strsuctures ...

nic_stats_t, nic_config_t  ..... but if i have two or three network interfaces, how i can differntiate structure 
specific to interface....
 
OK the way in which i am using is by creating pointer to these structures and trying to fetch data..

nic_stats_t *nicstat_str;
Revision_number = nicstat_str->revision;

Thanks
Ravi