netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How To Temporarily Suspend Network Traffic
@ 2011-02-01 14:28 Volkan YAZICI
  2011-02-01 17:32 ` Rick Jones
  0 siblings, 1 reply; 6+ messages in thread
From: Volkan YAZICI @ 2011-02-01 14:28 UTC (permalink / raw)
  To: netdev

Hi,

I want to temporarily suspend the network traffic on a particular
interface -- if possible, in microsecond granularity. For this purpose,
ifup/ifdown ioctl() calls doesn't work. That is, for wireless
interfaces, connection isn't get recovered; for wired interfaces, it
takes at least 2 seconds to recover. I tried using tc, but it doesn't
accept "rate 0" parameter. Neither "iwconfig wlan0 rate 0" has any
effect. (Moreover, in iwconfig manual it is told that values below 1000
are card specific and are usually an index in the bit-rate list.) Do you
have any suggestions? Can you recommend me to check any code piece in
the kernel or some other tool?


Regards.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-01 20:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-01 14:28 How To Temporarily Suspend Network Traffic Volkan YAZICI
2011-02-01 17:32 ` Rick Jones
2011-02-01 17:49   ` Stephen Hemminger
2011-02-01 18:22     ` Volkan YAZICI
2011-02-01 18:12   ` Volkan YAZICI
2011-02-01 20:03     ` Rick Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).