sack 965 drivers/crypto/chelsio/chtls/chtls_cm.c if (req->tcpopt.sack) sack 2453 drivers/infiniband/hw/cxgb4/cm.c if (enable_tcp_sack && req->tcpopt.sack) sack 3987 drivers/infiniband/hw/cxgb4/cm.c req->tcpopt.sack = 1; sack 184 drivers/net/ethernet/chelsio/cxgb/cpl5_cmd.h u8 sack:1; sack 188 drivers/net/ethernet/chelsio/cxgb/cpl5_cmd.h u8 sack:1; sack 215 drivers/net/ethernet/chelsio/cxgb3/t3_cpl.h __u8 sack:1; sack 219 drivers/net/ethernet/chelsio/cxgb3/t3_cpl.h __u8 sack:1; sack 384 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h __u8 sack:1; sack 388 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h __u8 sack:1; sack 1183 drivers/target/iscsi/cxgbit/cxgbit_cm.c if (req->tcpopt.sack) sack 3072 net/ipv4/tcp_input.c struct tcp_sacktag_state *sack) sack 3143 net/ipv4/tcp_input.c tcp_rate_skb_delivered(sk, skb, sack->rate); sack 3186 net/ipv4/tcp_input.c sack->rate->prior_delivered + 1 == tp->delivered && sack 3195 net/ipv4/tcp_input.c if (sack->first_sackt) { sack 3196 net/ipv4/tcp_input.c sack_rtt_us = tcp_stamp_us_delta(tp->tcp_mstamp, sack->first_sackt); sack 3197 net/ipv4/tcp_input.c ca_rtt_us = tcp_stamp_us_delta(tp->tcp_mstamp, sack->last_sackt); sack 3200 net/ipv4/tcp_input.c ca_rtt_us, sack->rate); sack 3242 net/ipv4/tcp_input.c .rtt_us = sack->rate->rtt_us, sack 399 net/netfilter/nf_conntrack_proto_tcp.c const struct tcphdr *tcph, __u32 *sack) sack 450 net/netfilter/nf_conntrack_proto_tcp.c if (after(tmp, *sack)) sack 451 net/netfilter/nf_conntrack_proto_tcp.c *sack = tmp; sack 474 net/netfilter/nf_conntrack_proto_tcp.c __u32 seq, ack, sack, end, win, swin; sack 483 net/netfilter/nf_conntrack_proto_tcp.c ack = sack = ntohl(tcph->ack_seq); sack 489 net/netfilter/nf_conntrack_proto_tcp.c tcp_sack(skb, dataoff, tcph, &sack); sack 494 net/netfilter/nf_conntrack_proto_tcp.c sack -= receiver_offset; sack 500 net/netfilter/nf_conntrack_proto_tcp.c seq, ack, receiver_offset, sack, receiver_offset, win, end); sack 550 net/netfilter/nf_conntrack_proto_tcp.c receiver->td_end = receiver->td_maxend = sack; sack 573 net/netfilter/nf_conntrack_proto_tcp.c ack = sack = receiver->td_end; sack 581 net/netfilter/nf_conntrack_proto_tcp.c ack = sack = receiver->td_end; sack 593 net/netfilter/nf_conntrack_proto_tcp.c seq, ack, receiver_offset, sack, receiver_offset, win, end); sack 608 net/netfilter/nf_conntrack_proto_tcp.c before(sack, receiver->td_end + 1), sack 609 net/netfilter/nf_conntrack_proto_tcp.c after(sack, receiver->td_end - MAXACKWINDOW(sender) - 1)); sack 613 net/netfilter/nf_conntrack_proto_tcp.c before(sack, receiver->td_end + 1) && sack 614 net/netfilter/nf_conntrack_proto_tcp.c after(sack, receiver->td_end - MAXACKWINDOW(sender) - 1)) { sack 624 net/netfilter/nf_conntrack_proto_tcp.c swin = win + (sack - ack); sack 644 net/netfilter/nf_conntrack_proto_tcp.c if (after(sack + win, receiver->td_maxend - 1)) { sack 645 net/netfilter/nf_conntrack_proto_tcp.c receiver->td_maxend = sack + win; sack 682 net/netfilter/nf_conntrack_proto_tcp.c before(sack, receiver->td_end + 1) ? sack 683 net/netfilter/nf_conntrack_proto_tcp.c after(sack, receiver->td_end - MAXACKWINDOW(sender) - 1) ? "BUG" sack 82 net/netfilter/nf_conntrack_seqadj.c struct tcp_sack_block_wire *sack; sack 85 net/netfilter/nf_conntrack_seqadj.c sack = (void *)skb->data + sackoff; sack 86 net/netfilter/nf_conntrack_seqadj.c if (after(ntohl(sack->start_seq) - seq->offset_before, sack 88 net/netfilter/nf_conntrack_seqadj.c new_start_seq = htonl(ntohl(sack->start_seq) - sack 91 net/netfilter/nf_conntrack_seqadj.c new_start_seq = htonl(ntohl(sack->start_seq) - sack 94 net/netfilter/nf_conntrack_seqadj.c if (after(ntohl(sack->end_seq) - seq->offset_before, sack 96 net/netfilter/nf_conntrack_seqadj.c new_end_seq = htonl(ntohl(sack->end_seq) - sack 99 net/netfilter/nf_conntrack_seqadj.c new_end_seq = htonl(ntohl(sack->end_seq) - sack 103 net/netfilter/nf_conntrack_seqadj.c ntohl(sack->start_seq), ntohl(new_start_seq), sack 104 net/netfilter/nf_conntrack_seqadj.c ntohl(sack->end_seq), ntohl(new_end_seq)); sack 107 net/netfilter/nf_conntrack_seqadj.c sack->start_seq, new_start_seq, false); sack 109 net/netfilter/nf_conntrack_seqadj.c sack->end_seq, new_end_seq, false); sack 110 net/netfilter/nf_conntrack_seqadj.c sack->start_seq = new_start_seq; sack 111 net/netfilter/nf_conntrack_seqadj.c sack->end_seq = new_end_seq; sack 112 net/netfilter/nf_conntrack_seqadj.c sackoff += sizeof(*sack); sack 1470 net/sctp/associola.c struct sctp_chunk *sack; sack 1511 net/sctp/associola.c sack = sctp_make_sack(asoc); sack 1512 net/sctp/associola.c if (!sack) sack 1517 net/sctp/associola.c sctp_outq_tail(&asoc->outqueue, sack, GFP_ATOMIC); sack 271 net/sctp/output.c struct sctp_chunk *sack; sack 278 net/sctp/output.c sack = sctp_make_sack(asoc); sack 279 net/sctp/output.c if (sack) { sack 280 net/sctp/output.c retval = __sctp_packet_append_chunk(pkt, sack); sack 282 net/sctp/output.c sctp_chunk_free(sack); sack 41 net/sctp/outqueue.c static int sctp_acked(struct sctp_sackhdr *sack, __u32 tsn); sack 46 net/sctp/outqueue.c struct sctp_sackhdr *sack, sack 1199 net/sctp/outqueue.c struct sctp_sackhdr *sack) sack 1207 net/sctp/outqueue.c frags = sack->variable; sack 1208 net/sctp/outqueue.c for (i = 0; i < ntohs(sack->num_gap_ack_blocks); i++) { sack 1224 net/sctp/outqueue.c struct sctp_sackhdr *sack = chunk->subh.sack_hdr; sack 1228 net/sctp/outqueue.c union sctp_sack_variable *frags = sack->variable; sack 1241 net/sctp/outqueue.c sack_ctsn = ntohl(sack->cum_tsn_ack); sack 1242 net/sctp/outqueue.c gap_ack_blocks = ntohs(sack->num_gap_ack_blocks); sack 1294 net/sctp/outqueue.c sctp_check_transmitted(q, &q->retransmit, NULL, NULL, sack, &highest_new_tsn); sack 1303 net/sctp/outqueue.c transport, &chunk->source, sack, sack 1331 net/sctp/outqueue.c sctp_sack_update_unack_data(asoc, sack); sack 1354 net/sctp/outqueue.c sack_a_rwnd = ntohl(sack->a_rwnd); sack 1403 net/sctp/outqueue.c struct sctp_sackhdr *sack, sack 1417 net/sctp/outqueue.c sack_ctsn = ntohl(sack->cum_tsn_ack); sack 1444 net/sctp/outqueue.c if (sctp_acked(sack, tsn)) { sack 1484 net/sctp/outqueue.c if (sack->num_gap_ack_blocks && sack 1737 net/sctp/outqueue.c static int sctp_acked(struct sctp_sackhdr *sack, __u32 tsn) sack 1739 net/sctp/outqueue.c __u32 ctsn = ntohl(sack->cum_tsn_ack); sack 1759 net/sctp/outqueue.c frags = sack->variable; sack 1760 net/sctp/outqueue.c blocks = ntohs(sack->num_gap_ack_blocks); sack 761 net/sctp/sm_make_chunk.c struct sctp_sackhdr sack; sack 775 net/sctp/sm_make_chunk.c sack.cum_tsn_ack = htonl(ctsn); sack 776 net/sctp/sm_make_chunk.c sack.a_rwnd = htonl(asoc->a_rwnd); sack 777 net/sctp/sm_make_chunk.c sack.num_gap_ack_blocks = htons(num_gabs); sack 778 net/sctp/sm_make_chunk.c sack.num_dup_tsns = htons(num_dup_tsns); sack 780 net/sctp/sm_make_chunk.c len = sizeof(sack) sack 822 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(sack), &sack); sack 143 net/sctp/sm_sideeffect.c struct sctp_chunk *sack; sack 206 net/sctp/sm_sideeffect.c sack = sctp_make_sack(asoc); sack 207 net/sctp/sm_sideeffect.c if (!sack) { sack 215 net/sctp/sm_sideeffect.c sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(sack)); sack 6146 net/sctp/sm_statefuns.c struct sctp_sackhdr *sack; sack 6154 net/sctp/sm_statefuns.c sack = (struct sctp_sackhdr *) chunk->skb->data; sack 6156 net/sctp/sm_statefuns.c num_blocks = ntohs(sack->num_gap_ack_blocks); sack 6157 net/sctp/sm_statefuns.c num_dup_tsns = ntohs(sack->num_dup_tsns); sack 6165 net/sctp/sm_statefuns.c return sack;