This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
function in6_selectroute fail
- From: cyl cyl <cylecos at gmail dot com>
- To: eCos Users <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 19 Dec 2012 17:29:22 +0800
- Subject: [ECOS] function in6_selectroute fail
Hello:
I want to add ipv6 to my eth . Stack is bsd_tcpip, I configured
"IPv6 support" and "Multicast routing support" and "Thread for IPv6
routing".
I traced "sendto": bsd_sendit -> sosend -> udp6_send ->
udp6_output -> in6_selectsrc -> in6_selectif -> in6_selectroute.
And found "in6_selectroute" (in6_src.c) returns error, errno is
EHOSTUNREACH.
if (ro->ro_rt == NULL){
error = EHOSTUNREACH;
}
I don't know how to set v6 route for eth0 , does IPv6 routing thread
do this work ?
Thanks for anything .
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss