equal
deleted
inserted
replaced
219 return Mac48Address::GetBroadcast (); |
219 return Mac48Address::GetBroadcast (); |
220 } |
220 } |
221 bool |
221 bool |
222 WifiNetDevice::IsMulticast (void) const |
222 WifiNetDevice::IsMulticast (void) const |
223 { |
223 { |
224 return false; |
224 return true; |
225 } |
225 } |
226 Address |
226 Address |
227 WifiNetDevice::GetMulticast (Ipv4Address multicastGroup) const |
227 WifiNetDevice::GetMulticast (Ipv4Address multicastGroup) const |
228 { |
228 { |
229 return Mac48Address::GetMulticast (multicastGroup); |
229 return Mac48Address::GetMulticast (multicastGroup); |
289 enum NetDevice::PacketType type; |
289 enum NetDevice::PacketType type; |
290 if (to.IsBroadcast ()) |
290 if (to.IsBroadcast ()) |
291 { |
291 { |
292 type = NetDevice::PACKET_BROADCAST; |
292 type = NetDevice::PACKET_BROADCAST; |
293 } |
293 } |
294 else if (to.IsMulticast ()) |
294 else if (to.IsGroup ()) |
295 { |
295 { |
296 type = NetDevice::PACKET_MULTICAST; |
296 type = NetDevice::PACKET_MULTICAST; |
297 } |
297 } |
298 else if (to == m_mac->GetAddress ()) |
298 else if (to == m_mac->GetAddress ()) |
299 { |
299 { |