Bug 2500 - Ipv[4,6]RawSocket ignores IpTtl tag.
Ipv[4,6]RawSocket ignores IpTtl tag.
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: internet
ns-3-dev
All All
: P5 minor
Assigned To: Tommaso Pecorella
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-10 09:52 UTC by Tommaso Pecorella
Modified: 2016-09-12 17:04 UTC (History)
2 users (show)

See Also:


Attachments
Patch (4.96 KB, patch)
2016-09-10 10:21 UTC, Tommaso Pecorella
Details | Diff
fixed patch (5.05 KB, patch)
2016-09-10 19:13 UTC, Tommaso Pecorella
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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