| /freebsd/contrib/tcpdump/ |
| H A D | print-decnet.c | 817 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 D | print-tcp.c | 80 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, th->seq = ack - 1; in tcp_print() 308 th->seq = seq, th->ack = ack - 1; in tcp_print() 311 seq -= th->ack, ack -= th->seq; in tcp_print() 313 seq -= th->seq, ack -= th->ack; in tcp_print() 317 thack = th->ack; in tcp_print() 364 th->ack = seq, th->seq = ack - 1; in tcp_print() [all …]
|
| H A D | README.md | 82 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 …]
|
| /freebsd/contrib/netbsd-tests/ipf/input/ |
| H A D | f11 | 1 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 D | ni13 | 6 # 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 D | ni14 | 7 # 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 D | ni15 | 7 # 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 D | ni16 | 7 # 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…
|
| /freebsd/crypto/openssl/ssl/quic/ |
| H A D | quic_wire.c | 19 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 in ossl_quic_wire_encode_frame_ack() 519 ossl_quic_wire_decode_frame_ack(PACKET * pkt,uint32_t ack_delay_exponent,OSSL_QUIC_FRAME_ACK * ack,uint64_t * total_ranges) ossl_quic_wire_decode_frame_ack() argument [all...] |
| H A D | quic_ackm.c | 525 * and removed again once ack'd/lost/discarded. 531 * ack-eliciting, and removed again once ack'd/lost/discarded. 560 OSSL_QUIC_FRAME_ACK ack[QUIC_PN_SPACE_NUM]; 639 /* Does the newly-acknowledged list contain any ack-eliciting packet? */ in ack_includes_ack_eliciting() 668 * Given a logical representation of an ACK frame 'ack', create a singly-linked 675 const OSSL_QUIC_FRAME_ACK *ack, in ackm_detect_and_remove_newly_acked_pkts() 682 assert(ack->num_ack_ranges > 0); in ackm_detect_and_remove_newly_acked_pkts() 688 * ack->ack_ranges is a list of packet number ranges in descending order. in ackm_detect_and_remove_newly_acked_pkts() 691 * membership in the specified ack range in ackm_detect_and_remove_newly_acked_pkts() 558 OSSL_QUIC_FRAME_ACK ack[QUIC_PN_SPACE_NUM]; global() member 673 ackm_detect_and_remove_newly_acked_pkts(OSSL_ACKM * ackm,const OSSL_QUIC_FRAME_ACK * ack,int pkt_space) ackm_detect_and_remove_newly_acked_pkts() argument 1140 ackm_process_ecn(OSSL_ACKM * ackm,const OSSL_QUIC_FRAME_ACK * ack,int pkt_space) ackm_process_ecn() argument 1164 ossl_ackm_on_rx_ack_frame(OSSL_ACKM * ackm,const OSSL_QUIC_FRAME_ACK * ack,int pkt_space,OSSL_TIME rx_time) ossl_ackm_on_rx_ack_frame() argument 1409 ack_contains(const OSSL_QUIC_FRAME_ACK * ack,QUIC_PN pkt_num) ack_contains() argument 1613 ackm_fill_rx_ack_ranges(OSSL_ACKM * ackm,int pkt_space,OSSL_QUIC_FRAME_ACK * ack) ackm_fill_rx_ack_ranges() argument 1637 OSSL_QUIC_FRAME_ACK *ack = &ackm->ack[pkt_space]; ossl_ackm_get_ack_frame() local [all...] |
| H A D | qlog_event_helpers.c | 210 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() 248 QLOG_STR("frame_type", "ack"); 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 in log_frame_actual() [all...] |
| H A D | quic_trace.c | 83 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() 110 BIO_printf(bio, " First ack range: %llu\n", 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 in frame_ack() [all...] |
| /freebsd/tests/sys/netpfil/pf/ |
| H A D | tcp.py | 44 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="") \
|
| /freebsd/sys/netpfil/pf/ |
| H A D | pf_syncookies.c | 310 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()
|
| /freebsd/sys/riscv/sifive/ |
| H A D | fu740_pci_dw.c | 114 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()
|
| /freebsd/usr.bin/m4/TEST/ |
| H A D | ack.m4 | 1 # $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)))')')
|
| /freebsd/sys/dev/hyperv/input/ |
| H A D | hv_hid.c | 161 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()
|
| /freebsd/crypto/openssl/test/ |
| H A D | quic_ackm_test.c | 149 const char *expect_ack; /* 1=ack, 2=lost, 4=discarded */ 347 OSSL_QUIC_FRAME_ACK ack = { 0 }; in test_tx_ack_case_actual() 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() 494 const char *expect; /* 1=ack, 2=lost, 4=discarded */ 526 OSSL_QUIC_FRAME_ACK ack = { 0 }; in test_tx_ack_time_script() 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() 344 OSSL_QUIC_FRAME_ACK ack = {0}; test_tx_ack_case_actual() local 522 OSSL_QUIC_FRAME_ACK ack = {0}; test_tx_ack_time_script() local 910 const OSSL_QUIC_FRAME_ACK *ack; test_rx_ack_actual() local [all...] |
| H A D | quic_fifd_test.c | 69 * 1. Test that a submitted packet, on ack, acks all streams inside of it 70 * Test that a submitted packet, on ack, calls the get by ID function 72 * Test that a submitted packet, on ack, acks all fins inside it in sstream_expect() 73 * Test that a submitted packet, on ack, releases the TXPIM packet in sstream_expect() 119 OSSL_QUIC_FRAME_ACK ack = { 0 }; in test_generic() 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 in test_generic() 115 OSSL_QUIC_FRAME_ACK ack = {0}; test_generic() local [all...] |
| /freebsd/contrib/one-true-awk/testdir/ |
| H A D | T.func | 97 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 D | funstack.in | 149 @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 …]
|
| /freebsd/contrib/wpa/src/common/ |
| H A D | gas_server.c | 418 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()
|
| /freebsd/sys/fs/nfsserver/ |
| H A D | nfs_nfsdkrpc.c | 418 uint32_t ack; in nfs_proc() 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; 513 ack = 0; 514 SVC_ACK(xprt, &ack); in nfsrvd_addsock() 516 nfsrc_trimcache(xprt->xp_sockref, ack, 1); in nfsrvd_addsock() 408 uint32_t ack; nfs_proc() local 501 uint32_t ack; nfssvc_loss() local
|
| /freebsd/usr.sbin/lpr/lpd/ |
| H A D | recvjob.c | 57 #define ack() (void) write(STDOUT_FILENO, sp, (size_t)1) macro 141 ack(); in readjob() 257 ack(); in readfile() 291 ack(); in readfile()
|
| /freebsd/sys/netinet/khelp/ |
| H A D | h_ertt.c | 205 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()
|