Subject: Re: [PATCH v5 1/2] Implement IP_UNICAST_IF socket option.

From: Brian Haley <[email-masked]>
Date: Tue, 07 Feb 2012 15:45:03 -0500

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