Hi Q.1) When packets are sent from the MAC layer to downlayers then in the transmit() this is called:
downtarget_->recv(p->copy(), this); // ns`/mac/mac802_11.c's Now want to know which recv() is this exactly meaning which file. I know that either it has to in Phy.cc/.h or interface but i can't find that Q.2) Also when we call transmit() from one mac (meaning from source STA) how does the other STA (source) calls their recv() function. I can't make out the exact representation of different STA's in the MAC layer. -- Saurabh Sinha Department of Computer Science, University of Delhi.