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

RE: [ns] Encapsulation



thanks for the pointer..will check that out...
  Renjish..

-----Original Message-----
From: Haobo Yu [mailto:[email protected]]
Sent: Sunday, July 09, 2000 1:15 AM
To: Kaleelazhicathu R R Kumar
Cc: '[email protected]'
Subject: Re: [ns] Encapsulation


this is used in centralized multicast to encapsulate a mcast packet in a
unicast packet towards RP. You can check out its usage in related code, or
see ns manual if you can find related info (i'm not sure though).

On Fri, 7 Jul 2000, Kaleelazhicathu R R Kumar wrote:

> Date: Fri, 7 Jul 2000 15:18:14 +0800 
> From: Kaleelazhicathu R R Kumar <[email protected]>
> To: "'[email protected]'" <[email protected]>
> Subject: [ns] Encapsulation
> 
> hi all,
>    is there any document which describes Encapsulators and Decapsulators??
i
> want to encapsulate a packet with a TCP and Ip header . I think this can
be
> done with the above mentioned agents..but i am not able to figure out
where
> should i mention about the type of headers(in this case tcp and ip
headers)
> to be encapsulated...i could see the variable off_encap_ in the agent code
> which i guess is the offset where the newly encapsulated header starts.how
> can i then access each of the new headers which are added..say new TCP and
> IP headers?? i am trying to create a TCP tunnel.any help will be
> appreciated.any pointers??
>    thanks.
>     Renjish.
>