Lines Matching refs:end_offset
1248 uint32_t end_offset; in tcp_check_pending_data() local
1251 end_offset = expected_seq - pending_seq; in tcp_check_pending_data()
1254 if (end_offset < pending_len) { in tcp_check_pending_data()
1255 if (end_offset) { in tcp_check_pending_data()
1256 net_pkt_remove_tail(pkt, end_offset); in tcp_check_pending_data()
1257 pending_len -= end_offset; in tcp_check_pending_data()
2628 uint32_t end_offset; in tcp_queue_recv_data() local
2632 end_offset = seq - pending_seq; in tcp_queue_recv_data()
2634 if (end_offset < pending_len) { in tcp_queue_recv_data()
2635 if (end_offset < len) { in tcp_queue_recv_data()
2636 if (end_offset) { in tcp_queue_recv_data()
2637 net_pkt_remove_tail(pkt, end_offset); in tcp_queue_recv_data()
2644 end_offset, pending_len); in tcp_queue_recv_data()
2656 end_offset = (pending_seq + last->len) - seq_start; in tcp_queue_recv_data()
2659 if ((start_offset < len) && (end_offset <= len)) { in tcp_queue_recv_data()
2667 if (end_offset < len) { in tcp_queue_recv_data()
2668 if (end_offset) { in tcp_queue_recv_data()
2670 end_offset); in tcp_queue_recv_data()
2675 start_offset, end_offset, len); in tcp_queue_recv_data()