Lines Matching refs:V_tcp_fastopen_keys
365 #define V_tcp_fastopen_keys VNET(tcp_fastopen_keys) macro
393 V_tcp_fastopen_keys.newest = TCP_FASTOPEN_MAX_KEYS - 1; in tcp_fastopen_init()
394 V_tcp_fastopen_keys.newest_psk = TCP_FASTOPEN_MAX_PSKS - 1; in tcp_fastopen_init()
490 V_tcp_fastopen_keys.newest++; in tcp_fastopen_addkey_locked()
491 if (V_tcp_fastopen_keys.newest == TCP_FASTOPEN_MAX_KEYS) in tcp_fastopen_addkey_locked()
492 V_tcp_fastopen_keys.newest = 0; in tcp_fastopen_addkey_locked()
493 memcpy(V_tcp_fastopen_keys.key[V_tcp_fastopen_keys.newest], key, in tcp_fastopen_addkey_locked()
503 V_tcp_fastopen_keys.newest_psk++; in tcp_fastopen_addpsk_locked()
504 if (V_tcp_fastopen_keys.newest_psk == TCP_FASTOPEN_MAX_PSKS) in tcp_fastopen_addpsk_locked()
505 V_tcp_fastopen_keys.newest_psk = 0; in tcp_fastopen_addpsk_locked()
506 memcpy(V_tcp_fastopen_keys.psk[V_tcp_fastopen_keys.newest_psk], psk, in tcp_fastopen_addpsk_locked()
579 psk_index = V_tcp_fastopen_keys.newest_psk; in tcp_fastopen_find_cookie_match_locked()
583 V_tcp_fastopen_keys.psk[psk_index], in tcp_fastopen_find_cookie_match_locked()
627 V_tcp_fastopen_keys.key[V_tcp_fastopen_keys.newest], in tcp_fastopen_check_cookie()
638 key_index = V_tcp_fastopen_keys.newest; in tcp_fastopen_check_cookie()
641 tcp_fastopen_make_cookie(V_tcp_fastopen_keys.key[key_index], in tcp_fastopen_check_cookie()
701 V_tcp_fastopen_keys.newest_psk = in sysctl_net_inet_tcp_fastopen_psk_enable()
728 V_tcp_fastopen_keys.newest = TCP_FASTOPEN_MAX_KEYS - 1; in sysctl_net_inet_tcp_fastopen_server_enable()
732 V_tcp_fastopen_keys.newest_psk = in sysctl_net_inet_tcp_fastopen_server_enable()