Reputation: 2580
if I type ifconfig i get packet for Tx and RX ... where exactly the piece of code to increment this counter? Is it in the network driver itself? or in the kernel ?
If possible please provide lxr link of the counter variable used.
Thx !
Upvotes: 0
Views: 2299
Reputation: 31
ifconfig read the statistics off from procfs. The values found in proc is updated by the kernel and ultimately boils down to the drivers of the network card.
Upvotes: 0