Home
last modified time | relevance | path

Searched refs:ack (Results 1 – 25 of 48) sorted by relevance

12

/net/rxrpc/
Dar-ack.c337 struct rxrpc_ackpacket *ack, in rxrpc_process_soft_ACKs() argument
349 ack->nAcks); in rxrpc_process_soft_ACKs()
351 if (skb_copy_bits(skb, 0, sacks, ack->nAcks) < 0) in rxrpc_process_soft_ACKs()
356 for (loop = 0; loop < ack->nAcks; loop++) { in rxrpc_process_soft_ACKs()
633 struct rxrpc_ackpacket ack; in rxrpc_process_rx_queue() local
671 if (skb_copy_bits(skb, 0, &ack, sizeof(ack)) < 0) { in rxrpc_process_rx_queue()
675 if (!skb_pull(skb, sizeof(ack))) in rxrpc_process_rx_queue()
679 hard = ntohl(ack.firstPacket); in rxrpc_process_rx_queue()
684 ntohs(ack.maxSkew), in rxrpc_process_rx_queue()
686 ntohl(ack.previousPacket), in rxrpc_process_rx_queue()
[all …]
Dar-input.c139 int ret, ackbit, ack; in rxrpc_fast_process_data() local
157 ack = RXRPC_ACK_DUPLICATE; in rxrpc_fast_process_data()
168 ack = RXRPC_ACK_DUPLICATE; in rxrpc_fast_process_data()
175 ack = RXRPC_ACK_EXCEEDS_WINDOW; in rxrpc_fast_process_data()
186 ack = RXRPC_ACK_OUT_OF_SEQUENCE; in rxrpc_fast_process_data()
213 ack = RXRPC_ACK_NOSPACE; in rxrpc_fast_process_data()
254 __rxrpc_propose_ACK(call, ack, sp->hdr.serial, true); in rxrpc_fast_process_data()
262 __rxrpc_propose_ACK(call, ack, sp->hdr.serial, true); in rxrpc_fast_process_data()
DMakefile8 ar-ack.o \
/net/decnet/
Ddn_nsp_in.c100 static void dn_ack(struct sock *sk, struct sk_buff *skb, unsigned short ack) in dn_ack() argument
103 unsigned short type = ((ack >> 12) & 0x0003); in dn_ack()
108 if (dn_after(ack, scp->ackrcv_dat)) { in dn_ack()
109 scp->ackrcv_dat = ack & 0x0fff; in dn_ack()
112 ack); in dn_ack()
118 if (dn_after(ack, scp->ackrcv_oth)) { in dn_ack()
119 scp->ackrcv_oth = ack & 0x0fff; in dn_ack()
122 ack); in dn_ack()
140 unsigned short ack; in dn_process_ack() local
145 if ((ack = le16_to_cpu(*ptr)) & 0x8000) { in dn_process_ack()
[all …]
Ddn_nsp_out.c384 struct sk_buff *skb2, *n, *ack = NULL; in dn_nsp_check_xmit_queue() local
396 ack = skb2; in dn_nsp_check_xmit_queue()
400 if (ack == NULL) in dn_nsp_check_xmit_queue()
414 skb_unlink(ack, q); in dn_nsp_check_xmit_queue()
415 kfree_skb(ack); in dn_nsp_check_xmit_queue()
416 ack = NULL; in dn_nsp_check_xmit_queue()
/net/netfilter/
Dnf_conntrack_proto_tcp.c328 else if (tcph->syn) return (tcph->ack ? TCP_SYNACK_SET : TCP_SYN_SET); in get_conntrack_index()
330 else if (tcph->ack) return TCP_ACK_SET; in get_conntrack_index()
514 __u32 seq, ack, sack, end, win, swin; in tcp_in_window() local
522 ack = sack = ntohl(tcph->ack_seq); in tcp_in_window()
530 receiver_offset = nf_ct_seq_offset(ct, !dir, ack - 1); in tcp_in_window()
531 ack -= receiver_offset; in tcp_in_window()
538 seq, ack, receiver_offset, sack, receiver_offset, win, end); in tcp_in_window()
569 if (!tcph->ack) in tcp_in_window()
607 if (!(tcph->ack)) { in tcp_in_window()
611 ack = sack = receiver->td_end; in tcp_in_window()
[all …]
Dnfnetlink.c335 goto ack; in nfnetlink_rcv_batch()
349 goto ack; in nfnetlink_rcv_batch()
357 goto ack; in nfnetlink_rcv_batch()
363 goto ack; in nfnetlink_rcv_batch()
376 goto ack; in nfnetlink_rcv_batch()
395 ack: in nfnetlink_rcv_batch()
/net/ipv4/
Dtcp_vegas.c164 static void tcp_vegas_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_vegas_cong_avoid() argument
170 tcp_reno_cong_avoid(sk, ack, acked); in tcp_vegas_cong_avoid()
174 if (after(ack, vegas->beg_snd_nxt)) { in tcp_vegas_cong_avoid()
195 tcp_reno_cong_avoid(sk, ack, acked); in tcp_vegas_cong_avoid()
Dtcp_veno.c117 static void tcp_veno_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_veno_cong_avoid() argument
123 tcp_reno_cong_avoid(sk, ack, acked); in tcp_veno_cong_avoid()
136 tcp_reno_cong_avoid(sk, ack, acked); in tcp_veno_cong_avoid()
Dtcp_hybla.c89 static void hybla_cong_avoid(struct sock *sk, u32 ack, u32 acked) in hybla_cong_avoid() argument
106 tcp_reno_cong_avoid(sk, ack, acked); in hybla_cong_avoid()
Dtcp_input.c2953 static void tcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_cong_avoid() argument
2957 icsk->icsk_ca_ops->cong_avoid(sk, ack, acked); in tcp_cong_avoid()
3273 const u32 ack, const u32 ack_seq, in tcp_may_update_window() argument
3276 return after(ack, tp->snd_una) || in tcp_may_update_window()
3286 static int tcp_ack_update_window(struct sock *sk, const struct sk_buff *skb, u32 ack, in tcp_ack_update_window() argument
3296 if (tcp_may_update_window(tp, ack, ack_seq, nwin)) { in tcp_ack_update_window()
3316 tp->snd_una = ack; in tcp_ack_update_window()
3369 static void tcp_process_tlp_ack(struct sock *sk, u32 ack, int flag) in tcp_process_tlp_ack() argument
3372 bool is_tlp_dupack = (ack == tp->tlp_high_seq) && in tcp_process_tlp_ack()
3384 if (after(ack, tp->tlp_high_seq)) { in tcp_process_tlp_ack()
[all …]
Dtcp_yeah.c70 static void tcp_yeah_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_yeah_cong_avoid() argument
120 if (after(ack, yeah->vegas.beg_snd_nxt)) { in tcp_yeah_cong_avoid()
Dtcp_lp.c118 static void tcp_lp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_lp_cong_avoid() argument
123 tcp_reno_cong_avoid(sk, ack, acked); in tcp_lp_cong_avoid()
Dtcp_scalable.c18 static void tcp_scalable_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_scalable_cong_avoid() argument
Dtcp_illinois.c258 static void tcp_illinois_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_illinois_cong_avoid() argument
263 if (after(ack, ca->end_seq)) in tcp_illinois_cong_avoid()
Dtcp_highspeed.c111 static void hstcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in hstcp_cong_avoid() argument
Dtcp_minisocks.c128 if (!th->ack || in tcp_timewait_state_process()
228 if (th->syn && !th->rst && !th->ack && !paws_reject && in tcp_timewait_state_process()
249 if (paws_reject || th->ack) in tcp_timewait_state_process()
Dtcp_cubic.c330 static void bictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in bictcp_cong_avoid() argument
339 if (hystart && after(ack, ca->end_seq)) in bictcp_cong_avoid()
/net/sctp/
Dassociola.c1629 struct sctp_chunk *ack; in sctp_assoc_free_asconf_acks() local
1632 list_for_each_entry_safe(ack, tmp, &asoc->asconf_ack_list, in sctp_assoc_free_asconf_acks()
1634 list_del_init(&ack->transmitted_list); in sctp_assoc_free_asconf_acks()
1635 sctp_chunk_free(ack); in sctp_assoc_free_asconf_acks()
1642 struct sctp_chunk *ack; in sctp_assoc_clean_asconf_ack_cache() local
1648 list_for_each_entry_safe(ack, tmp, &asoc->asconf_ack_list, in sctp_assoc_clean_asconf_ack_cache()
1650 if (ack->subh.addip_hdr->serial == in sctp_assoc_clean_asconf_ack_cache()
1654 list_del_init(&ack->transmitted_list); in sctp_assoc_clean_asconf_ack_cache()
1655 sctp_chunk_free(ack); in sctp_assoc_clean_asconf_ack_cache()
1664 struct sctp_chunk *ack; in sctp_assoc_lookup_asconf_ack() local
[all …]
/net/ipv4/netfilter/
Dipt_SYNPROXY.c274 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg4()
292 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg4()
341 if (!th->syn || th->ack || in ipv4_synproxy_hook()
358 if (!th->syn && th->ack && in ipv4_synproxy_hook()
376 if (!th->syn || !th->ack) in ipv4_synproxy_hook()
Dnf_reject_ipv4.c81 if (oth->ack) { in nf_reject_ip_tcphdr_put()
87 tcph->ack = 1; in nf_reject_ip_tcphdr_put()
/net/ipv6/netfilter/
Dip6t_SYNPROXY.c289 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg6()
307 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg6()
363 if (!th->syn || th->ack || in ipv6_synproxy_hook()
380 if (!th->syn && th->ack && in ipv6_synproxy_hook()
398 if (!th->syn || !th->ack) in ipv6_synproxy_hook()
Dnf_reject_ipv6.c103 if (oth->ack) { in nf_reject_ip6_tcphdr_put()
117 tcph->ack = needs_ack; in nf_reject_ip6_tcphdr_put()
/net/rds/
Dtcp_send.c164 static int rds_tcp_is_acked(struct rds_message *rm, uint64_t ack) in rds_tcp_is_acked() argument
168 return (__s32)((u32)rm->m_ack_seq - (u32)ack) < 0; in rds_tcp_is_acked()
Dsend.c408 static inline int rds_send_is_acked(struct rds_message *rm, u64 ack, in rds_send_is_acked() argument
412 return is_acked(rm, ack); in rds_send_is_acked()
413 return be64_to_cpu(rm->m_inc.i_hdr.h_sequence) <= ack; in rds_send_is_acked()
647 void rds_send_drop_acked(struct rds_connection *conn, u64 ack, in rds_send_drop_acked() argument
657 if (!rds_send_is_acked(rm, ack, is_acked)) in rds_send_drop_acked()

12