Lines Matching refs:ack

80 static uint32_t ack;  variable
302 th->th_ack = htonl(ack); in tester_prepare_tcp_pkt()
543 ack = ntohl(th->th_seq) + 1U; in handle_client_test()
557 ack = ack + 1U; in handle_client_test()
564 ack = ack + 1U; in handle_client_test()
607 seq = ack = 0; in ZTEST()
669 seq = ack = 0; in ZTEST()
726 ack = ntohl(th->th_seq) + 1U; in handle_server_test()
746 ack++; in handle_server_test()
838 seq = ack = 0; in ZTEST()
907 seq = ack = 0; in ZTEST()
976 seq = ack = 0; in ZTEST()
1051 seq = ack = 0; in ZTEST()
1082 ack = ntohl(th->th_seq) + 1U; in handle_syn_rst_ack()
1113 seq = ack = 0; in ZTEST()
1145 ack = ntohl(th->th_seq) + 1U; in handle_client_fin_wait_2_test()
1159 ack = ack + 1U; in handle_client_fin_wait_2_test()
1166 ack = ack + 1U; in handle_client_fin_wait_2_test()
1217 seq = ack = 0; in ZTEST()
1270 ack = ntohl(th->th_seq) + 1U; in handle_client_fin_wait_2_failure_test()
1284 ack = ack + 1U; in handle_client_fin_wait_2_failure_test()
1291 ack = ack + 1U; in handle_client_fin_wait_2_failure_test()
1358 seq = ack = 0; in ZTEST()
1417 ack = ntohl(th->th_seq) + 1U; in handle_data_fin1_test()
1462 ack = ack + 1U; in handle_data_fin1_test()
1514 seq = ack = 0; in ZTEST()
1561 ack = ntohl(th->th_seq) + 1U; in handle_data_during_fin1_test()
1581 ack = ack + 1U; in handle_data_during_fin1_test()
1632 seq = ack = 0; in ZTEST()
1675 ack = ntohl(th->th_seq) + 1U; in handle_client_closing_test()
1689 ack = ack + 1U; in handle_client_closing_test()
1696 ack = ack + 1U; in handle_client_closing_test()
1745 seq = ack = 0; in ZTEST()
1800 ack = ntohl(th->th_seq) + 1U; in handle_client_closing_failure_test()
1814 ack = ack + 1U; in handle_client_closing_failure_test()
1827 zassert_equal(ntohl(th->th_seq), ack + 1, "FIN seq was not correct!"); in handle_client_closing_failure_test()
1835 zassert_equal(ntohl(th->th_seq), ack, "FIN seq was not correct!"); in handle_client_closing_failure_test()
1838 zassert_equal(ntohl(th->th_seq), ack + 1, "FIN seq was not correct!"); in handle_client_closing_failure_test()
1884 seq = ack = 0; in ZTEST()
1930 ack = my_ack; in create_server_socket()
2005 seq = ack + seq_value; in check_rst_succeed()
2042 check_rst_fail(ack - 1); in ZTEST()
2043 check_rst_fail(ack + wnd); in ZTEST()
2250 seq = ack = 0; in ZTEST()
2267 zassert_equal(ntohl(th->th_seq), ack, "Invalid SEQ value"); in handle_server_rst_on_listening_port()
2296 seq = ack = 200; in ZTEST()
2355 ack = ntohl(th->th_seq) + 1000U; in handle_syn_invalid_ack()
2362 ack = ntohl(th->th_seq) + 1U; in handle_syn_invalid_ack()
2378 ack++; in handle_syn_invalid_ack()
2389 zassert_equal(ntohl(th->th_seq), ack, "Invalid SEQ value"); in handle_syn_invalid_ack()
2415 seq = ack = 0; in ZTEST()
2462 ack = ntohl(th->th_seq) + 1U; in handle_client_fin_ack_with_data_test()
2513 ack++; in handle_client_fin_ack_with_data_test()
2523 ack++; in handle_client_fin_ack_with_data_test()
2591 seq = ack = 0; in ZTEST()
2638 ack = ntohl(th->th_seq) + 1U; in handle_client_seq_validation_test()
2837 seq = ack = 0; in ZTEST()
2899 uint32_t old_ack = ack; in handle_server_ack_validation_test()
2901 ack = svr_seq_base + ack_check_list[ack_check_index].c_ack; in handle_server_ack_validation_test()
2904 ack = old_ack; in handle_server_ack_validation_test()
2933 ack += ack_check_list[ack_check_index].s_data_len; in handle_server_ack_validation_test()
2979 svr_seq_base = ack; in ZTEST()