[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Minios-devel] [UNIKRAFT/LWIP PATCH 2/5] sys/socket.h: Add SOMAXCONN macro
- To: Costin Lupu <costin.lupu@xxxxxxxxx>, "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
- From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
- Date: Mon, 9 Sep 2019 14:45:05 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/lFgUR9vQaOBP104wqjQW5kpbBN4R6GTIEhl3JuTqUY=; b=RqhWZElvM4GMaFnPmx0piXcM96Hg4MYAcVlv078yZ5VVI1GaEYZRGsHXbPWv/qg1FvZIrP6peuatBX0Nr+eVmHkCzCXMRhVZ0IaOSaayEDHlHEC06R6CT/0tlhCila5LocMYNdhmCSYwSBRyvNXoLoRJp5tps5wx0zHG7aJm27Wuwj3RdsMpUMwr9M97h7qscwCCGIqx7oiIYOEKPMD8ax4j1Y3TC2gBGFB6vlCliZV6TBSXEajKk/BEPQ5EkkSzTGYdONXNFyTcQTRkh0YdXm2WqYCpZF6fBU6TvbWjrbYwnh09nHD7kIcvqzaa0i/kExlIth0VdCZ4qgz7JeubAA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IOimFjdYvv8kSONW58ZpB6egNqwPWfRPZiJatd4XNZWl9fC59klBz/5gnM0PJF6ye2rj8bEBAMowuFos+2oxsh9kzYtS3+chgy3FSf0AiYj2WlvExJR/JviYzv4VnBUAfhoyygJZb7w8nHoIyAv8J+cH+HiTjnirH0uYlD0aU6HQqD2FKycBEgjaqjM4yHbQHhFD2I67scoVc5KEc0ZHvaiCBUkBMCxkFeG5s5glDKutmJ/TwnPXQH3gMz8IHubW/3STSJd6tg9DR/sXYV9O7bOkvuxZBuqNLxHJC+PB8ys3bR9dGc2OitCCHoe3Uly5W5M0fh7RXLGgaRPJLLiUjw==
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
- Cc: "felipe.huici@xxxxxxxxx" <felipe.huici@xxxxxxxxx>, "simon.kuenzer@xxxxxxxxx" <simon.kuenzer@xxxxxxxxx>
- Delivery-date: Mon, 09 Sep 2019 14:45:10 +0000
- List-id: Mini-os development list <minios-devel.lists.xenproject.org>
- Thread-index: AQHVY1RByUwJ4k9UlEKhf91G9gz+racjc6uA
- Thread-topic: [UNIKRAFT/LWIP PATCH 2/5] sys/socket.h: Add SOMAXCONN macro
Thanks Costin!
Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
On 04.09.2019 22:09, Costin Lupu wrote:
> This is the maximum value for the backlog parameter of listen() function.
>
> Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
> ---
> include/sys/socket.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/include/sys/socket.h b/include/sys/socket.h
> index 7a8aca0..aff064e 100644
> --- a/include/sys/socket.h
> +++ b/include/sys/socket.h
> @@ -52,6 +52,10 @@
> #define SOCK_SEQPACKET 5
> #endif
>
> +#ifndef SOMAXCONN
> +#define SOMAXCONN 128
> +#endif
> +
> int socket(int domain, int type, int protocol);
> int accept(int s, struct sockaddr *addr, socklen_t *addrlen);
> int bind(int s, const struct sockaddr *name, socklen_t namelen);
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|