/Linux-v6.6/net/netfilter/ |
D | nf_conntrack_seqadj.c | 82 struct tcp_sack_block_wire *sack; in nf_ct_sack_block_adjust() local 85 sack = (void *)skb->data + sackoff; in nf_ct_sack_block_adjust() 86 if (after(ntohl(sack->start_seq) - seq->offset_before, in nf_ct_sack_block_adjust() 88 new_start_seq = htonl(ntohl(sack->start_seq) - in nf_ct_sack_block_adjust() 91 new_start_seq = htonl(ntohl(sack->start_seq) - in nf_ct_sack_block_adjust() 94 if (after(ntohl(sack->end_seq) - seq->offset_before, in nf_ct_sack_block_adjust() 96 new_end_seq = htonl(ntohl(sack->end_seq) - in nf_ct_sack_block_adjust() 99 new_end_seq = htonl(ntohl(sack->end_seq) - in nf_ct_sack_block_adjust() 103 ntohl(sack->start_seq), ntohl(new_start_seq), in nf_ct_sack_block_adjust() 104 ntohl(sack->end_seq), ntohl(new_end_seq)); in nf_ct_sack_block_adjust() [all …]
|
D | nf_conntrack_proto_tcp.c | 392 const struct tcphdr *tcph, __u32 *sack) in tcp_sack() argument 444 if (after(tmp, *sack)) in tcp_sack() 445 *sack = tmp; in tcp_sack() 516 __u32 seq, ack, sack, end, win, swin; in tcp_in_window() local 525 ack = sack = ntohl(tcph->ack_seq); in tcp_in_window() 531 tcp_sack(skb, dataoff, tcph, &sack); in tcp_in_window() 536 sack -= receiver_offset; in tcp_in_window() 565 receiver->td_end = receiver->td_maxend = sack; in tcp_in_window() 566 } else if (sack == receiver->td_end + 1) { in tcp_in_window() 598 ack = sack = receiver->td_end; in tcp_in_window() [all …]
|
/Linux-v6.6/net/sctp/ |
D | outqueue.c | 42 static int sctp_acked(struct sctp_sackhdr *sack, __u32 tsn); 47 struct sctp_sackhdr *sack, 1226 struct sctp_sackhdr *sack) in sctp_sack_update_unack_data() argument 1234 frags = (union sctp_sack_variable *)(sack + 1); in sctp_sack_update_unack_data() 1235 for (i = 0; i < ntohs(sack->num_gap_ack_blocks); i++) { in sctp_sack_update_unack_data() 1251 struct sctp_sackhdr *sack = chunk->subh.sack_hdr; in sctp_outq_sack() local 1273 sack_ctsn = ntohl(sack->cum_tsn_ack); in sctp_outq_sack() 1274 gap_ack_blocks = ntohs(sack->num_gap_ack_blocks); in sctp_outq_sack() 1317 (union sctp_sack_variable *)(sack + 1); in sctp_outq_sack() 1330 sctp_check_transmitted(q, &q->retransmit, NULL, NULL, sack, &highest_new_tsn); in sctp_outq_sack() [all …]
|
D | output.c | 297 struct sctp_chunk *sack; in sctp_packet_bundle_sack() local 304 sack = sctp_make_sack(asoc); in sctp_packet_bundle_sack() 305 if (sack) { in sctp_packet_bundle_sack() 306 retval = __sctp_packet_append_chunk(pkt, sack); in sctp_packet_bundle_sack() 308 sctp_chunk_free(sack); in sctp_packet_bundle_sack()
|
D | sm_sideeffect.c | 143 struct sctp_chunk *sack; in sctp_gen_sack() local 206 sack = sctp_make_sack(asoc); in sctp_gen_sack() 207 if (!sack) { in sctp_gen_sack() 215 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(sack)); in sctp_gen_sack()
|
D | associola.c | 1472 struct sctp_chunk *sack; in sctp_assoc_rwnd_increase() local 1513 sack = sctp_make_sack(asoc); in sctp_assoc_rwnd_increase() 1514 if (!sack) in sctp_assoc_rwnd_increase() 1519 sctp_outq_tail(&asoc->outqueue, sack, GFP_ATOMIC); in sctp_assoc_rwnd_increase()
|
D | sm_make_chunk.c | 761 struct sctp_sackhdr sack; in sctp_make_sack() local 775 sack.cum_tsn_ack = htonl(ctsn); in sctp_make_sack() 776 sack.a_rwnd = htonl(asoc->a_rwnd); in sctp_make_sack() 777 sack.num_gap_ack_blocks = htons(num_gabs); in sctp_make_sack() 778 sack.num_dup_tsns = htons(num_dup_tsns); in sctp_make_sack() 780 len = sizeof(sack) in sctp_make_sack() 822 sctp_addto_chunk(retval, sizeof(sack), &sack); in sctp_make_sack()
|
D | sm_statefuns.c | 6293 struct sctp_sackhdr *sack; in sctp_sm_pull_sack() local 6301 sack = (struct sctp_sackhdr *) chunk->skb->data; in sctp_sm_pull_sack() 6303 num_blocks = ntohs(sack->num_gap_ack_blocks); in sctp_sm_pull_sack() 6304 num_dup_tsns = ntohs(sack->num_dup_tsns); in sctp_sm_pull_sack() 6312 return sack; in sctp_sm_pull_sack()
|
/Linux-v6.6/net/rxrpc/ |
D | input.c | 371 unsigned int sack = call->ackr_sack_base; in rxrpc_input_data_one() local 424 trace_rxrpc_sack(call, seq, sack, rxrpc_sack_none); in rxrpc_input_data_one() 427 trace_rxrpc_sack(call, seq, sack, rxrpc_sack_advance); in rxrpc_input_data_one() 428 sack = (sack + 1) % RXRPC_SACK_SIZE; in rxrpc_input_data_one() 447 call->ackr_sack_table[sack] = 0; in rxrpc_input_data_one() 448 trace_rxrpc_sack(call, seq, sack, rxrpc_sack_fill); in rxrpc_input_data_one() 449 sack = (sack + 1) % RXRPC_SACK_SIZE; in rxrpc_input_data_one() 458 call->ackr_sack_base = sack; in rxrpc_input_data_one() 465 sack = (sack + slot) % RXRPC_SACK_SIZE; in rxrpc_input_data_one() 467 if (call->ackr_sack_table[sack % RXRPC_SACK_SIZE]) { in rxrpc_input_data_one() [all …]
|
D | output.c | 87 unsigned int qsize, sack, wrap, to; in rxrpc_fill_out_ack() local 100 sack = call->ackr_sack_base % RXRPC_SACK_SIZE; in rxrpc_fill_out_ack() 105 wrap = RXRPC_SACK_SIZE - sack; in rxrpc_fill_out_ack() 108 if (sack + txb->ack.nAcks <= RXRPC_SACK_SIZE) { in rxrpc_fill_out_ack() 109 memcpy(txb->acks, call->ackr_sack_table + sack, txb->ack.nAcks); in rxrpc_fill_out_ack() 111 memcpy(txb->acks, call->ackr_sack_table + sack, wrap); in rxrpc_fill_out_ack()
|
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb/ |
D | cpl5_cmd.h | 175 u8 sack:1; member 179 u8 sack:1; member
|
/Linux-v6.6/tools/testing/selftests/netfilter/ |
D | nft_synproxy.sh | 93 … meta iif veth0 meta l4proto tcp ct state untracked,invalid synproxy mss 1460 sack-perm timestamp
|
/Linux-v6.6/include/trace/events/ |
D | rxrpc.h | 1946 unsigned int sack, enum rxrpc_sack_trace what), 1948 TP_ARGS(call, seq, sack, what), 1953 __field(unsigned int, sack) 1960 __entry->sack = sack; 1968 __entry->sack)
|
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_cpl.h | 215 __u8 sack:1; member 219 __u8 sack:1; member
|
/Linux-v6.6/net/ipv4/ |
D | tcp_input.c | 3258 struct tcp_sacktag_state *sack, bool ece_ack) in tcp_clean_rtx_queue() argument 3325 tcp_rate_skb_delivered(sk, skb, sack->rate); in tcp_clean_rtx_queue() 3373 sack->rate->prior_delivered + 1 == tp->delivered && in tcp_clean_rtx_queue() 3382 if (sack->first_sackt) { in tcp_clean_rtx_queue() 3383 sack_rtt_us = tcp_stamp_us_delta(tp->tcp_mstamp, sack->first_sackt); in tcp_clean_rtx_queue() 3384 ca_rtt_us = tcp_stamp_us_delta(tp->tcp_mstamp, sack->last_sackt); in tcp_clean_rtx_queue() 3387 ca_rtt_us, sack->rate); in tcp_clean_rtx_queue() 3429 .rtt_us = sack->rate->rtt_us }; in tcp_clean_rtx_queue() 3432 (tp->delivered - sack->rate->prior_delivered); in tcp_clean_rtx_queue()
|
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_msg.h | 385 __u8 sack:1; member 389 __u8 sack:1; member
|
/Linux-v6.6/Documentation/networking/ |
D | snmp_counter.rst | 589 When the congestion control comes into Recovery state, if sack is 590 used, TcpExtTCPSackRecovery increases 1, if sack is not used, 1222 …ts sack cubic wscale:7,7 rto:204 rtt:0.98/0.49 mss:1448 pmtu:1500 rcvmss:536 advmss:1448 cwnd:10 b…
|
/Linux-v6.6/drivers/target/iscsi/cxgbit/ |
D | cxgbit_cm.c | 1185 if (req->tcpopt.sack) in cxgbit_pass_accept_rpl()
|
/Linux-v6.6/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 2456 if (enable_tcp_sack && req->tcpopt.sack) in accept_cr() 3988 req->tcpopt.sack = 1; in build_cpl_pass_accept_req()
|
/Linux-v6.6/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_cm.c | 1052 if (req->tcpopt.sack) in chtls_pass_accept_rpl()
|