ns-allinone-2.35/satellite/satlink.cc
void SatChannel::add_interface(Phy* phy_)
{
	phy_->setchnl(this); // Attach phy to this channel
	phy_->insertchnl(&ifhead_); // Add phy_ to list of phys on the channel
}
// This is a helper function that attaches a SatChannel to a Phy
This is a helper function that attaches a SatChannel to a Phy
This is a helper function that attaches a SatChannel to a Phy
void SatChannel::add_interface(Phy* phy_)
{
	phy_->setchnl(this); 
	phy_->insertchnl(&ifhead_); 
}
void SatChannel :: add_interface ( Phy * phy_ ) { phy_ -> setchnl ( this ) ; phy_ -> insertchnl ( & ifhead_ ) ; }
This is a helper function that attaches a SatChannel to a Phy
This is a helper function that attaches a SatChannel to a Phy
// Attach phy to this channel // Add phy_ to list of phys on the channel