Home
last modified time | relevance | path

Searched refs:scb (Results 1 – 5 of 5) sorted by relevance

/net/ipv4/
Dtcp_rate.c82 struct tcp_skb_cb *scb = TCP_SKB_CB(skb); in tcp_rate_skb_delivered() local
84 if (!scb->tx.delivered_mstamp) in tcp_rate_skb_delivered()
88 after(scb->tx.delivered, rs->prior_delivered)) { in tcp_rate_skb_delivered()
89 rs->prior_delivered = scb->tx.delivered; in tcp_rate_skb_delivered()
90 rs->prior_mstamp = scb->tx.delivered_mstamp; in tcp_rate_skb_delivered()
91 rs->is_app_limited = scb->tx.is_app_limited; in tcp_rate_skb_delivered()
92 rs->is_retrans = scb->sacked & TCPCB_RETRANS; in tcp_rate_skb_delivered()
98 scb->tx.first_tx_mstamp); in tcp_rate_skb_delivered()
105 if (scb->sacked & TCPCB_SACKED_ACKED) in tcp_rate_skb_delivered()
106 scb->tx.delivered_mstamp = 0; in tcp_rate_skb_delivered()
Dtcp_recovery.c86 struct tcp_skb_cb *scb = TCP_SKB_CB(skb); in tcp_rack_detect_loss() local
90 if ((scb->sacked & TCPCB_LOST) && in tcp_rack_detect_loss()
91 !(scb->sacked & TCPCB_SACKED_RETRANS)) in tcp_rack_detect_loss()
96 tp->rack.end_seq, scb->end_seq)) in tcp_rack_detect_loss()
Dtcp_input.c3092 struct tcp_skb_cb *scb = TCP_SKB_CB(skb); in tcp_clean_rtx_queue() local
3093 const u32 start_seq = scb->seq; in tcp_clean_rtx_queue()
3094 u8 sacked = scb->sacked; in tcp_clean_rtx_queue()
3100 if (after(scb->end_seq, tp->snd_una)) { in tcp_clean_rtx_queue()
3102 !after(tp->snd_una, scb->seq)) in tcp_clean_rtx_queue()
3126 if (!after(scb->end_seq, tp->high_seq)) in tcp_clean_rtx_queue()
3135 tcp_rack_advance(tp, sacked, scb->end_seq, in tcp_clean_rtx_queue()
3152 if (likely(!(scb->tcp_flags & TCPHDR_SYN))) { in tcp_clean_rtx_queue()
/net/bluetooth/cmtp/
Dcore.c224 struct cmtp_scb *scb = (void *) skb->cb; in cmtp_process_transmit() local
235 if (scb->id < 0) { in cmtp_process_transmit()
236 scb->id = cmtp_alloc_block_id(session); in cmtp_process_transmit()
237 if (scb->id < 0) { in cmtp_process_transmit()
246 | ((scb->id << 2) & 0x3c) in cmtp_process_transmit()
252 | ((scb->id << 2) & 0x3c) in cmtp_process_transmit()
264 cmtp_free_block_id(session, scb->id); in cmtp_process_transmit()
265 if (scb->data) { in cmtp_process_transmit()
Dcapi.c136 struct cmtp_scb *scb = (void *) skb->cb; in cmtp_send_capimsg() local
140 scb->id = -1; in cmtp_send_capimsg()
141 scb->data = (CAPIMSG_COMMAND(skb->data) == CAPI_DATA_B3); in cmtp_send_capimsg()