Home
last modified time | relevance | path

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

12345678910>>...16

/src/contrib/tcpdump/
H A Dprint-decnet.c817 u_int ack; in print_nsp() local
822 ack = GET_LE_U_2(shp->sh_seq[0]); in print_nsp()
823 if (ack & SGQ_ACK) { /* acknum field */ in print_nsp()
824 if ((ack & SGQ_NAK) == SGQ_NAK) in print_nsp()
825 ND_PRINT("nak %u ", ack & SGQ_MASK); in print_nsp()
827 ND_PRINT("ack %u ", ack & SGQ_MASK); in print_nsp()
831 ack = GET_LE_U_2(shp->sh_seq[1]); in print_nsp()
832 if (ack & SGQ_OACK) { /* ackoth field */ in print_nsp()
833 if ((ack & SGQ_ONAK) == SGQ_ONAK) in print_nsp()
834 ND_PRINT("onak %u ", ack & SGQ_MASK); in print_nsp()
[all …]
H A Dprint-tcp.c80 uint32_t ack; member
93 uint32_t ack; member
170 uint32_t seq, ack, thseq, thack; in tcp_print() local
237 ack = GET_BE_U_4(tp->th_ack); in tcp_print()
306 th->ack = seq; in tcp_print()
307 th->seq = ack - 1; in tcp_print()
310 th->ack = ack - 1; in tcp_print()
314 seq -= th->ack; in tcp_print()
315 ack -= th->seq; in tcp_print()
318 ack -= th->ack; in tcp_print()
[all …]
H A DREADME.md82 send-ack.awk
86 we just note if the packet is a "send" or an "ack".
92 "Send" means data going from sender to receiver, "ack"
93 means an ack going from the receiver to the sender. A
100 for acks). The number in parens following an ack is
102 ack. A number in parens following a send is the
110 3.20 0.20 ack . 1024 (0.20)
112 3.40 0.20 ack . 1536 (0.20)
114 3.82 0.02 * ack . 1536 (0.62) [2]
141 5 - time of first ack
[all …]
/src/contrib/netbsd-tests/ipf/input/
H A Df111 in on e0 tcp 1.1.1.1,1 2.1.2.2,23 S seq=1 ack=0
2 in on e0 tcp 1.1.1.1,1 2.1.2.2,24 SA seq=1 ack=1
3 in on e1 tcp 2.1.2.2,23 1.1.1.1,2 SA seq=101 ack=2
4 in on e1 tcp 2.1.2.2,23 1.1.1.1,1 SA seq=101 ack=2
5 in on e0 tcp 1.1.1.1,1 2.1.2.2,23 A seq=2 ack=102
6 in on e0 tcp 1.1.1.1,1 2.1.2.2,25 A seq=2 ack=102
7 in on e1 tcp 2.1.2.2,23 1.1.1.1,1 A seq=102 ack=2
8 in on e1 tcp 2.1.2.2,25 1.1.1.1,1 A seq=102 ack=2
9 in on e0 tcp 1.1.1.1,1 2.1.2.2,23 FA seq=2 ack=102
10 in on e0 tcp 1.1.1.1,1 2.1.2.2,23 A seq=2 ack=102
[all …]
H A Dni167 # 23:18:36.130778 192.168.113.3.1723 > 192.168.113.1.1511: S 2774821082:2774821082(0) ack 288465168…
13 # 23:18:36.130784 192.168.113.1.1511 > 192.168.113.3.1723: P 1:157(156) ack 1 win 64240: pptp CTRL_…
29 # 23:18:36.260235 192.168.113.3.1723 > 192.168.113.1.1511: P 1:157(156) ack 157 win 33580: pptp CTR…
45 # 23:18:36.260252 192.168.113.1.1511 > 192.168.113.3.1723: P 157:325(168) ack 157 win 64084: pptp C…
61 # 23:18:36.272856 192.168.113.3.1723 > 192.168.113.1.1511: P 157:189(32) ack 325 win 33580: pptp CT…
69 # 23:18:36.321819 192.168.113.1.1511 > 192.168.113.3.1723: P 325:349(24) ack 189 win 64052: pptp CT…
88 # 23:18:36.518426 192.168.113.3.1723 > 192.168.113.1.1511: . ack 349 win 33580 (DF)
135 # 23:18:36.570395 192.168.113.1.1511 > 192.168.113.3.1723: P 349:373(24) ack 189 win 64052: pptp CT…
H A Dni136 # 23:18:36.130778 192.168.113.3.1723 > 192.168.113.1.1511: S 2774821082:2774821082(0) ack 288465168…
11 # 23:18:36.130784 192.168.113.1.1511 > 192.168.113.3.1723: P 1:157(156) ack 1 win 64240: pptp CTRL_…
27 # 23:18:36.260235 192.168.113.3.1723 > 192.168.113.1.1511: P 1:157(156) ack 157 win 33580: pptp CTR…
43 # 23:18:36.260252 192.168.113.1.1511 > 192.168.113.3.1723: P 157:325(168) ack 157 win 64084: pptp C…
59 # 23:18:36.272856 192.168.113.3.1723 > 192.168.113.1.1511: P 157:189(32) ack 325 win 33580: pptp CT…
67 # 23:18:36.321819 192.168.113.1.1511 > 192.168.113.3.1723: P 325:349(24) ack 189 win 64052: pptp CT…
86 # 23:18:36.518426 192.168.113.3.1723 > 192.168.113.1.1511: . ack 349 win 33580 (DF)
131 # 23:18:36.570395 192.168.113.1.1511 > 192.168.113.3.1723: P 349:373(24) ack 189 win 64052: pptp CT…
H A Dni147 # 23:18:36.130778 192.168.113.3.1723 > 192.168.113.1.1511: S 2774821082:2774821082(0) ack 288465168…
13 # 23:18:36.130784 192.168.113.1.1511 > 192.168.113.3.1723: P 1:157(156) ack 1 win 64240: pptp CTRL_…
29 # 23:18:36.260235 192.168.113.3.1723 > 192.168.113.1.1511: P 1:157(156) ack 157 win 33580: pptp CTR…
45 # 23:18:36.260252 192.168.113.1.1511 > 192.168.113.3.1723: P 157:325(168) ack 157 win 64084: pptp C…
61 # 23:18:36.272856 192.168.113.3.1723 > 192.168.113.1.1511: P 157:189(32) ack 325 win 33580: pptp CT…
69 # 23:18:36.321819 192.168.113.1.1511 > 192.168.113.3.1723: P 325:349(24) ack 189 win 64052: pptp CT…
88 # 23:18:36.518426 192.168.113.3.1723 > 192.168.113.1.1511: . ack 349 win 33580 (DF)
135 # 23:18:36.570395 192.168.113.1.1511 > 192.168.113.3.1723: P 349:373(24) ack 189 win 64052: pptp CT…
H A Dni157 # 23:18:36.130778 192.168.113.3.1723 > 192.168.113.1.1511: S 2774821082:2774821082(0) ack 288465168…
13 # 23:18:36.130784 192.168.113.1.1511 > 192.168.113.3.1723: P 1:157(156) ack 1 win 64240: pptp CTRL_…
29 # 23:18:36.260235 192.168.113.3.1723 > 192.168.113.1.1511: P 1:157(156) ack 157 win 33580: pptp CTR…
45 # 23:18:36.260252 192.168.113.1.1511 > 192.168.113.3.1723: P 157:325(168) ack 157 win 64084: pptp C…
61 # 23:18:36.272856 192.168.113.3.1723 > 192.168.113.1.1511: P 157:189(32) ack 325 win 33580: pptp CT…
69 # 23:18:36.321819 192.168.113.1.1511 > 192.168.113.3.1723: P 325:349(24) ack 189 win 64052: pptp CT…
88 # 23:18:36.518426 192.168.113.3.1723 > 192.168.113.1.1511: . ack 349 win 33580 (DF)
135 # 23:18:36.570395 192.168.113.1.1511 > 192.168.113.3.1723: P 349:373(24) ack 189 win 64052: pptp CT…
/src/crypto/openssl/ssl/quic/
H A Dquic_wire.c19 int ossl_quic_frame_ack_contains_pn(const OSSL_QUIC_FRAME_ACK *ack, QUIC_PN pn) in OSSL_SAFE_MATH_UNSIGNED()
23 for (i = 0; i < ack->num_ack_ranges; ++i) in OSSL_SAFE_MATH_UNSIGNED()
24 if (pn >= ack->ack_ranges[i].start in OSSL_SAFE_MATH_UNSIGNED()
25 && pn <= ack->ack_ranges[i].end) in OSSL_SAFE_MATH_UNSIGNED()
57 const OSSL_QUIC_FRAME_ACK *ack) in ossl_quic_wire_encode_frame_ack() argument
59 uint64_t frame_type = ack->ecn_present ? OSSL_QUIC_FRAME_TYPE_ACK_WITH_ECN in ossl_quic_wire_encode_frame_ack()
63 uint64_t i, num_ack_ranges = ack->num_ack_ranges; in ossl_quic_wire_encode_frame_ack()
69 delay = ossl_time_divide(ossl_time_divide(ack->delay_time, OSSL_TIME_US), in ossl_quic_wire_encode_frame_ack()
73 largest_ackd = ack->ack_ranges[0].end; in ossl_quic_wire_encode_frame_ack()
74 first_ack_range = ack->ack_ranges[0].end - ack->ack_ranges[0].start; in ossl_quic_wire_encode_frame_ack()
[all …]
H A Dquic_ackm.c560 OSSL_QUIC_FRAME_ACK ack[QUIC_PN_SPACE_NUM]; member
675 const OSSL_QUIC_FRAME_ACK *ack, in ackm_detect_and_remove_newly_acked_pkts() argument
682 assert(ack->num_ack_ranges > 0); in ackm_detect_and_remove_newly_acked_pkts()
697 pkt = tx_pkt_history_by_pkt_num(h, ack->ack_ranges[0].end); in ackm_detect_and_remove_newly_acked_pkts()
709 if (ridx >= ack->num_ack_ranges) { in ackm_detect_and_remove_newly_acked_pkts()
717 if (range_contains(&ack->ack_ranges[ridx], pkt->pkt_num)) { in ackm_detect_and_remove_newly_acked_pkts()
725 } else if (pkt->pkt_num > ack->ack_ranges[ridx].end) { in ackm_detect_and_remove_newly_acked_pkts()
736 assert(pkt->pkt_num < ack->ack_ranges[ridx].start); in ackm_detect_and_remove_newly_acked_pkts()
1140 static void ackm_process_ecn(OSSL_ACKM *ackm, const OSSL_QUIC_FRAME_ACK *ack, in ackm_process_ecn() argument
1151 if (ack->ecnce > ackm->peer_ecnce[pkt_space]) { in ackm_process_ecn()
[all …]
H A Dqlog_event_helpers.c210 OSSL_QUIC_FRAME_ACK ack; in log_frame_actual() local
243 ack.ack_ranges = ack_ranges; in log_frame_actual()
244 ack.num_ack_ranges = OSSL_NELEM(ack_ranges); in log_frame_actual()
245 if (!ossl_quic_wire_decode_frame_ack(pkt, 3, &ack, &total_ranges)) in log_frame_actual()
249 QLOG_U64("ack_delay", ossl_time2ms(ack.delay_time)); in log_frame_actual()
250 if (ack.ecn_present) { in log_frame_actual()
251 QLOG_U64("ect1", ack.ect0); in log_frame_actual()
252 QLOG_U64("ect0", ack.ect1); in log_frame_actual()
253 QLOG_U64("ce", ack.ecnce); in log_frame_actual()
256 for (i = 0; i < ack.num_ack_ranges; ++i) { in log_frame_actual()
[all …]
H A Dquic_trace.c83 OSSL_QUIC_FRAME_ACK ack; in frame_ack() local
97 ack.ack_ranges = ack_ranges; in frame_ack()
98 ack.num_ack_ranges = (size_t)total_ranges; in frame_ack()
101 if (!ossl_quic_wire_decode_frame_ack(pkt, 0, &ack, NULL)) in frame_ack()
105 (unsigned long long)ack.ack_ranges[0].end); in frame_ack()
107 (unsigned long long)ossl_time2ticks(ack.delay_time)); in frame_ack()
111 (unsigned long long)(ack.ack_ranges[0].end in frame_ack()
112 - ack.ack_ranges[0].start)); in frame_ack()
115 (unsigned long long)(ack.ack_ranges[i - 1].start in frame_ack()
116 - ack.ack_ranges[i].end - 2)); in frame_ack()
[all …]
/src/tests/sys/netpfil/pf/
H A Dtcp.py44 self.ack = 0
63 self.ack = t.seq + 1
64 ack = self.sp.IP(src=self.src, dst=self.dst) \
65 / self.sp.TCP(sport=self.sport, dport=self.dport, flags="A", ack=self.ack, seq=self.seq)
66 self.sp.send(ack)
71 … / self.sp.TCP(sport=self.sport, dport=self.dport, ack=self.ack, seq=self.seq, flags="") \
/src/sys/netpfil/pf/
H A Dpf_syncookies.c310 uint32_t hash, ack, seq; in pf_syncookie_check() local
317 ack = ntohl(pd->hdr.tcp.th_ack) - 1; in pf_syncookie_check()
318 cookie.cookie = (ack & 0xff) ^ (ack >> 24); in pf_syncookie_check()
326 if ((ack & ~0xff) != (hash & ~0xff)) in pf_syncookie_check()
335 uint32_t ack; in pf_syncookie_validate() local
341 ack = ntohl(pd->hdr.tcp.th_ack) - 1; in pf_syncookie_validate()
342 cookie.cookie = (ack & 0xff) ^ (ack >> 24); in pf_syncookie_validate()
502 uint32_t ack, seq; in pf_syncookie_recreate_syn() local
506 ack = ntohl(pd->hdr.tcp.th_ack) - 1; in pf_syncookie_recreate_syn()
507 cookie.cookie = (ack & 0xff) ^ (ack >> 24); in pf_syncookie_recreate_syn()
/src/sys/riscv/sifive/
H A Dfu740_pci_dw.c114 uint32_t ack; in fupci_phy_read() local
121 ack = FUDW_MGMT_READ(sc, FUDW_MGMT_PHY_CR_PARA_REG(phy, ACK)); in fupci_phy_read()
122 if (ack != 0) in fupci_phy_read()
137 ack = FUDW_MGMT_READ(sc, FUDW_MGMT_PHY_CR_PARA_REG(phy, ACK)); in fupci_phy_read()
138 if (ack == 0) in fupci_phy_read()
155 uint32_t ack; in fupci_phy_write() local
163 ack = FUDW_MGMT_READ(sc, FUDW_MGMT_PHY_CR_PARA_REG(phy, ACK)); in fupci_phy_write()
164 if (ack != 0) in fupci_phy_write()
178 ack = FUDW_MGMT_READ(sc, FUDW_MGMT_PHY_CR_PARA_REG(phy, ACK)); in fupci_phy_write()
179 if (ack == 0) in fupci_phy_write()
/src/usr.bin/m4/TEST/
H A Dack.m41 # $OpenBSD: ack.m4,v 1.3 2003/06/03 02:56:11 millert Exp $
2 # $NetBSD: ack.m4,v 1.4 1995/09/28 05:37:54 tls Exp $
35 define(ack, `ifelse($1,0,incr($2),$2,0,`ack(DECR($1),1)', macro
36 `ack(DECR($1), ack($1,DECR($2)))')')
/src/sys/dev/hyperv/input/
H A Dhv_hid.c161 sh_devinfo_ack ack; member
267 hv_hid_msg ack; in hv_hid_receive() local
272 ack.type = HV_HID_MSG_DATA; in hv_hid_receive()
273 ack.size = sizeof(sh_devinfo_ack); in hv_hid_receive()
274 ack.ack.hdr.type = SH_DEVINFO_ACK; in hv_hid_receive()
275 ack.ack.hdr.size = 1; in hv_hid_receive()
276 ack.ack.rsvd = 0; in hv_hid_receive()
283 0, &ack, HV_HID_ACK_SZ, (uint64_t)(uintptr_t)xact); in hv_hid_receive()
/src/crypto/openssl/test/
H A Dquic_ackm_test.c347 OSSL_QUIC_FRAME_ACK ack = { 0 }; in test_tx_ack_case_actual() local
403 ack.ack_ranges = (OSSL_QUIC_ACK_RANGE *)c->ack_ranges; in test_tx_ack_case_actual()
404 ack.num_ack_ranges = c->num_ack_ranges; in test_tx_ack_case_actual()
405 if (!TEST_int_eq(ossl_ackm_on_rx_ack_frame(h.ackm, &ack, space, fake_time), 1)) in test_tx_ack_case_actual()
526 OSSL_QUIC_FRAME_ACK ack = { 0 }; in test_tx_ack_time_script() local
576 ack.ack_ranges = &ack_range; in test_tx_ack_time_script()
577 ack.num_ack_ranges = 1; in test_tx_ack_time_script()
585 if (!TEST_int_eq(ossl_ackm_on_rx_ack_frame(h.ackm, &ack, in test_tx_ack_time_script()
915 const OSSL_QUIC_FRAME_ACK *ack; in test_rx_ack_actual() local
1012 ack = ossl_ackm_get_ack_frame(h.ackm, space); in test_rx_ack_actual()
[all …]
H A Dquic_fifd_test.c119 OSSL_QUIC_FRAME_ACK ack = { 0 }; in test_generic() local
195 ack.ack_ranges = ack_ranges; in test_generic()
196 ack.num_ack_ranges = 1; in test_generic()
207 if (!TEST_true(ossl_ackm_on_rx_ack_frame(info->ackm, &ack, in test_generic()
246 ack.ack_ranges = ack_ranges; in test_generic()
247 ack.num_ack_ranges = 1; in test_generic()
250 || !TEST_true(ossl_ackm_on_rx_ack_frame(info->ackm, &ack, in test_generic()
/src/contrib/one-true-awk/testdir/
H A DT.func97 function ack(m,n) {
100 if (n == 0) return ack(m-1, 1)
101 return ack(m-1, ack(m, n-1))
103 { k = 0; print ack($1,$2), "(" k " calls)" }
H A Dfunstack.in149 @String{ack-nhfb = "Nelson H. F. Beebe, Center for Scientific Computing, Department of Mathematics,…
151 @String{ack-nj = "Norbert Juffa, 2445 Mission College Blvd. Santa Clara, CA 95054 USA email: \path=…
355 acknowledgement = ack-nhfb,
400 acknowledgement = ack-nhfb,
422 acknowledgement = ack-nhfb,
440 acknowledgement = ack-nhfb,
459 acknowledgement = ack-nhfb,
477 acknowledgement = ack-nhfb,
498 acknowledgement = ack-nhfb,
516 acknowledgement = ack-nhfb,
[all …]
/src/usr.sbin/lpr/lpd/
H A Drecvjob.c71 static void ack(struct printer *_pp);
159 ack(pp); in readjob()
330 ack(pp); in readfile()
360 ack(pp); in readfile()
469 ack(struct printer *pp) in ack() function
/src/contrib/wpa/src/common/
H A Dgas_server.c418 int ack) in gas_server_handle_tx_status() argument
420 if (ack && response->resp && in gas_server_handle_tx_status()
427 if (ack && !response->resp && response->comeback_delay) { in gas_server_handle_tx_status()
433 if (!ack) in gas_server_handle_tx_status()
441 response->resp, ack); in gas_server_handle_tx_status()
449 size_t data_len, int ack) in gas_server_tx_status() argument
467 MAC2STR(dst), ack, in gas_server_tx_status()
475 gas_server_handle_tx_status(response, ack); in gas_server_tx_status()
/src/sys/fs/nfsserver/
H A Dnfs_nfsdkrpc.c418 uint32_t ack; in nfs_proc() local
459 ack = 0; in nfs_proc()
460 SVC_ACK(xprt, &ack); in nfs_proc()
461 nfsrc_trimcache(xprt->xp_sockref, ack, 0); in nfs_proc()
511 uint32_t ack; in nfssvc_loss() local
513 ack = 0; in nfssvc_loss()
514 SVC_ACK(xprt, &ack); in nfssvc_loss()
516 nfsrc_trimcache(xprt->xp_sockref, ack, 1); in nfssvc_loss()
/src/sys/netinet/khelp/
H A Dh_ertt.c205 tcp_seq ack; in ertt_packet_measurement_hook() local
225 ack = tp->sackhint.last_sack_ack; in ertt_packet_measurement_hook()
227 ack = th->th_ack; in ertt_packet_measurement_hook()
234 if (SEQ_GT(ack, txsi->seq + txsi->len)) { in ertt_packet_measurement_hook()
337 if (SEQ_LEQ(ack, txsi->seq)) in ertt_packet_measurement_hook()

12345678910>>...16