Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - network statistics for ppp: (2 Items)
   
network statistics for ppp  
I need to retrieve traffic information (viz. number of packets sent/received, number of bytes sent/received etc) for a 
ppp link over a serial connection. How do I go about it? For network drivers I can use the DCMD_IO_NET_GET_STATS 
devctl() to get the network statistics into a nic_stats_t structure. How do I do it for ppp over serial link?
RE: network statistics for ppp  
> traffic information for a ppp link

If the ifconfig utility gives you the information
you want - I think it will - I would just copy
what it does.  For 6.4 you can find the source
in the utils/i/ifconfig directory.

Again, it would be really nice to have svn (and 
the indexer) externally available (hint hint) so
we could just paste links here that would work
for everyone.

--
aboyd