[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4F318D4F.1090603@hp.com>
Date: Tue, 07 Feb 2012 15:45:03 -0500
From: Brian Haley <brian.haley@...com>
To: "Erich E. Hoover" <ehoover@...es.edu>
CC: Linux Netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH v5 1/2] Implement IP_UNICAST_IF socket option.
On 02/07/2012 02:44 PM, Erich E. Hoover wrote:
>
> The IP_UNICAST_IF feature is needed by the Wine project. This patch implements the feature by setting the outgoing interface in a similar fashion to that of IP_MULTICAST_IF. A separate option is needed to handle this feature since the existing options do not provide all of the characteristics required by IP_UNICAST_IF, a summary is provided below.
>
> diff --git a/include/linux/in.h b/include/linux/in.h
> index 01129c0..89f6682 100644
> --- a/include/linux/in.h
> +++ b/include/linux/in.h
> @@ -86,6 +86,7 @@ struct in_addr {
>
> #define IP_MINTTL 21
> #define IP_NODEFRAG 22
> +#define IP_UNICAST_IF 23
Same comment Eric had on the IPv6 one, this should come after IP_MULTICAST_ALL,
so should be 50.
-Brian
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists