Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, We have tried to check the IP header using Wireshark on the outgoing packet after setting the client_socket.setTraficClass(34); in the linux machine. But 34 is not set. instead it ...
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    2

    Networking - Problem with setTraficClass() in Linux machine

    Hi,

    We have tried to check the IP header using Wireshark on the outgoing packet after setting the client_socket.setTraficClass(34); in the linux machine.

    But 34 is not set. instead it was showing 00.

    is there any right path to change the dscp value in linux machine?

    Please let me know.

  2. #2
    Just Joined!
    Join Date
    Jul 2010
    Posts
    53
    do the values get set if you use only the fundamental (old) qos constants?

    Code:
        * IPTOS_LOWCOST (0x02)
        * IPTOS_RELIABILITY (0x04)
        * IPTOS_THROUGHPUT (0x08)
        * IPTOS_LOWDELAY (0x10)
    e.g. if you do setTrafficClass(16) does that value get set?

    are you using UDP sockets?

  3. #3
    Just Joined!
    Join Date
    Aug 2010
    Posts
    2
    yes, we are using the UDP sockets.

    if you do setTrafficClass(16) it wont set the value in the UDP socket.

    I have not tried the below constants. But I tried with different integer value.

    *IPTOS_LOWCOST (0x02)
    * IPTOS_RELIABILITY (0x04)
    * IPTOS_THROUGHPUT (0x0
    * IPTOS_LOWDELAY (0x10)

    I am wonder why this is not working in the linux platform.

    please put ur comment on this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...