ns-allinone-2.35/ns-2.35/common/agent.cc
Packet*
Agent::allocpkt() const
{
	Packet* p = Packet::alloc();
	initpkt(p);
	return (p);
}
/*
 * allocate a packet and fill in all the generic fields
 */
allocate a packet and fill in all the generic fields
allocate a packet and fill in all the generic fields
Packet*
Agent::allocpkt() const
{
	Packet* p = Packet::alloc();
	initpkt(p);
	return (p);
}
Packet * Agent :: allocpkt ( ) const { Packet * p = Packet :: alloc ( ) ; initpkt ( p ) ; return ( p ) ; }
allocate a packet and fill in all the generic fields
allocate a packet and fill in all the generic fields