summaryrefslogtreecommitdiffstats
path: root/kernel/tests/include/lapi/tcp.h
blob: bb98f28f089e10c9d6080f5ca8fe79dd710752f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (c) 2017 Petr Vorel <pvorel@suse.cz>
 */

#ifndef LAPI_TCP_H__
#define LAPI_TCP_H__

#include <netinet/tcp.h>

#ifndef TCP_FASTOPEN
# define TCP_FASTOPEN	23
#endif

#ifndef TCP_FASTOPEN_CONNECT
# define TCP_FASTOPEN_CONNECT	30	/* Attempt FastOpen with connect */
#endif

#endif	/* LAPI_TCP_H__ */