mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:04:59 +00:00
Kernel/Net: Implement TCP_NODELAY
This commit is contained in:
parent
38a368c8f6
commit
61ac554a34
5 changed files with 84 additions and 12 deletions
18
Kernel/API/POSIX/netinet/tcp.h
Normal file
18
Kernel/API/POSIX/netinet/tcp.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Romain Chardiny <romain.chardiny@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define TCP_NODELAY 10
|
||||
#define TCP_MAXSEG 11
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue