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

Re: [ns] next hop



The dest. address in the iphdr can be accessed.If you do a shift
operation on it it'll give you the node id.I'm not really sure if this
is what you want though...

p
bruce madison wrote:
> 
> hello
> can qnyone tell me how i can get the next hop for  a packet in c++ and
> the type of the returning value ?
> what is the instruction in c++ that give me the next hop or the
> address or node id for a specific destination ?
> thanks
> 
> 
> ----------------------------------------------------------------------
> Get your FREE download of MSN Explorer at http://explorer.msn.com
begin:vcard 
n:Ratanchandani;Prashant
tel;work:(217)-244-7116
x-mozilla-html:FALSE
org:UIUC;Computer Science
version:2.1
email;internet:[email protected]
adr;quoted-printable:;;2234 DCL=0D=0A1304 W. Springfield Ave.;Urbana;IL;61801;USA
x-mozilla-cpt:;-18496
fn:Prashant Ratanchandani
end:vcard