Searched refs:TCP_SKB_CB (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/net/ipv4/ |
D | tcp_input.c | 225 switch (TCP_SKB_CB(skb)->ip_dsfield & INET_ECN_MASK) { in __tcp_ecn_check_ce() 543 (TCP_SKB_CB(skb)->end_seq - in tcp_rcv_rtt_measure_ts() 544 TCP_SKB_CB(skb)->seq >= inet_csk(sk)->icsk_ack.rcv_mss)) in tcp_rcv_rtt_measure_ts() 870 before(TCP_SKB_CB(skb)->seq, in tcp_verify_retransmit_hint() 871 TCP_SKB_CB(tp->retransmit_skb_hint)->seq)) in tcp_verify_retransmit_hint() 875 after(TCP_SKB_CB(skb)->end_seq, tp->retransmit_high)) in tcp_verify_retransmit_hint() 876 tp->retransmit_high = TCP_SKB_CB(skb)->end_seq; in tcp_verify_retransmit_hint() 881 if (!(TCP_SKB_CB(skb)->sacked & (TCPCB_LOST|TCPCB_SACKED_ACKED))) { in tcp_skb_mark_lost() 885 TCP_SKB_CB(skb)->sacked |= TCPCB_LOST; in tcp_skb_mark_lost() 894 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() 322 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_CWR; in tcp_ecn_send_synack() 324 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_ECE; in tcp_ecn_send_synack() 346 TCP_SKB_CB(skb)->tcp_flags |= TCPHDR_ECE | TCPHDR_CWR; in tcp_ecn_send_syn() 375 !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() 408 TCP_SKB_CB(skb)->seq = seq; in tcp_init_nondata_skb() 411 TCP_SKB_CB(skb)->end_seq = seq; in tcp_init_nondata_skb() 934 tcb = TCP_SKB_CB(skb); in tcp_transmit_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() 157 tcptw->tw_rcv_nxt = TCP_SKB_CB(skb)->end_seq; in tcp_timewait_state_process() 190 (TCP_SKB_CB(skb)->seq == tcptw->tw_rcv_nxt && in tcp_timewait_state_process() 191 (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq || th->rst))) { in tcp_timewait_state_process() 235 (after(TCP_SKB_CB(skb)->seq, tcptw->tw_rcv_nxt) || in tcp_timewait_state_process() 241 TCP_SKB_CB(skb)->tcp_tw_isn = isn; in tcp_timewait_state_process() [all …]
|
D | tcp_fastopen.c | 192 end_seq = TCP_SKB_CB(skb)->end_seq; in tcp_fastopen_create_child() 193 if (end_seq != TCP_SKB_CB(skb)->seq + 1) { in tcp_fastopen_create_child() 211 tp->bytes_received = end_seq - TCP_SKB_CB(skb)->seq - 1; in tcp_fastopen_create_child() 213 end_seq = TCP_SKB_CB(skb)->seq + 1; in tcp_fastopen_create_child() 270 bool syn_data = TCP_SKB_CB(skb)->end_seq != TCP_SKB_CB(skb)->seq + 1; in tcp_try_fastopen()
|
D | tcp.c | 438 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() 947 TCP_SKB_CB(skb)->end_seq += copy; in do_tcp_sendpages() 951 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_PSH; in do_tcp_sendpages() 1167 TCP_SKB_CB(skb)->sacked |= TCPCB_REPAIRED; in tcp_sendmsg() 1222 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_PSH; in tcp_sendmsg() 1225 TCP_SKB_CB(skb)->end_seq += copy; in tcp_sendmsg() 1364 WARN(skb && !before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq), in tcp_cleanup_rbuf() 1366 tp->copied_seq, TCP_SKB_CB(skb)->end_seq, tp->rcv_nxt); in tcp_cleanup_rbuf() [all …]
|
D | tcp_ipv4.c | 688 skb, &TCP_SKB_CB(skb)->header.h4.opt, in tcp_v4_send_reset() 773 skb, &TCP_SKB_CB(skb)->header.h4.opt, in tcp_v4_send_ack() 1584 memmove(&TCP_SKB_CB(skb)->header.h4, IPCB(skb), in tcp_v4_rcv() 1588 TCP_SKB_CB(skb)->seq = ntohl(th->seq); in tcp_v4_rcv() 1589 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v4_rcv() 1591 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v4_rcv() 1592 TCP_SKB_CB(skb)->tcp_flags = tcp_flag_byte(th); in tcp_v4_rcv() 1593 TCP_SKB_CB(skb)->tcp_tw_isn = 0; in tcp_v4_rcv() 1594 TCP_SKB_CB(skb)->ip_dsfield = ipv4_get_dsfield(iph); in tcp_v4_rcv() 1595 TCP_SKB_CB(skb)->sacked = 0; in tcp_v4_rcv()
|
D | syncookies.c | 293 struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt; in cookie_v4_check()
|
/linux-4.1.27/net/ipv6/ |
D | tcp_ipv6.c | 687 if (!TCP_SKB_CB(skb)->tcp_tw_isn && in tcp_v6_init_req() 688 (ipv6_opt_accepted(sk, skb, &TCP_SKB_CB(skb)->header.h6) || in tcp_v6_init_req() 1314 if (TCP_SKB_CB(opt_skb)->end_seq == tp->rcv_nxt && in tcp_v6_do_rcv() 1324 if (ipv6_opt_accepted(sk, opt_skb, &TCP_SKB_CB(opt_skb)->header.h6)) { in tcp_v6_do_rcv() 1345 memmove(&TCP_SKB_CB(skb)->header.h6, IP6CB(skb), in tcp_v6_fill_cb() 1349 TCP_SKB_CB(skb)->seq = ntohl(th->seq); in tcp_v6_fill_cb() 1350 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v6_fill_cb() 1352 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v6_fill_cb() 1353 TCP_SKB_CB(skb)->tcp_flags = tcp_flag_byte(th); in tcp_v6_fill_cb() 1354 TCP_SKB_CB(skb)->tcp_tw_isn = 0; in tcp_v6_fill_cb() [all …]
|
D | syncookies.c | 209 if (ipv6_opt_accepted(sk, skb, &TCP_SKB_CB(skb)->header.h6) || in cookie_v6_check()
|
/linux-4.1.27/include/net/ |
D | tcp.h | 737 #define TCP_SKB_CB(__skb) ((struct tcp_skb_cb *)&((__skb)->cb[0])) macro 746 return TCP_SKB_CB(skb)->header.h6.iif; in tcp_v6_iif() 755 return TCP_SKB_CB(skb)->tcp_gso_segs; in tcp_skb_pcount() 760 TCP_SKB_CB(skb)->tcp_gso_segs = segs; in tcp_skb_pcount_set() 765 TCP_SKB_CB(skb)->tcp_gso_segs += segs; in tcp_skb_pcount_add() 1517 return TCP_SKB_CB(tp->highest_sack)->seq; in tcp_highest_sack_seq() 1685 const struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt; in tcp_v4_save_options()
|