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

RE: [ns] Removing ip header





--
Free Dmitry Sklyarov ! 
http://www.freesklyarov.org

> -----Original Message-----
> From:	Madhan Mohan [SMTP:[email protected]]
> Sent:	Friday, September 14, 2001 1:29 PM
> To:	[email protected]
> Subject:	[ns] Removing ip  header
> 
> cmh->size( ) - = IP_HDR_LEN
> 
> Where is this  code present (it removes the ip header when a packet is sent
> up
> the  layers.)
> 
> Thank You
> Madhan
> 
	AFAIK this code isn't present :-/
	Neither you can say exactly where cmh->size()+=IP_HDR_LEN; is located :-/
	In the wireless model it is added in the routing stuff. If you use a LossMonitor you can insert the line there in recv().
	This is due to the generally missing IP layer in ns :-(

	Bye
	Alex