IPv6 Traffic Class and Flow Label
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > IPv6 Traffic Class and Flow Label




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    IPv6 Traffic Class and Flow Label  
Daniel Beer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-18-07 06:22 PM

Hi,

has anyone some experiences with IPv6 and it's traffic class and flow
label header fields? I'm trying to set them to my socket, but wireshark
tells me, that they stay 0. Here's some code:

struct addrinfo hints, *res=NULL;

[...hints being initialized with AF_INET6...]

rc = getaddrinfo(server, servport, &hints, &res);
sd = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
[...]

((struct sockaddr_in6*)res->ai_addr)->sin6_flowinfo=htonl(123);
//trying to set flowinfo
rc = connect(sd, res->ai_addr, res->ai_addrlen);


Any hints? I'm using Ubuntu 6.10 and IPv6 is working but no flowinfo.

Thanks in advance,

Daniel





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:59 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register