Re: IPv6 sending to a device without a route

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux