Home
last modified time | relevance | path

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

12

/net/rxrpc/
Dar-ack.c289 struct rxrpc_ackpacket *ack, in rxrpc_process_soft_ACKs() argument
301 ack->nAcks); in rxrpc_process_soft_ACKs()
303 if (skb_copy_bits(skb, 0, sacks, ack->nAcks) < 0) in rxrpc_process_soft_ACKs()
308 for (loop = 0; loop < ack->nAcks; loop++) { in rxrpc_process_soft_ACKs()
585 struct rxrpc_ackpacket ack; in rxrpc_process_rx_queue() local
623 if (skb_copy_bits(skb, 0, &ack, sizeof(ack)) < 0) { in rxrpc_process_rx_queue()
627 if (!skb_pull(skb, sizeof(ack))) in rxrpc_process_rx_queue()
631 hard = ntohl(ack.firstPacket); in rxrpc_process_rx_queue()
636 ntohs(ack.maxSkew), in rxrpc_process_rx_queue()
638 ntohl(ack.previousPacket), in rxrpc_process_rx_queue()
[all …]
Dar-input.c148 int ret, ackbit, ack; in rxrpc_fast_process_data() local
166 ack = RXRPC_ACK_DUPLICATE; in rxrpc_fast_process_data()
177 ack = RXRPC_ACK_DUPLICATE; in rxrpc_fast_process_data()
184 ack = RXRPC_ACK_EXCEEDS_WINDOW; in rxrpc_fast_process_data()
195 ack = RXRPC_ACK_OUT_OF_SEQUENCE; in rxrpc_fast_process_data()
222 ack = RXRPC_ACK_NOSPACE; in rxrpc_fast_process_data()
263 __rxrpc_propose_ACK(call, ack, sp->hdr.serial, true); in rxrpc_fast_process_data()
271 __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.c326 else if (tcph->syn) return (tcph->ack ? TCP_SYNACK_SET : TCP_SYN_SET); in get_conntrack_index()
328 else if (tcph->ack) return TCP_ACK_SET; in get_conntrack_index()
527 __u32 seq, ack, sack, end, win, swin; in tcp_in_window() local
535 ack = sack = ntohl(tcph->ack_seq); in tcp_in_window()
543 receiver_offset = NAT_OFFSET(ct, !dir, ack - 1); in tcp_in_window()
544 ack -= receiver_offset; in tcp_in_window()
551 seq, ack, receiver_offset, sack, receiver_offset, win, end); in tcp_in_window()
582 if (!tcph->ack) in tcp_in_window()
620 if (!(tcph->ack)) { in tcp_in_window()
624 ack = sack = receiver->td_end; in tcp_in_window()
[all …]
Dxt_TPROXY.c101 if (hp->syn && !hp->rst && !hp->ack && !hp->fin) { in tproxy_handle_time_wait4()
255 if (hp->syn && !hp->rst && !hp->ack && !hp->fin) { in tproxy_handle_time_wait6()
/net/ipv4/
Dtcp_vegas.c166 static void tcp_vegas_cong_avoid(struct sock *sk, u32 ack, u32 in_flight) in tcp_vegas_cong_avoid() argument
172 tcp_reno_cong_avoid(sk, ack, in_flight); in tcp_vegas_cong_avoid()
176 if (after(ack, vegas->beg_snd_nxt)) { in tcp_vegas_cong_avoid()
197 tcp_reno_cong_avoid(sk, ack, in_flight); in tcp_vegas_cong_avoid()
Dtcp_veno.c117 static void tcp_veno_cong_avoid(struct sock *sk, u32 ack, u32 in_flight) in tcp_veno_cong_avoid() argument
123 tcp_reno_cong_avoid(sk, ack, in_flight); in tcp_veno_cong_avoid()
136 tcp_reno_cong_avoid(sk, ack, in_flight); in tcp_veno_cong_avoid()
Dtcp_input.c2918 static void tcp_cong_avoid(struct sock *sk, u32 ack, u32 in_flight) in tcp_cong_avoid() argument
2921 icsk->icsk_ca_ops->cong_avoid(sk, ack, in_flight); in tcp_cong_avoid()
3207 const u32 ack, const u32 ack_seq, in tcp_may_update_window() argument
3210 return after(ack, tp->snd_una) || in tcp_may_update_window()
3220 static int tcp_ack_update_window(struct sock *sk, const struct sk_buff *skb, u32 ack, in tcp_ack_update_window() argument
3230 if (tcp_may_update_window(tp, ack, ack_seq, nwin)) { in tcp_ack_update_window()
3250 tp->snd_una = ack; in tcp_ack_update_window()
3304 static void tcp_process_tlp_ack(struct sock *sk, u32 ack, int flag) in tcp_process_tlp_ack() argument
3307 bool is_tlp_dupack = (ack == tp->tlp_high_seq) && in tcp_process_tlp_ack()
3319 if (after(ack, tp->tlp_high_seq)) { in tcp_process_tlp_ack()
[all …]
Dtcp_hybla.c88 static void hybla_cong_avoid(struct sock *sk, u32 ack, u32 in_flight) in hybla_cong_avoid() argument
105 tcp_reno_cong_avoid(sk, ack, in_flight); in hybla_cong_avoid()
Dtcp_yeah.c72 static void tcp_yeah_cong_avoid(struct sock *sk, u32 ack, u32 in_flight) in tcp_yeah_cong_avoid() argument
122 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 in_flight) in tcp_lp_cong_avoid() argument
123 tcp_reno_cong_avoid(sk, ack, in_flight); in tcp_lp_cong_avoid()
Dtcp_scalable.c18 static void tcp_scalable_cong_avoid(struct sock *sk, u32 ack, u32 in_flight) in tcp_scalable_cong_avoid() argument
Dtcp_illinois.c259 static void tcp_illinois_cong_avoid(struct sock *sk, u32 ack, u32 in_flight) in tcp_illinois_cong_avoid() argument
264 if (after(ack, ca->end_seq)) in tcp_illinois_cong_avoid()
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.c305 static void bictcp_cong_avoid(struct sock *sk, u32 ack, u32 in_flight) in bictcp_cong_avoid() argument
314 if (hystart && after(ack, ca->end_seq)) in bictcp_cong_avoid()
Dtcp_bic.c143 static void bictcp_cong_avoid(struct sock *sk, u32 ack, u32 in_flight) in bictcp_cong_avoid() argument
/net/sctp/
Dassociola.c1620 struct sctp_chunk *ack; in sctp_assoc_free_asconf_acks() local
1623 list_for_each_entry_safe(ack, tmp, &asoc->asconf_ack_list, in sctp_assoc_free_asconf_acks()
1625 list_del_init(&ack->transmitted_list); in sctp_assoc_free_asconf_acks()
1626 sctp_chunk_free(ack); in sctp_assoc_free_asconf_acks()
1633 struct sctp_chunk *ack; in sctp_assoc_clean_asconf_ack_cache() local
1639 list_for_each_entry_safe(ack, tmp, &asoc->asconf_ack_list, in sctp_assoc_clean_asconf_ack_cache()
1641 if (ack->subh.addip_hdr->serial == in sctp_assoc_clean_asconf_ack_cache()
1645 list_del_init(&ack->transmitted_list); in sctp_assoc_clean_asconf_ack_cache()
1646 sctp_chunk_free(ack); in sctp_assoc_clean_asconf_ack_cache()
1655 struct sctp_chunk *ack; in sctp_assoc_lookup_asconf_ack() local
[all …]
/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()
645 void rds_send_drop_acked(struct rds_connection *conn, u64 ack, in rds_send_drop_acked() argument
655 if (!rds_send_is_acked(rm, ack, is_acked)) in rds_send_drop_acked()
/net/ipv4/netfilter/
Dipt_REJECT.c91 if (oth->ack) in send_reset()
97 tcph->ack = 1; in send_reset()
/net/ipv6/netfilter/
Dip6t_REJECT.c144 if (otcph.ack) { in send_reset()
158 tcph->ack = needs_ack; in send_reset()
/net/tipc/
Dport.c354 u32 type, u32 ack) in port_build_proto_msg() argument
366 msg_set_msgcnt(msg, ack); in port_build_proto_msg()
880 void tipc_acknowledge(u32 ref, u32 ack) in tipc_acknowledge() argument
889 p_ptr->conn_unacked -= ack; in tipc_acknowledge()
890 buf = port_build_proto_msg(p_ptr, CONN_ACK, ack); in tipc_acknowledge()
/net/ipv6/
Dtcp_ipv6.c728 u32 ack, u32 win, u32 tsval, u32 tsecr, in tcp_v6_send_response() argument
764 t1->ack_seq = htonl(ack); in tcp_v6_send_response()
765 t1->ack = !rst || !th->ack; in tcp_v6_send_response()
872 if (th->ack) in tcp_v6_send_reset()
890 u32 seq, u32 ack, u32 win, u32 tsval, u32 tsecr, in tcp_v6_send_ack() argument
893 tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, key, 0, in tcp_v6_send_ack()

12