Searched refs:TCP_SKB_CB (Results 1 – 11 of 11) sorted by relevance
/linux-4.4.14/net/ipv4/ |
D | tcp_input.c | 229 switch (TCP_SKB_CB(skb)->ip_dsfield & INET_ECN_MASK) { in __tcp_ecn_check_ce() 547 (TCP_SKB_CB(skb)->end_seq - in tcp_rcv_rtt_measure_ts() 548 TCP_SKB_CB(skb)->seq >= inet_csk(sk)->icsk_ack.rcv_mss)) in tcp_rcv_rtt_measure_ts() 891 before(TCP_SKB_CB(skb)->seq, in tcp_verify_retransmit_hint() 892 TCP_SKB_CB(tp->retransmit_skb_hint)->seq)) in tcp_verify_retransmit_hint() 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() 902 if (!(TCP_SKB_CB(skb)->sacked & (TCPCB_LOST|TCPCB_SACKED_ACKED))) { in tcp_skb_mark_lost() 906 TCP_SKB_CB(skb)->sacked |= TCPCB_LOST; in tcp_skb_mark_lost() 914 if (!(TCP_SKB_CB(skb)->sacked & (TCPCB_LOST|TCPCB_SACKED_ACKED))) { in tcp_skb_mark_lost_uncond_verify() [all …]
|
D | tcp_output.c | 79 tp->snd_nxt = TCP_SKB_CB(skb)->end_seq; in tcp_event_new_data_sent() 319 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_CWR; in tcp_ecn_send_synack() 321 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_ECE; in tcp_ecn_send_synack() 343 TCP_SKB_CB(skb)->tcp_flags |= TCPHDR_ECE | TCPHDR_CWR; in tcp_ecn_send_syn() 356 TCP_SKB_CB(skb)->tcp_flags &= ~(TCPHDR_ECE | TCPHDR_CWR); in tcp_ecn_clear_syn() 377 !before(TCP_SKB_CB(skb)->seq, tp->snd_nxt)) { in tcp_ecn_send() 401 TCP_SKB_CB(skb)->tcp_flags = flags; in tcp_init_nondata_skb() 402 TCP_SKB_CB(skb)->sacked = 0; in tcp_init_nondata_skb() 406 TCP_SKB_CB(skb)->seq = seq; in tcp_init_nondata_skb() 409 TCP_SKB_CB(skb)->end_seq = seq; in tcp_init_nondata_skb() [all …]
|
D | tcp_minisocks.c | 124 !tcp_in_window(TCP_SKB_CB(skb)->seq, TCP_SKB_CB(skb)->end_seq, in tcp_timewait_state_process() 133 if (th->syn && !before(TCP_SKB_CB(skb)->seq, tcptw->tw_rcv_nxt)) 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() 189 (TCP_SKB_CB(skb)->seq == tcptw->tw_rcv_nxt && in tcp_timewait_state_process() 190 (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq || th->rst))) { in tcp_timewait_state_process() 233 (after(TCP_SKB_CB(skb)->seq, tcptw->tw_rcv_nxt) || in tcp_timewait_state_process() 239 TCP_SKB_CB(skb)->tcp_tw_isn = isn; in tcp_timewait_state_process() [all …]
|
D | tcp_fastopen.c | 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() 262 bool syn_data = TCP_SKB_CB(skb)->end_seq != TCP_SKB_CB(skb)->seq + 1; in tcp_try_fastopen()
|
D | tcp.c | 439 shinfo->tskey = TCP_SKB_CB(skb)->seq + skb->len - 1; in tcp_tx_timestamp() 607 TCP_SKB_CB(skb)->tcp_flags |= TCPHDR_PSH; in tcp_mark_push() 619 struct tcp_skb_cb *tcb = TCP_SKB_CB(skb); in skb_entail() 964 TCP_SKB_CB(skb)->end_seq += copy; in do_tcp_sendpages() 968 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_PSH; in do_tcp_sendpages() 1191 TCP_SKB_CB(skb)->sacked |= TCPCB_REPAIRED; in tcp_sendmsg() 1246 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_PSH; in tcp_sendmsg() 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() [all …]
|
D | tcp_recovery.c | 47 struct tcp_skb_cb *scb = TCP_SKB_CB(skb); in tcp_rack_mark_lost()
|
D | tcp_ipv4.c | 691 skb, &TCP_SKB_CB(skb)->header.h4.opt, in tcp_v4_send_reset() 776 skb, &TCP_SKB_CB(skb)->header.h4.opt, in tcp_v4_send_ack() 1571 memmove(&TCP_SKB_CB(skb)->header.h4, IPCB(skb), in tcp_v4_rcv() 1575 TCP_SKB_CB(skb)->seq = ntohl(th->seq); in tcp_v4_rcv() 1576 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v4_rcv() 1578 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v4_rcv() 1579 TCP_SKB_CB(skb)->tcp_flags = tcp_flag_byte(th); in tcp_v4_rcv() 1580 TCP_SKB_CB(skb)->tcp_tw_isn = 0; in tcp_v4_rcv() 1581 TCP_SKB_CB(skb)->ip_dsfield = ipv4_get_dsfield(iph); in tcp_v4_rcv() 1582 TCP_SKB_CB(skb)->sacked = 0; in tcp_v4_rcv()
|
D | syncookies.c | 296 struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt; in cookie_v4_check()
|
/linux-4.4.14/net/ipv6/ |
D | tcp_ipv6.c | 690 if (!TCP_SKB_CB(skb)->tcp_tw_isn && in tcp_v6_init_req() 691 (ipv6_opt_accepted(sk_listener, skb, &TCP_SKB_CB(skb)->header.h6) || in tcp_v6_init_req() 1293 if (TCP_SKB_CB(opt_skb)->end_seq == tp->rcv_nxt && in tcp_v6_do_rcv() 1303 if (ipv6_opt_accepted(sk, opt_skb, &TCP_SKB_CB(opt_skb)->header.h6)) { in tcp_v6_do_rcv() 1324 memmove(&TCP_SKB_CB(skb)->header.h6, IP6CB(skb), in tcp_v6_fill_cb() 1328 TCP_SKB_CB(skb)->seq = ntohl(th->seq); in tcp_v6_fill_cb() 1329 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v6_fill_cb() 1331 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v6_fill_cb() 1332 TCP_SKB_CB(skb)->tcp_flags = tcp_flag_byte(th); in tcp_v6_fill_cb() 1333 TCP_SKB_CB(skb)->tcp_tw_isn = 0; in tcp_v6_fill_cb() [all …]
|
D | syncookies.c | 189 if (ipv6_opt_accepted(sk, skb, &TCP_SKB_CB(skb)->header.h6) || in cookie_v6_check()
|
/linux-4.4.14/include/net/ |
D | tcp.h | 777 #define TCP_SKB_CB(__skb) ((struct tcp_skb_cb *)&((__skb)->cb[0])) macro 786 return TCP_SKB_CB(skb)->header.h6.iif; in tcp_v6_iif() 795 return TCP_SKB_CB(skb)->tcp_gso_segs; in tcp_skb_pcount() 800 TCP_SKB_CB(skb)->tcp_gso_segs = segs; in tcp_skb_pcount_set() 805 TCP_SKB_CB(skb)->tcp_gso_segs += segs; in tcp_skb_pcount_add() 811 return TCP_SKB_CB(skb)->tcp_gso_size; in tcp_skb_mss() 1593 return TCP_SKB_CB(tp->highest_sack)->seq; in tcp_highest_sack_seq() 1774 const struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt; in tcp_v4_save_options()
|