Hello all,
I am working on a project of designing AIS for a routing
protocol.For it I needed to enable promiscuous mode in ns-2.This is done by
me as this
**In the file mac/mac-802_11.cc,
looking for the recv_timer() function,
looking for the "Address Filtering" section:
there
I decided to pass the frame to the upper LL agent,
instead of discarding it by adding recvDATA(pktRx_);
/*
* Address Filtering
*/
if(dst != (u_int32_t)index_ && dst != MAC_BROADCAST) {
/*
* We don't want to log this event, so we just free
* the packet instead of calling the drop routine.
*/
recvDATA(pktRx_);
goto done;
}
*******could anybody suggest a way as to how do i proceed in activating the
promiscuous mode******
thank you
susan
--
View this message in context:
http://old.nabble.com/Setting-Promiscuous-mode-in-ns-2-for-a-routing-protocol-tp30697814p30697814.html
Sent from the ns-users mailing list archive at Nabble.com.