Bugzilla – Bug 868
invalid packet size after Ipv4L3Protocol::Send
Last modified: 2010-04-08 10:10:26 UTC
Created attachment 822 [details] Fix the problem with test code Usually, packet->GetSize () after Ipv4L3Protocol::Send () should not include IpHeader. Since we can know the transmitted data size from the socket with Packet::GetSize (). Special case is if we use setsockopt (IP_HDRINCL) with raw socket. In that case, IpHeader should be included.
I've pushed this patch into ns-3-dev. changeset: 6182, 9e060dd421fa