flow labels IPv6

From: F.H.G. Ogg (ogg@natlab.research.philips.com)
Date: Tue Jul 16 2002 - 09:34:15 EST


(please CC your reply to me directly at ogg@research.natlab.philips.com)

Hi !

For several weeks now I have been trying to set a flow label and/or Traffic
Class in IPv6 UDP messages (kernel 2.4.18). There seems to be no
documentation available
about this apart from
 -IETF: Advanced sockets API for IPv6 (lacking the FLOWLABEL_MGR approach
taken in Linux)
- IETF: drafts on IPv6 API (flow labels API has been withdrawn)
- IPv6 Flow Labels In Linux-2.2 (by Alexey N. Kuznetsov) 1999. (lacks
#include requirements)
-everything in /usr/include and /usr/src/linux-2.4.18

The problem is:
What header-files should I include when compiling a program that uses IPv6
sockets and requests a specific flow label from the flow label manager
system? When I include
<linux/in6.h> which contains the necessary #define's
even without ANY other #include statements GCC breaks with a "redefinition"
error?!? I conclude from this that <linux/in6.h> was not meant to be
included in user level applications (the same goes for <linux/ipv66.h>). The
question remains: "which header SHOULD be included for this to work?"

Attached you canl find my simple UDP sender program, wich does not compile.
Ofcourse I don't expect you to start debugging my code, but I suppose it may
be helpful.

_____________________________________________
Felix Ogg (TU/e graduate student)
Netherlands



-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:01 EST