[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] MAC_BROADCAST
I am trying to get my agent at a node to send a packet to all nodes in its
broadcast radius. My agent runs on top of DSDV routing and 802.11 MAC. I
did
hdr_ip * iph = HDR_IP(pkt);
hdr_cmn *cmh = HDR_CMN(pkt);
cmh->next_hop() = MAC_BROADCAST;
cmh->addr_type() = NS_AF_ILINK;
iph->src_ = here_;
iph->dst_.addr_ = MAC_BROADCAST;
iph->dst_.port_ = here_.port_;
But the agents at nodes in its radius are not receiving the packet. I saw
a similar query in the list, but there wasn't any reply. Can anyone help?
Sagnik