29#ifndef _TCP_FASTOPEN_H_
30#define _TCP_FASTOPEN_H_
36#define TCP_FASTOPEN_COOKIE_LEN 8
40#define V_tcp_fastopen_client_enable VNET(tcp_fastopen_client_enable)
43#define V_tcp_fastopen_server_enable VNET(tcp_fastopen_server_enable)
45#define V_tcp_fastopen_client_enable 0
46#define V_tcp_fastopen_server_enable 0
96#define tcp_fastopen_init() ((void)0)
97#define tcp_fastopen_destroy() ((void)0)
98#define tcp_fastopen_alloc_counter() NULL
99#define tcp_fastopen_decrement_counter(c) ((void)0)
100#define tcp_fastopen_check_cookie(i, c, l, lc) (-1)
101#define tcp_fastopen_connect(t) ((void)0)
102#define tcp_fastopen_disable_path(t) ((void)0)
103#define tcp_fastopen_update_cache(t, m, l, c) ((void)0)
VNET_DECLARE(struct cc_algo *, default_cc_ptr)
struct tcp_fastopen_ccache * ccb_ccache
TAILQ_HEAD(bucket_entries, tcp_fastopen_ccache_entry) ccb_entries
TAILQ_ENTRY(tcp_fastopen_ccache_entry) cce_link
uint8_t cookie[TCP_FASTOPEN_MAX_COOKIE_LEN]
union tcp_fastopen_ip_addr cce_client_ip
union tcp_fastopen_ip_addr cce_server_ip
struct tcp_fastopen_ccache_bucket * base
unsigned int bucket_limit
#define tcp_fastopen_decrement_counter(c)
#define tcp_fastopen_disable_path(t)
#define tcp_fastopen_destroy()
#define tcp_fastopen_check_cookie(i, c, l, lc)
#define tcp_fastopen_alloc_counter()
#define tcp_fastopen_init()
#define tcp_fastopen_connect(t)
#define tcp_fastopen_update_cache(t, m, l, c)