[Ns-bugs] [Bug 1361] New: Set TOS from Application level (sockets)

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Sat Feb 11 17:44:12 PST 2012


https://www.nsnam.org/bugzilla/show_bug.cgi?id=1361

           Summary: Set TOS from Application level (sockets)
           Product: ns-3
           Version: ns-3-dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: internet
        AssignedTo: riley at ece.gatech.edu
        ReportedBy: tommaso.pecorella at unifi.it
                CC: ns-bugs at isi.edu
   Estimated Hours: 0.0


http://groups.google.com/group/ns-3-users/browse_thread/thread/5be010835c4b5b71

Sockets should have an option like Linux's one:
-----
SO_PRIORITY
Set the protocol-defined priority for all packets to be sent on this socket.
Linux uses this value to order the networking queues: packets with a higher
priority may be processed first depending on the selected device queueing
discipline. For ip(7), this also sets the IP type-of-service (TOS) field for
outgoing packets. Setting a priority outside the range 0 to 6 requires the
CAP_NET_ADMIN capability.
-----

IPv4 and IPv6 should honor the SO_PRIORITY.

Filing the bug with "enhancement" priority as a reminder.

-- 
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list