|
299 |
m_endPoint->GetLocalPort (), port); |
299 |
m_endPoint->GetLocalPort (), port); |
300 |
NotifyDataSent (p->GetSize ()); |
300 |
NotifyDataSent (p->GetSize ()); |
301 |
} |
301 |
} |
302 |
NS_LOG_LOGIC ("Limited broadcast end."); |
302 |
NS_LOG_LOGIC ("Limited broadcast end."); |
|
|
303 |
return p->GetSize(); |
303 |
} |
304 |
} |
304 |
else if (ipv4->GetIfIndexForDestination(dest, localIfIndex)) |
305 |
else if (ipv4->GetIfIndexForDestination(dest, localIfIndex)) |
305 |
{ |
306 |
{ |
|
307 |
m_udp->Send (p, ipv4->GetAddress (localIfIndex), dest, |
308 |
m_udp->Send (p, ipv4->GetAddress (localIfIndex), dest, |
308 |
m_endPoint->GetLocalPort (), port); |
309 |
m_endPoint->GetLocalPort (), port); |
309 |
NotifyDataSent (p->GetSize ()); |
310 |
NotifyDataSent (p->GetSize ()); |
310 |
return 0; |
311 |
return p->GetSize();; |
311 |
} |
312 |
} |
312 |
else |
313 |
else |
313 |
{ |
314 |
{ |