Lines Matching refs:cookie_len

559 tcp_fastopen_make_psk_cookie(uint8_t *psk, uint8_t *cookie, uint8_t cookie_len)  in tcp_fastopen_make_psk_cookie()  argument
566 SipHash_Update(&ctx, cookie, cookie_len); in tcp_fastopen_make_psk_cookie()
880 if ((cce->cookie_len > 0) && in tcp_fastopen_connect()
886 cce->cookie, cce->cookie_len); in tcp_fastopen_connect()
888 tp->t_tfo_client_cookie_len = cce->cookie_len; in tcp_fastopen_connect()
890 cce->cookie_len); in tcp_fastopen_connect()
919 cce->cookie_len = 0; in tcp_fastopen_connect()
963 cce->cookie_len = 0; in tcp_fastopen_disable_path()
980 uint8_t cookie_len, uint8_t *cookie) in tcp_fastopen_update_cache() argument
988 if ((cookie_len >= TCP_FASTOPEN_MIN_COOKIE_LEN) && in tcp_fastopen_update_cache()
989 (cookie_len <= TCP_FASTOPEN_MAX_COOKIE_LEN) && in tcp_fastopen_update_cache()
990 ((cookie_len & 0x1) == 0)) { in tcp_fastopen_update_cache()
992 cce->cookie_len = cookie_len; in tcp_fastopen_update_cache()
993 memcpy(cce->cookie, cookie, cookie_len); in tcp_fastopen_update_cache()
998 cce->cookie_len = 0; in tcp_fastopen_update_cache()
1007 tcp_fastopen_ccache_create(ccb, inc, mss, cookie_len, cookie); in tcp_fastopen_update_cache()
1050 struct in_conninfo *inc, uint16_t mss, uint8_t cookie_len, uint8_t *cookie) in tcp_fastopen_ccache_create() argument
1091 if ((cookie_len >= TCP_FASTOPEN_MIN_COOKIE_LEN) && in tcp_fastopen_ccache_create()
1092 (cookie_len <= TCP_FASTOPEN_MAX_COOKIE_LEN) && in tcp_fastopen_ccache_create()
1093 ((cookie_len & 0x1) == 0)) { in tcp_fastopen_ccache_create()
1095 cce->cookie_len = cookie_len; in tcp_fastopen_ccache_create()
1096 memcpy(cce->cookie, cookie, cookie_len); in tcp_fastopen_ccache_create()
1101 cce->cookie_len = 0; in tcp_fastopen_ccache_create()
1208 for (j = 0; j < cce->cookie_len; j++) in sysctl_net_inet_tcp_fastopen_ccache_list()