Is transmitted bytes event exist in Linux kernel?
- by alnet
I need to write a rate limiter, that will perform some stuff each time X bytes were transmitted.
The straightforward is to check the length of each transmitted packet, but I think it will be to slow for me.
Is there a way to use some king of network event, that will be triggered by transmitted packets/bytes?