ns-allinone-2.35/ns-2.35/emulate/tap.cc
void
TapAgent::recv(Packet* p, Handler*)
{
	(void) sendpkt(p);
	Packet::free(p);
	return;
}
/*
 * SIM -> Live
 *
 * Receive a packet from the simulation and inject into the network.
 * if there is no network attached, call Connector::drop() to send
 * to drop target
 */
> Live
Receive a packet from the simulation and inject into the network.
if there is no network attached, call Connector::drop() to send
to drop target
> Live Receive a packet from the simulation and inject into the network . if there is no network attached call Connector :: drop () to send to drop target
void
TapAgent::recv(Packet* p, Handler*)
{
	(void) sendpkt(p);
	Packet::free(p);
	return;
}
void TapAgent :: recv ( Packet * p , Handler * ) { ( void ) sendpkt ( p ) ; Packet :: free ( p ) ; return ; }
SIM -> Live
 Receive a packet from the simulation and inject into the network.
SIM - > Live Receive a packet from the simulation and inject into the network .