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

Re: [Minios-devel] [UNIKRAFT/LWIP PATCH] sys/socket.h: Define AF_LOCAL



Reviewed-by: Stefan Teodorescu <stefanl.teodorescu@xxxxxxxxx>

On Fri, Nov 1, 2019 at 1:17 PM Costin Lupu <costin.lupu@xxxxxxxxx> wrote:
>
> We use, just like on Linux, the same value as AF_UNIX. Or the other way 
> around.
>
> Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
> ---
>  include/sys/socket.h | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/include/sys/socket.h b/include/sys/socket.h
> index e691b79..f23ad32 100644
> --- a/include/sys/socket.h
> +++ b/include/sys/socket.h
> @@ -56,8 +56,12 @@
>  #define SOMAXCONN 128
>  #endif
>
> +#ifndef AF_LOCAL
> +#define AF_LOCAL 1 /* Not supported/stub */
> +#endif
> +
>  #ifndef AF_UNIX
> -#define AF_UNIX 1 /* Not supported/stub */
> +#define AF_UNIX AF_LOCAL /* Not supported/stub */
>  #endif
>
>  #ifndef SCM_RIGHTS
> --
> 2.20.1
>
>
> _______________________________________________
> Minios-devel mailing list
> Minios-devel@xxxxxxxxxxxxxxxxxxxx
> https://lists.xenproject.org/mailman/listinfo/minios-devel

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.