Is transmitted bytes event exist in Linux kernel?
Posted
by alnet
on Stack Overflow
See other posts from Stack Overflow
or by alnet
Published on 2010-06-06T11:05:32Z
Indexed on
2010/06/06
11:12 UTC
Read the original article
Hit count: 346
network-programming
|linux-kernel
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?
© Stack Overflow or respective owner