Gunther Schadow wrote:
> However, I am afraid that ALTQ
> is not supported on gif pseudo-devices as it seems that ALTQ wants
> to deal with things like DMA etc, i.e., real NIC hardware.
ALTQ kicks in at the boundary between network and link layer -
basically, it replaces the send queue of an interface with something
more interesting than the default FIFO. The drivers themselves remain
essentially unchanged. That's the good news.
The bad news is that all the gif device does is prepend another IP
header, and call ip_output(). Which means that it has no outgoing queue
to which you could apply ALTQ to. I think this is different from
Dummynet, which happens inside ip_output() and does its own buffering. I
didn't realize this when I sent me earlier mail, this may be a problem
for you.
I have used Dummynet on tunnels before and know it works. I assumed ALTQ
would, too - but now that I thought more about it, there are issues.
Maybe Kenjiro and Itojun (who have a much better understanding of the
details of the networking stack than me) have some ideas how to make
this work?
Lars
--
Lars Eggert <[EMAIL PROTECTED]> Information Sciences Institute
http://www.isi.edu/larse/ University of Southern California
S/MIME Cryptographic Signature