[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: what's the difference?
This works like link list as you have one node's next pointer pointing to
next node, similary mechanism is developped by target.
ex 1 is mac -> (next is) ifq
ex 2 is ifq -> (next is) mac.
You will also notice something like this in the code in which error module
is inserted between link and queue etc.
Miten.
>
> ex1:
> set mac [new Mac/Csma/Cd]
> set ifq [new Queue/DropTail]
> $mac target $ifq
> ^^^^^^^^^^^^^^^^^
>
> ex2:
> set mac [new Mac/Csma/Cd]
> set ifq [new Queue/DropTail]
> $ifq target $mac
> ^^^^^^^^^^^^^^^^^
>
> Thanks,
>
> Zh-Ming Lii
>
----------------------------------------------------------------------
Miten N. Mehta Graduate Research Assistant
3902, Collegemain, #908 Computer Science
Bryan, Texas A & M University
Texas-77801. College Station, TX-77843
Tel.#(409) 846 1451 (409) 845 5007
E-mail# [email protected]
Home Page : http://www.cs.tamu.edu/people/mmehta
----------------------------------------------------------------------
"UNTIL YOUR DREAMS COME TRUE, KEEP ON WORKING FOR THAT"
----------------------------------------------------------------------