Searched refs:th_seq (Results 1 – 3 of 3) sorted by relevance
295 th->th_seq = htonl(seq); in tester_prepare_tcp_pkt()540 ack = ntohl(th->th_seq) + 1U; in handle_client_test()723 ack = ntohl(th->th_seq) + 1U; in handle_server_test()1079 ack = ntohl(th->th_seq) + 1U; in handle_syn_rst_ack()1142 ack = ntohl(th->th_seq) + 1U; in handle_client_fin_wait_2_test()1267 ack = ntohl(th->th_seq) + 1U; in handle_client_fin_wait_2_failure_test()1400 return ntohl(th->th_seq) - device_initial_seq; in get_rel_seq()1412 device_initial_seq = ntohl(th->th_seq); in handle_data_fin1_test()1414 ack = ntohl(th->th_seq) + 1U; in handle_data_fin1_test()1553 device_initial_seq = ntohl(th->th_seq); in handle_data_during_fin1_test()[all …]
18 #define th_seq(_x) ntohl(UNALIGNED_GET(&(_x)->th_seq)) macro169 uint32_t th_seq; member
350 "%s Seq=%u", tcp_flags(th_flags(th)), th_seq(th)); in tcp_th()1245 uint32_t expected_seq = th_seq(th) + len; in tcp_check_pending_data()1252 gap_size = (int32_t)(pending_seq - th_seq(th) - ((uint32_t)len)); in tcp_check_pending_data()1363 UNALIGNED_PUT(htonl(seq), &th->th_seq); in tcp_header_add()1512 UNALIGNED_PUT(th_pkt->th_ack, &th_rst->th_seq); in net_tcp_reply_rst()1514 uint32_t ack = ntohl(th_pkt->th_seq) + tcp_data_len(pkt); in net_tcp_reply_rst()2514 return (net_tcp_seq_cmp(th_seq(hdr), conn->ack) >= 0) && in tcp_validate_seq()2515 (net_tcp_seq_cmp(th_seq(hdr), conn->ack + conn->recv_win) < 0); in tcp_validate_seq()2530 new_len = (int32_t)(len) - net_tcp_seq_cmp(conn->ack, th_seq(hdr)); in tcp_compute_new_length()2930 conn_ack(conn, th_seq(th) + 1); /* capture peer's isn */ in tcp_in()[all …]