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

Re: [ns] Need help!!!




> 2. What header type/ parameter is used to find the next hop of the packet?
the daddr() field of the ip header can be used.
you access it using
struct hdr_ip *ih = HDR_IP(p);
ih->daddr().
-- 
Robin