set ll_ [new LL] set ifq_ [new Queue/DropTail] $ll_ lanrouter [new LanRouter $ns $lan] # LanRouter is one object # per LAN $ll_ set delay_ $delay # link-level overhead $ll_ set bandwidth_ $bw # bandwidth $ll_ sendtarget $mac # interface queue at the sender side $ll_ recvtarget $iif # input interface of the receiver . . .