[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in linkdelay?



Hi all,

When running my script I have noticed a very strange behaviour,
some packets dissapear. I have tried to locate the error, but can't
find the error.

topology:
                                 15Mb 55 ms ->
source -----W------ basestation ============= mobile
                               <- 9.6kb 340 ms

Over the 15 Mb link I have installed and extra module to buffer
packets before the go over the wireless link. So my wireless link
looks like this in tcl:

Class linkDown -superclass Link
.
..

set queue_ $q
    set link_ [new $lltype] #linkdelay
    set forw_ [new FWD]
    $link_ set bandwidth_ $bw
    $link_ set delay_ $delay
    
    $forw_ target $queue_
    $queue_ target $link_
    $link_ target [$dst entry]
    

    
    set head_ $forw_ 
.
..

I first thought there was some bug in my module, but it
does forward the packets to the queue_, which in turn forwards
it to the linkdelay. How can a packet dissapear in the link?

I doubt the error is in the linkdelay since everyone uses it,
but if anyone has seen this wierd behaviour and found the problem
I would be very happy to know.

thanks
/Jonas Haggard Ljungquist

If the solution has been posted in the archive I am sorry
to send this, but I can not connect to the archive (server down?)