Searched refs:sacked (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/net/ipv4/
H A Dtcp_input.c116 #define FLAG_SACK_RENEGING 0x2000 /* snd_una advanced to a sacked seq */
881 if (!(TCP_SKB_CB(skb)->sacked & (TCPCB_LOST|TCPCB_SACKED_ACKED))) { tcp_skb_mark_lost()
885 TCP_SKB_CB(skb)->sacked |= TCPCB_LOST; tcp_skb_mark_lost()
894 if (!(TCP_SKB_CB(skb)->sacked & (TCPCB_LOST|TCPCB_SACKED_ACKED))) { tcp_skb_mark_lost_uncond_verify()
896 TCP_SKB_CB(skb)->sacked |= TCPCB_LOST; tcp_skb_mark_lost_uncond_verify()
914 * (L|S|R is logically valid, it could occur when L|R is sacked,
1064 if (!(TCP_SKB_CB(skb)->sacked & TCPCB_SACKED_RETRANS)) tcp_for_write_queue()
1079 TCP_SKB_CB(skb)->sacked &= ~TCPCB_SACKED_RETRANS; tcp_for_write_queue()
1193 struct tcp_sacktag_state *state, u8 sacked, tcp_sacktag_one()
1202 if (dup_sack && (sacked & TCPCB_RETRANS)) { tcp_sacktag_one()
1206 if (sacked & TCPCB_SACKED_ACKED) tcp_sacktag_one()
1212 return sacked; tcp_sacktag_one()
1214 if (!(sacked & TCPCB_SACKED_ACKED)) { tcp_sacktag_one()
1215 if (sacked & TCPCB_SACKED_RETRANS) { tcp_sacktag_one()
1220 if (sacked & TCPCB_LOST) { tcp_sacktag_one()
1221 sacked &= ~(TCPCB_LOST|TCPCB_SACKED_RETRANS); tcp_sacktag_one()
1226 if (!(sacked & TCPCB_RETRANS)) { tcp_sacktag_one()
1236 /* Pick the earliest sequence sacked for RTT */ tcp_sacktag_one()
1246 if (sacked & TCPCB_LOST) { tcp_sacktag_one()
1247 sacked &= ~TCPCB_LOST; tcp_sacktag_one()
1252 sacked |= TCPCB_SACKED_ACKED; tcp_sacktag_one()
1271 if (dup_sack && (sacked & TCPCB_SACKED_RETRANS)) { tcp_sacktag_one()
1272 sacked &= ~TCPCB_SACKED_RETRANS; tcp_sacktag_one()
1276 return sacked; tcp_sacktag_one()
1294 /* Adjust counters and hints for the newly sacked sequence tcp_shifted_skb()
1300 tcp_sacktag_one(sk, state, TCP_SKB_CB(skb)->sacked, tcp_shifted_skb()
1331 TCP_SKB_CB(prev)->sacked |= (TCP_SKB_CB(skb)->sacked & TCPCB_EVER_RETRANS); tcp_shifted_skb()
1397 (TCP_SKB_CB(skb)->sacked & (TCPCB_LOST|TCPCB_SACKED_RETRANS)) == TCPCB_SACKED_RETRANS) tcp_shift_skb_data()
1410 if ((TCP_SKB_CB(prev)->sacked & TCPCB_TAGBITS) != TCPCB_SACKED_ACKED) tcp_shift_skb_data()
1496 ((TCP_SKB_CB(skb)->sacked & TCPCB_TAGBITS) != TCPCB_SACKED_ACKED) || tcp_shift_skb_data()
1572 TCP_SKB_CB(skb)->sacked = tcp_for_write_queue_from()
1575 TCP_SKB_CB(skb)->sacked, tcp_for_write_queue_from()
1641 TCP_SKB_CB(ack_skb)->sacked); tcp_sacktag_write_queue()
1951 is_reneg = skb && (TCP_SKB_CB(skb)->sacked & TCPCB_SACKED_ACKED); tcp_enter_loss()
1963 TCP_SKB_CB(skb)->sacked &= (~TCPCB_TAGBITS)|TCPCB_SACKED_ACKED; tcp_for_write_queue()
1964 if (!(TCP_SKB_CB(skb)->sacked&TCPCB_SACKED_ACKED) || is_reneg) { tcp_for_write_queue()
1965 TCP_SKB_CB(skb)->sacked &= ~TCPCB_SACKED_ACKED; tcp_for_write_queue()
1966 TCP_SKB_CB(skb)->sacked |= TCPCB_LOST; tcp_for_write_queue()
2249 (TCP_SKB_CB(skb)->sacked & TCPCB_SACKED_ACKED)) tcp_for_write_queue_from()
2254 (TCP_SKB_CB(skb)->sacked & TCPCB_SACKED_ACKED) || tcp_for_write_queue_from()
2341 if (unlikely(skb && TCP_SKB_CB(skb)->sacked & TCPCB_EVER_RETRANS)) tcp_any_retrans_done()
2387 TCP_SKB_CB(skb)->sacked &= ~TCPCB_LOST; tcp_for_write_queue()
2635 !(TCP_SKB_CB(skb)->sacked & TCPCB_SACKED_ACKED)) { tcp_for_write_queue()
2636 if (TCP_SKB_CB(skb)->sacked & TCPCB_SACKED_RETRANS) { tcp_for_write_queue()
2637 TCP_SKB_CB(skb)->sacked &= ~TCPCB_SACKED_RETRANS; tcp_for_write_queue()
3077 u8 sacked = scb->sacked; tcp_clean_rtx_queue() local
3099 if (unlikely(sacked & TCPCB_RETRANS)) { tcp_clean_rtx_queue()
3100 if (sacked & TCPCB_SACKED_RETRANS) tcp_clean_rtx_queue()
3103 } else if (!(sacked & TCPCB_SACKED_ACKED)) { tcp_clean_rtx_queue()
3114 if (sacked & TCPCB_SACKED_ACKED) tcp_clean_rtx_queue()
3116 if (sacked & TCPCB_LOST) tcp_clean_rtx_queue()
3150 if (skb && (TCP_SKB_CB(skb)->sacked & TCPCB_SACKED_ACKED)) tcp_clean_rtx_queue()
3539 if (TCP_SKB_CB(skb)->sacked) tcp_ack()
3616 if (TCP_SKB_CB(skb)->sacked) { tcp_ack()
3722 TCP_SKB_CB(skb)->sacked = (ptr - 2) - (unsigned char *)th; tcp_parse_options()
1192 tcp_sacktag_one(struct sock *sk, struct tcp_sacktag_state *state, u8 sacked, u32 start_seq, u32 end_seq, int dup_sack, int pcount, const struct skb_mstamp *xmit_time) tcp_sacktag_one() argument
H A Dtcp_output.c402 TCP_SKB_CB(skb)->sacked = 0; tcp_init_nondata_skb()
1105 if (TCP_SKB_CB(skb)->sacked & TCPCB_SACKED_ACKED) tcp_adjust_pcount()
1107 if (TCP_SKB_CB(skb)->sacked & TCPCB_SACKED_RETRANS) tcp_adjust_pcount()
1109 if (TCP_SKB_CB(skb)->sacked & TCPCB_LOST) tcp_adjust_pcount()
1120 (tcp_is_fack(tp) || (TCP_SKB_CB(skb)->sacked & TCPCB_SACKED_ACKED))) tcp_adjust_pcount()
1185 TCP_SKB_CB(buff)->sacked = TCP_SKB_CB(skb)->sacked; tcp_fragment()
1745 TCP_SKB_CB(buff)->sacked = 0; tso_fragment()
1955 TCP_SKB_CB(nskb)->sacked = 0; tcp_mtu_probe()
2485 TCP_SKB_CB(skb)->sacked |= TCP_SKB_CB(next_skb)->sacked & TCPCB_EVER_RETRANS; tcp_collapse_retrans()
2510 if (TCP_SKB_CB(skb)->sacked & TCPCB_SACKED_ACKED) tcp_can_collapse()
2639 TCP_SKB_CB(skb)->sacked |= TCPCB_EVER_RETRANS; __tcp_retransmit_skb()
2656 if (TCP_SKB_CB(skb)->sacked & TCPCB_SACKED_RETRANS) { tcp_retransmit_skb()
2662 TCP_SKB_CB(skb)->sacked |= TCPCB_RETRANS; tcp_retransmit_skb()
2748 __u8 sacked = TCP_SKB_CB(skb)->sacked; tcp_for_write_queue_from() local
2784 } else if (!(sacked & TCPCB_LOST)) { tcp_for_write_queue_from()
2785 if (!hole && !(sacked & (TCPCB_SACKED_RETRANS|TCPCB_SACKED_ACKED))) tcp_for_write_queue_from()
2797 if (sacked & (TCPCB_SACKED_ACKED|TCPCB_SACKED_RETRANS)) tcp_for_write_queue_from()
H A Dtcp.c624 tcb->sacked = 0; skb_entail()
1167 TCP_SKB_CB(skb)->sacked |= TCPCB_REPAIRED; tcp_sendmsg()
H A Dtcp_ipv4.c1595 TCP_SKB_CB(skb)->sacked = 0; tcp_v4_rcv()
/linux-4.1.27/net/sctp/
H A Doutqueue.c208 INIT_LIST_HEAD(&q->sacked); sctp_outq_init()
233 list_for_each_safe(lchunk, temp, &q->sacked) { __sctp_outq_teardown()
1238 list_for_each_safe(lchunk, temp, &q->sacked) {
1288 * list and move chunks that are acked by the Cumulative TSN Ack to q->sacked.
1293 * Instead of printing 'sacked' or 'kept' for each TSN on the
1421 &q->sacked); sctp_check_transmitted()
/linux-4.1.27/include/net/sctp/
H A Dstructs.h780 /* Has this transport moved the ctsn since we last sacked */
1030 /* These are chunks that have been sacked but are above the
1033 struct list_head sacked; member in struct:sctp_outq
/linux-4.1.27/net/ipv6/
H A Dtcp_ipv6.c1356 TCP_SKB_CB(skb)->sacked = 0; tcp_v6_fill_cb()
/linux-4.1.27/include/net/
H A Dtcp.h716 __u8 sacked; /* State flags for SACK/FACK. */ member in struct:tcp_skb_cb

Completed in 231 milliseconds