equal
deleted
inserted
replaced
119 m_address = m_base; |
119 m_address = m_base; |
120 return Ipv4Address (m_network << m_shift); |
120 return Ipv4Address (m_network << m_shift); |
121 } |
121 } |
122 |
122 |
123 Ipv4InterfaceContainer |
123 Ipv4InterfaceContainer |
124 Ipv4AddressHelper::Allocate (const NetDeviceContainer &c) |
124 Ipv4AddressHelper::Assign (const NetDeviceContainer &c) |
125 { |
125 { |
126 NS_LOG_FUNCTION; |
126 NS_LOG_FUNCTION; |
127 Ipv4InterfaceContainer retval; |
127 Ipv4InterfaceContainer retval; |
128 for (uint32_t i = 0; i < c.GetN (); ++i) { |
128 for (uint32_t i = 0; i < c.GetN (); ++i) { |
129 Ptr<NetDevice> device = c.Get (i); |
129 Ptr<NetDevice> device = c.Get (i); |