Re: IPv6 sending to a device without a route
From: Andrew May
Date: Thu Feb 21 2008 - 02:40:00 EST
Chinh Nguyen wrote:
> If your interface is Point-to-Point, can you use MSG_DONTROUTE flag with
> sendmsg?
>
I just tried the MSG_DONTROUTE flag and it doesn't seem to make a
difference. And in the linux/net/ipv6/udp.c file I don't see where the
msg->msg_flags is checked for that, or passed to a function that would
check it.
And from the IPv4 land I think it just means don't use a gateway, not
ignore the routes.
I tried the setsocketopt SO_DONTROUTE too and no luck.
Then I tried the IPV6_NEXTHOP cmsg header, and it doesn't seem to be
supported yet.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html