A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

April 21, 2011

Flow Label support for IPv6 sockets

Hello everyone,

I'm currently implementing a traffic generator software which could send IPv6 traffic by employing regular stream/dgram sockets. I'm also interested in assigning a specific flow label value for a stream but I have not been able to find any documentation about how to actually do it. Is it really so that the sin6_flowinfo member is currently unsupported even in latest kernel versions and the flow label can not be manually assigned if regular sockets are used? Of course, if I would use raw sockets I could bypass this problem but they can't be used with TCP.


Click Here!