xref: /aosp_15_r20/external/ltp/include/lapi/tcp.h (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * Copyright (c) 2017 Petr Vorel <[email protected]>
4  */
5 
6 #ifndef LAPI_TCP_H__
7 #define LAPI_TCP_H__
8 
9 #include <netinet/tcp.h>
10 
11 #ifndef TCP_FASTOPEN
12 # define TCP_FASTOPEN	23
13 #endif
14 
15 #ifndef TCP_ULP
16 # define TCP_ULP          31
17 #endif
18 
19 #ifndef TCP_FASTOPEN_CONNECT
20 # define TCP_FASTOPEN_CONNECT	30	/* Attempt FastOpen with connect */
21 #endif
22 
23 #endif	/* LAPI_TCP_H__ */
24