Dear all,

 

I am dealing with MANET and I need to generate a new broadcast packet in
DSDV.

I have genrate it like below:

 Packet *p1 = allocpkt();

 hdr_ip *iph1 = hdr_ip::access(p1);

  hdr_cmn *hdrc1 = HDR_CMN (p1);

hdrc1->next_hop_ = IP_BROADCAST;

  hdrc1->addr_type_ = NS_AF_INET;

iph1->daddr() = IP_BROADCAST ;

  iph1->dport() = ROUTER_PORT;   // it is 0xff

  iph1->sport() = ROUTER_PORT;

iph1->ttl() =1;

 

It works till I don't start sending Data packet ( Cbr) . when Data packet
are sent in the network I get the following error :

--- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---

        _o32: no target for slot 0

        _o32 type: Classifier/Port

content dump:

classifier _o32

        0 offset

        0 shift

        2147483647 mask

        1 slots

                slot 255: _o19 (Agent/DSDV)

---------- Finished standard no-slot{} default handler ----------

 

I saw the same question in the mailing list but the non of the proposed
solution didn't work.

 

Thank you for your help,

 

Golnaz Karbaschi

 

 

Reply via email to