Searched refs:th_ack (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/subsys/net/ip/ |
D | tcp_private.h | 19 #define th_ack(_x) ntohl(UNALIGNED_GET(&(_x)->th_ack)) macro 170 uint32_t th_ack; member
|
D | tcp.c | 354 " Ack=%u", th_ack(th)); in tcp_th() 1366 UNALIGNED_PUT(htonl(conn->ack), &th->th_ack); in tcp_header_add() 1512 UNALIGNED_PUT(th_pkt->th_ack, &th_rst->th_seq); in net_tcp_reply_rst() 1517 UNALIGNED_PUT(htonl(ack), &th_rst->th_ack); in net_tcp_reply_rst() 2957 if (FL(&fl, &, ACK, th_ack(th) == conn->seq && in tcp_in() 3053 if (FL(&fl, &, SYN | ACK, th && th_ack(th) == conn->seq)) { in tcp_in() 3113 if (net_tcp_seq_cmp(th_ack(th), conn->seq) > 0) { in tcp_in() 3114 uint32_t len_acked = th_ack(th) - conn->seq; in tcp_in() 3139 if (th && (net_tcp_seq_cmp(th_ack(th), conn->seq) == 0)) { in tcp_in() 3180 if (th && (net_tcp_seq_cmp(th_ack(th), conn->seq) > 0)) { in tcp_in() [all …]
|
/Zephyr-latest/tests/net/tcp/src/ |
D | main.c | 298 th->th_ack = htonl(ack); in tester_prepare_tcp_pkt() 1438 zassert_true(ntohl(th->th_ack) == 2, in handle_data_fin1_test() 1440 __func__, __LINE__, ntohl(th->th_ack)); in handle_data_fin1_test() 1453 zassert_true(ntohl(th->th_ack) == 2, in handle_data_fin1_test() 1455 __func__, __LINE__, ntohl(th->th_ack)); in handle_data_fin1_test() 1571 zassert_true(ntohl(th->th_ack) == 1, in handle_data_during_fin1_test() 1573 __func__, __LINE__, ntohl(th->th_ack)); in handle_data_during_fin1_test() 2050 zassert_equal(expected_ack, ntohl(th.th_ack), in handle_server_recv_out_of_order() 2053 expected_ack, ntohl(th.th_ack)); in handle_server_recv_out_of_order() 2211 zassert_equal(ntohl(th->th_ack), seq, "Invalid ACK value"); in handle_server_rst_on_closed_port() [all …]
|