Bug 2500

Summary: Ipv[4,6]RawSocket ignores IpTtl tag.
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: internetAssignee: Tommaso Pecorella <tommaso.pecorella>
Status: RESOLVED FIXED    
Severity: minor CC: ns-bugs, tomh
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: Patch
fixed patch

Description Tommaso Pecorella 2016-09-10 09:52:11 UTC
It has been reported here:
https://groups.google.com/forum/#!topic/ns-3-users/QgEon8y7hnw

As a matter of fact, there are a number of glitches in Ipv[4.6]RawSockets, and not honoring TTL/HC and TrafficClass is one of them.
Comment 1 Tommaso Pecorella 2016-09-10 10:21:16 UTC
Created attachment 2574 [details]
Patch

This patch should do, but it's still to check.
Comment 2 Tommaso Pecorella 2016-09-10 19:13:22 UTC
Created attachment 2575 [details]
fixed patch

Fixed the patch. I did a fast check and it should work.
Comment 3 Tom Henderson 2016-09-12 16:22:05 UTC
OK to commit
Comment 4 Tommaso Pecorella 2016-09-12 17:04:39 UTC
changeset 12317:3f37132c807d