[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
link connection ?
S ----- R ------ K
By ns, in fact,
(TCP agent) (TCP sink agent)
S -------------- R --------------- K
-------------- ---------------
link_ (S,R)
link_ (R,S)
link_ (R,K)
link_ (K,R)
I want process packets in Node (R) before send to K or S.
-- > i.e before link_::recv (R,K) and after link_::recv (K,R)
So, i extended 'linkDelay' class.
But, two link's process is isolated.
What can I do???
STEP
<<TCP packet send>>
1. link_(S,R) :: recv --> process = Node(R) save packet in 'DropTail
queue'(It's ok)
2. link_(R,K) :: recv or Agent :: recv.
<<TCP ack send>>
3. link_(K,R) :: recv (???) --> process = Node(R) delete saved packet in
'that (step 1) queue'
( can't insert delay and can't share 'saving buffer')
I can't find method to solve it. What's your idea?
--------------------------------------
Yong-sin Kim. DCN-SSU-KOREA.
Lab:02-820-0823 Pager:015-101-3904
--------------------------------------