1f08c3bdfSopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later 2f08c3bdfSopenharmony_ci/* 3f08c3bdfSopenharmony_ci * Copyright (c) 2017 Petr Vorel <pvorel@suse.cz> 4f08c3bdfSopenharmony_ci */ 5f08c3bdfSopenharmony_ci 6f08c3bdfSopenharmony_ci#ifndef LAPI_TCP_H__ 7f08c3bdfSopenharmony_ci#define LAPI_TCP_H__ 8f08c3bdfSopenharmony_ci 9f08c3bdfSopenharmony_ci#include <netinet/tcp.h> 10f08c3bdfSopenharmony_ci 11f08c3bdfSopenharmony_ci#ifndef TCP_FASTOPEN 12f08c3bdfSopenharmony_ci# define TCP_FASTOPEN 23 13f08c3bdfSopenharmony_ci#endif 14f08c3bdfSopenharmony_ci 15f08c3bdfSopenharmony_ci#ifndef TCP_FASTOPEN_CONNECT 16f08c3bdfSopenharmony_ci# define TCP_FASTOPEN_CONNECT 30 /* Attempt FastOpen with connect */ 17f08c3bdfSopenharmony_ci#endif 18f08c3bdfSopenharmony_ci 19f08c3bdfSopenharmony_ci#endif /* LAPI_TCP_H__ */ 20