Lines Matching refs:ack
93 static void dn_ack(struct sock *sk, struct sk_buff *skb, unsigned short ack) in dn_ack() argument
96 unsigned short type = ((ack >> 12) & 0x0003); in dn_ack()
101 if (dn_after(ack, scp->ackrcv_dat)) { in dn_ack()
102 scp->ackrcv_dat = ack & 0x0fff; in dn_ack()
105 ack); in dn_ack()
111 if (dn_after(ack, scp->ackrcv_oth)) { in dn_ack()
112 scp->ackrcv_oth = ack & 0x0fff; in dn_ack()
115 ack); in dn_ack()
133 unsigned short ack; in dn_process_ack() local
138 if ((ack = le16_to_cpu(*ptr)) & 0x8000) { in dn_process_ack()
142 if ((ack & 0x4000) == 0) { in dn_process_ack()
144 ack ^= 0x2000; in dn_process_ack()
145 dn_ack(sk, skb, ack); in dn_process_ack()
152 if ((ack = le16_to_cpu(*ptr)) & 0x8000) { in dn_process_ack()
155 if ((ack & 0x4000) == 0) { in dn_process_ack()
157 ack ^= 0x2000; in dn_process_ack()
158 dn_ack(sk, skb, ack); in dn_process_ack()