Home
last modified time | relevance | path

Searched refs:end_seq (Results 1 – 13 of 13) sorted by relevance

/linux-4.4.14/net/ipv4/
Dtcp_input.c547 (TCP_SKB_CB(skb)->end_seq - in tcp_rcv_rtt_measure_ts()
896 after(TCP_SKB_CB(skb)->end_seq, tp->retransmit_high)) in tcp_verify_retransmit_hint()
897 tp->retransmit_high = TCP_SKB_CB(skb)->end_seq; in tcp_verify_retransmit_hint()
1015 u32 start_seq, u32 end_seq) in tcp_is_sackblock_valid() argument
1018 if (after(end_seq, tp->snd_nxt) || !before(start_seq, end_seq)) in tcp_is_sackblock_valid()
1035 if (after(end_seq, tp->snd_una)) in tcp_is_sackblock_valid()
1042 if (!after(end_seq, tp->undo_marker)) in tcp_is_sackblock_valid()
1048 return !before(start_seq, end_seq - tp->max_window); in tcp_is_sackblock_valid()
1057 u32 end_seq_0 = get_unaligned_be32(&sp[0].end_seq); in tcp_check_dsack()
1065 u32 end_seq_1 = get_unaligned_be32(&sp[1].end_seq); in tcp_check_dsack()
[all …]
Dtcp_fastopen.c135 u32 end_seq; in tcp_fastopen_create_child() local
190 end_seq = TCP_SKB_CB(skb)->end_seq; in tcp_fastopen_create_child()
191 if (end_seq != TCP_SKB_CB(skb)->seq + 1) { in tcp_fastopen_create_child()
204 tp->bytes_received = end_seq - TCP_SKB_CB(skb)->seq - 1; in tcp_fastopen_create_child()
206 end_seq = TCP_SKB_CB(skb)->seq + 1; in tcp_fastopen_create_child()
209 tcp_rsk(req)->rcv_nxt = tp->rcv_nxt = end_seq; in tcp_fastopen_create_child()
262 bool syn_data = TCP_SKB_CB(skb)->end_seq != TCP_SKB_CB(skb)->seq + 1; in tcp_try_fastopen()
Dtcp_minisocks.c41 static bool tcp_in_window(u32 seq, u32 end_seq, u32 s_win, u32 e_win) in tcp_in_window() argument
45 if (after(end_seq, s_win) && before(seq, e_win)) in tcp_in_window()
47 return seq == e_win && seq == end_seq; in tcp_in_window()
124 !tcp_in_window(TCP_SKB_CB(skb)->seq, TCP_SKB_CB(skb)->end_seq, in tcp_timewait_state_process()
138 !after(TCP_SKB_CB(skb)->end_seq, tcptw->tw_rcv_nxt) || in tcp_timewait_state_process()
139 TCP_SKB_CB(skb)->end_seq == TCP_SKB_CB(skb)->seq) { in tcp_timewait_state_process()
148 TCP_SKB_CB(skb)->end_seq != tcptw->tw_rcv_nxt + 1) { in tcp_timewait_state_process()
156 tcptw->tw_rcv_nxt = TCP_SKB_CB(skb)->end_seq; in tcp_timewait_state_process()
190 (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq || th->rst))) { in tcp_timewait_state_process()
710 if (paws_reject || !tcp_in_window(TCP_SKB_CB(skb)->seq, TCP_SKB_CB(skb)->end_seq, in tcp_check_req()
[all …]
Dtcp_output.c79 tp->snd_nxt = TCP_SKB_CB(skb)->end_seq; in tcp_event_new_data_sent()
409 TCP_SKB_CB(skb)->end_seq = seq; in tcp_init_nondata_skb()
511 *ptr++ = htonl(sp[this_sack].end_seq); in tcp_options_write()
1012 if (after(tcb->end_seq, tp->snd_nxt) || tcb->seq == tcb->end_seq) in tcp_transmit_skb()
1048 tp->write_seq = TCP_SKB_CB(skb)->end_seq; in tcp_queue_skb()
1167 TCP_SKB_CB(buff)->end_seq = TCP_SKB_CB(skb)->end_seq; in tcp_fragment()
1168 TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(buff)->seq; in tcp_fragment()
1204 if (!before(tp->snd_nxt, TCP_SKB_CB(buff)->end_seq)) { in tcp_fragment()
1512 tp->snd_sml = TCP_SKB_CB(skb)->end_seq; in tcp_minshall_update()
1653 u32 end_seq = TCP_SKB_CB(skb)->end_seq; in tcp_snd_wnd_test() local
[all …]
Dtcp_illinois.c48 u32 end_seq; /* right edge of current RTT */ member
61 ca->end_seq = tp->snd_nxt; in rtt_reset()
263 if (after(ack, ca->end_seq)) in tcp_illinois_cong_avoid()
Dtcp_cubic.c100 u32 end_seq; /* end_seq of the round */ member
135 ca->end_seq = tp->snd_nxt; in bictcp_hystart_reset()
345 if (hystart && after(ack, ca->end_seq)) in bictcp_cong_avoid()
Dtcp_recovery.c53 if (!after(scb->end_seq, tp->snd_una) || in tcp_rack_mark_lost()
Dtcp.c622 tcb->seq = tcb->end_seq = tp->write_seq; in skb_entail()
964 TCP_SKB_CB(skb)->end_seq += copy; in do_tcp_sendpages()
1249 TCP_SKB_CB(skb)->end_seq += copy; in tcp_sendmsg()
1392 WARN(skb && !before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq), in tcp_cleanup_rbuf()
1394 tp->copied_seq, TCP_SKB_CB(skb)->end_seq, tp->rcv_nxt); in tcp_cleanup_rbuf()
2041 u32 len = TCP_SKB_CB(skb)->end_seq - TCP_SKB_CB(skb)->seq; in tcp_close()
Dtcp_ipv4.c1576 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v4_rcv()
/linux-4.4.14/net/netfilter/
Dnf_conntrack_seqadj.c93 if (after(ntohl(sack->end_seq) - seq->offset_before, in nf_ct_sack_block_adjust()
95 new_end_seq = htonl(ntohl(sack->end_seq) - in nf_ct_sack_block_adjust()
98 new_end_seq = htonl(ntohl(sack->end_seq) - in nf_ct_sack_block_adjust()
103 ntohl(sack->end_seq), ntohl(new_end_seq)); in nf_ct_sack_block_adjust()
108 sack->end_seq, new_end_seq, false); in nf_ct_sack_block_adjust()
110 sack->end_seq = new_end_seq; in nf_ct_sack_block_adjust()
/linux-4.4.14/include/linux/
Dtcp.h67 __be32 end_seq; member
72 u32 end_seq; member
/linux-4.4.14/net/ipv6/
Dtcp_ipv6.c1293 if (TCP_SKB_CB(opt_skb)->end_seq == tp->rcv_nxt && in tcp_v6_do_rcv()
1329 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v6_fill_cb()
/linux-4.4.14/include/net/
Dtcp.h740 __u32 end_seq; /* SEQ + FIN + SYN + datalen */ member