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

Re: How to know which neighbor send the packet



I believe you can look in the ip_hdr of the packet, and check the
ip_hdr->src() value, which indicates the node inthe upper 24 bits.
George

					
			-George F. Riley ([email protected])
		 	-Grad Student Liaison


On Thu, 9 Jul 1998, Gang Xu wrote:

> Hi,
> 
> After a node receives a packet, is it possible to check which neighbor
> sends the packet to it? 
> 
> Gang Xu
> ------------------------------------------------------------------
> Department of CS                        Tel: (205)348-0996(O)
> University of Alabama, Tuscaloosa       http://www.eng.ua.edu/~gxu
> 
> 
>