Home
last modified time | relevance | path

Searched refs:th_ack (Results 1 – 25 of 336) sorted by relevance

12345678910>>...14

/dports/misc/rump/buildrump.sh-b914579/src/sys/netinet/
H A Dtcp_congctl.c498 tp->snd_nxt = th->th_ack; in tcp_reno_do_fast_retransmit()
589 tp->snd_fack = th->th_ack; in tcp_reno_fast_retransmit_newack()
609 int acked = th->th_ack - tp->snd_una; in tcp_reno_newack()
665 if (SEQ_LT(th->th_ack, tp->snd_high)) { in tcp_newreno_fast_retransmit()
692 } else if (SEQ_LT(th->th_ack, tp->snd_recover)) { in tcp_newreno_fast_retransmit_newack()
711 tp->snd_nxt = th->th_ack; in tcp_newreno_fast_retransmit_newack()
729 if (((th->th_ack - tp->snd_una) / tp->t_segsz) > 2) in tcp_newreno_fast_retransmit_newack()
751 tp->snd_cwnd -= (th->th_ack - tp->snd_una - in tcp_newreno_fast_retransmit_newack()
765 tp->snd_cwnd = SEQ_SUB(tp->snd_max, th->th_ack) in tcp_newreno_fast_retransmit_newack()
773 tp->snd_fack = th->th_ack; in tcp_newreno_fast_retransmit_newack()
[all …]
H A Dtcp_sack.c277 if (SEQ_LT(th->th_ack, tp->snd_una) || SEQ_GT(th->th_ack, tp->snd_max)) in tcp_sack_option()
287 acked = (SEQ_GT(th->th_ack, tp->snd_una)) ? th->th_ack : tp->snd_una; in tcp_sack_option()
325 cur = sack_inserthole(tp, th->th_ack, sack->left, NULL); in tcp_sack_option()
412 tcp_seq lastack = SEQ_GT(th->th_ack, tp->snd_una) ? in tcp_del_sackholes()
413 th->th_ack : tp->snd_una; in tcp_del_sackholes()
H A Dtcp_input.c323 NTOHL(th->th_ack); in tcp_fields_to_host()
336 HTONL(th->th_ack); in tcp_fields_to_net()
2032 tp->snd_una = th->th_ack; in tcp_input()
2216 tp->snd_una = th->th_ack; in tcp_input()
2633 th->th_ack != tp->snd_una) in tcp_input()
2664 SEQ_LT(th->th_ack, in tcp_input()
2680 acked = th->th_ack - tp->snd_una; in tcp_input()
2706 if (th->th_ack == tp->snd_max) { in tcp_input()
2737 tp->snd_una = th->th_ack; in tcp_input()
2824 tp->snd_wl2 = th->th_ack; in tcp_input()
[all …]
/dports/security/ipv6toolkit/ipv6toolkit-v2.0/tools/
H A Dtcp6.c1794 tcp->th_ack= htonl(ntohl(tcp->th_ack) + ((pkt_tcp->th_flags & TH_FIN)?1:0) + \
1803 tcp->th_ack= 0;
1810 tcp->th_ack= htonl(ntohl(tcp->th_ack) + ((pkt_tcp->th_flags & TH_FIN)?1:0) + \
1826 tcp->th_ack= htonl(ntohl(tcp->th_ack) + ((pkt_tcp->th_flags & TH_FIN)?1:0) + \
1846 tcp->th_ack= htonl(ntohl(tcp->th_ack) + ((pkt_tcp->th_flags & TH_FIN)?1:0) + \
1883 tcp->th_ack= htonl(ntohl(tcp->th_ack) + ((pkt_tcp->th_flags & TH_FIN)?1:0) + \
1915 tcp->th_ack= htonl(ntohl(tcp->th_ack) + ((pkt_tcp->th_flags & TH_FIN)?1:0) + \
1922 tcp->th_ack= htonl(ntohl(tcp->th_ack) + ((pkt_tcp->th_flags & TH_FIN)?1:0) + \
1946 tcp->th_ack= htonl(ntohl(tcp->th_ack) + ((pkt_tcp->th_flags & TH_FIN)?1:0) + \
1991 tcp->th_ack= htonl(ntohl(tcp->th_ack) + ((pkt_tcp->th_flags & TH_FIN)?1:0) + \
[all …]
/dports/net/tcpillust/tcpillust/
H A Dbinread.c229 seq2 = ntohl(tcp->th_ack); in dumpip()
250 if (ntohl(tcp->th_ack)) in dumpip()
251 tpacket[pktcount -1].ack = ntohl(tcp->th_ack) - seq2; in dumpip()
254 if (ntohl(tcp->th_ack)) in dumpip()
255 tpacket[pktcount -1].ack = ntohl(tcp->th_ack) - seq1; in dumpip()
370 seq2 = ntohl(tcp->th_ack); in dumpip6()
376 seq2 = ntohl(tcp->th_ack); in dumpip6()
393 if (ntohl(tcp->th_ack)) in dumpip6()
394 tpacket[pktcount -1].ack = ntohl(tcp->th_ack) - seq2; in dumpip6()
397 if (ntohl(tcp->th_ack)) in dumpip6()
[all …]
/dports/security/suricata/suricata-6.0.4/src/
H A Dapp-layer.c1129 p->tcph->th_ack = htonl(1); in AppLayerTest01()
1243 p->tcph->th_ack = htonl(1); in AppLayerTest02()
1263 p->tcph->th_ack = htonl(3); in AppLayerTest02()
1295 p->tcph->th_ack = htonl(1); in AppLayerTest02()
1420 p->tcph->th_ack = htonl(1); in AppLayerTest03()
1546 p->tcph->th_ack = htonl(1); in AppLayerTest04()
1588 p->tcph->th_ack = htonl(5); in AppLayerTest04()
1715 p->tcph->th_ack = htonl(1); in AppLayerTest05()
1871 p->tcph->th_ack = htonl(1); in AppLayerTest06()
1965 p->tcph->th_ack = htonl(1); in AppLayerTest07()
[all …]
H A Dstream-tcp.c6537 tcph.th_ack = htonl(20); in StreamTcpTest03()
6613 tcph.th_ack = htonl(20); in StreamTcpTest04()
6683 tcph.th_ack = htonl(20); in StreamTcpTest05()
7042 tcph.th_ack = 0; in StreamTcpTest10()
7121 tcph.th_ack = htonl(1); in StreamTcpTest11()
7666 tcph.th_ack = 0; in StreamTcp4WHSTest01()
7674 p->tcph->th_ack = 0; in StreamTcp4WHSTest01()
7748 tcph.th_ack = 0; in StreamTcp4WHSTest02()
7756 p->tcph->th_ack = 0; in StreamTcp4WHSTest02()
7818 tcph.th_ack = 0; in StreamTcp4WHSTest03()
[all …]
/dports/net-mgmt/tcpreplay/tcpreplay-4.3.4/src/tcpedit/
H A Drewrite_sequence.c56 newnum = ntohl(tcp_hdr->th_ack) + tcpedit->tcp_sequence_adjust; in rewrite_seqs()
57 csum_replace4(&tcp_hdr->th_sum, tcp_hdr->th_ack, htonl(newnum)); in rewrite_seqs()
58 tcp_hdr->th_ack = htonl(newnum); in rewrite_seqs()
/dports/net-mgmt/argus3/argus-3.0.8.2/argus/
H A DArgusTcp.c89 tcp->th_ack = ntohl(thdr->th_ack); in ArgusUpdateTCPState()
131 ArgusThisTCPsrc->seqbase = tcp->th_ack - 1; in ArgusUpdateTCPState()
132 ArgusThisTCPsrc->seq = tcp->th_ack - 1; in ArgusUpdateTCPState()
135 ArgusThisTCPdst->ack = tcp->th_ack - 1; in ArgusUpdateTCPState()
164 ArgusThisTCPdst->ack = tcp->th_ack - 1; in ArgusUpdateTCPState()
175 ArgusThisTCPdst->ack = tcp->th_ack - 1; in ArgusUpdateTCPState()
661 if (tcp->th_ack && (flags & TH_ACK)) { in ArgusUpdateTCPSequence()
667 if (!(ArgusThisTCPsrc->ack == (tcp->th_ack - 1))) { in ArgusUpdateTCPSequence()
672 if (ArgusThisTCPdst->seq == tcp->th_ack) in ArgusUpdateTCPSequence()
685 ArgusThisTCPsrc->ack = tcp->th_ack - 1; in ArgusUpdateTCPSequence()
[all …]
/dports/net/nast/nast-0.2.0/ncurses/
H A Dn_rst.c86 …src,ip_dst,htons(tcp->th_sport),htons(tcp->th_dport),htonl (tcp->th_seq), htonl (tcp->th_ack),Syn); in rst_connection_db()
89 …p_src,ip_dst,htons(tcp->th_sport),htons(tcp->th_dport),htonl (tcp->th_seq), htonl (tcp->th_ack),0); in rst_connection_db()
92 …p_src,ip_dst,htons(tcp->th_sport),htons(tcp->th_dport),htonl (tcp->th_seq), htonl (tcp->th_ack),0); in rst_connection_db()
98 …p_src,ip_dst,htons(tcp->th_sport),htons(tcp->th_dport),htonl (tcp->th_seq), htonl (tcp->th_ack),0); in rst_connection_db()
101 …p_src,ip_dst,htons(tcp->th_sport),htons(tcp->th_dport),htonl (tcp->th_seq), htonl (tcp->th_ack),0); in rst_connection_db()
119 …dst,ip_src,htons(tcp->th_sport),htons(tcp->th_dport),htonl (tcp->th_seq), htonl (tcp->th_ack),Syn); in rst_connection_db()
122 …p_dst,ip_src,htons(tcp->th_sport),htons(tcp->th_dport),htonl (tcp->th_seq), htonl (tcp->th_ack),0); in rst_connection_db()
125 …p_dst,ip_src,htons(tcp->th_sport),htons(tcp->th_dport),htonl (tcp->th_seq), htonl (tcp->th_ack),0); in rst_connection_db()
131 …p_dst,ip_src,htons(tcp->th_sport),htons(tcp->th_dport),htonl (tcp->th_seq), htonl (tcp->th_ack),0); in rst_connection_db()
134 …p_dst,ip_src,htons(tcp->th_sport),htons(tcp->th_dport),htonl (tcp->th_seq), htonl (tcp->th_ack),0); in rst_connection_db()
/dports/emulators/qemu42/qemu-4.2.1/net/
H A Dfilter-rewriter.c82 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_primary_tcp_pkt()
107 conn->offset -= (ntohl(tcp_pkt->th_ack) - 1); in handle_primary_tcp_pkt()
112 tcp_pkt->th_ack = htonl(ntohl(tcp_pkt->th_ack) + conn->offset); in handle_primary_tcp_pkt()
122 (ntohl(tcp_pkt->th_ack) == (conn->fin_ack_seq + 1))) { in handle_primary_tcp_pkt()
186 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_secondary_tcp_pkt()
/dports/emulators/qemu/qemu-6.2.0/net/
H A Dfilter-rewriter.c81 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_primary_tcp_pkt()
109 conn->offset -= (ntohl(tcp_pkt->th_ack) - 1); in handle_primary_tcp_pkt()
114 tcp_pkt->th_ack = htonl(ntohl(tcp_pkt->th_ack) + conn->offset); in handle_primary_tcp_pkt()
124 (ntohl(tcp_pkt->th_ack) == (conn->fin_ack_seq + 1))) { in handle_primary_tcp_pkt()
188 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_secondary_tcp_pkt()
/dports/emulators/qemu60/qemu-6.0.0/net/
H A Dfilter-rewriter.c81 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_primary_tcp_pkt()
109 conn->offset -= (ntohl(tcp_pkt->th_ack) - 1); in handle_primary_tcp_pkt()
114 tcp_pkt->th_ack = htonl(ntohl(tcp_pkt->th_ack) + conn->offset); in handle_primary_tcp_pkt()
124 (ntohl(tcp_pkt->th_ack) == (conn->fin_ack_seq + 1))) { in handle_primary_tcp_pkt()
188 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_secondary_tcp_pkt()
/dports/emulators/qemu5/qemu-5.2.0/net/
H A Dfilter-rewriter.c81 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_primary_tcp_pkt()
109 conn->offset -= (ntohl(tcp_pkt->th_ack) - 1); in handle_primary_tcp_pkt()
114 tcp_pkt->th_ack = htonl(ntohl(tcp_pkt->th_ack) + conn->offset); in handle_primary_tcp_pkt()
124 (ntohl(tcp_pkt->th_ack) == (conn->fin_ack_seq + 1))) { in handle_primary_tcp_pkt()
188 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_secondary_tcp_pkt()
/dports/emulators/qemu-utils/qemu-4.2.1/net/
H A Dfilter-rewriter.c82 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_primary_tcp_pkt()
107 conn->offset -= (ntohl(tcp_pkt->th_ack) - 1); in handle_primary_tcp_pkt()
112 tcp_pkt->th_ack = htonl(ntohl(tcp_pkt->th_ack) + conn->offset); in handle_primary_tcp_pkt()
122 (ntohl(tcp_pkt->th_ack) == (conn->fin_ack_seq + 1))) { in handle_primary_tcp_pkt()
186 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_secondary_tcp_pkt()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/net/
H A Dfilter-rewriter.c82 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_primary_tcp_pkt()
107 conn->offset -= (ntohl(tcp_pkt->th_ack) - 1); in handle_primary_tcp_pkt()
112 tcp_pkt->th_ack = htonl(ntohl(tcp_pkt->th_ack) + conn->offset); in handle_primary_tcp_pkt()
122 (ntohl(tcp_pkt->th_ack) == (conn->fin_ack_seq + 1))) { in handle_primary_tcp_pkt()
186 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_secondary_tcp_pkt()
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/net/
H A Dfilter-rewriter.c81 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_primary_tcp_pkt()
109 conn->offset -= (ntohl(tcp_pkt->th_ack) - 1); in handle_primary_tcp_pkt()
114 tcp_pkt->th_ack = htonl(ntohl(tcp_pkt->th_ack) + conn->offset); in handle_primary_tcp_pkt()
124 (ntohl(tcp_pkt->th_ack) == (conn->fin_ack_seq + 1))) { in handle_primary_tcp_pkt()
188 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_secondary_tcp_pkt()
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/net/
H A Dfilter-rewriter.c82 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_primary_tcp_pkt()
107 conn->offset -= (ntohl(tcp_pkt->th_ack) - 1); in handle_primary_tcp_pkt()
112 tcp_pkt->th_ack = htonl(ntohl(tcp_pkt->th_ack) + conn->offset); in handle_primary_tcp_pkt()
122 (ntohl(tcp_pkt->th_ack) == (conn->fin_ack_seq + 1))) { in handle_primary_tcp_pkt()
186 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_secondary_tcp_pkt()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/net/
H A Dfilter-rewriter.c72 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_primary_tcp_pkt()
92 conn->offset -= (ntohl(tcp_pkt->th_ack) - 1); in handle_primary_tcp_pkt()
97 tcp_pkt->th_ack = htonl(ntohl(tcp_pkt->th_ack) + conn->offset); in handle_primary_tcp_pkt()
119 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_secondary_tcp_pkt()
/dports/security/snort3/snort3-3.1.19.0/src/protocols/
H A Dtcp.h77 uint32_t th_ack; /* acknowledgment number */ member
113 { return ntohl(th_ack); } in ack()
153 { return th_ack; } in raw_ack()
/dports/net/ipsumdump/ipsumdump-1.86/src/
H A Dipmirror.cc63 tcph->th_seq = tcph->th_ack; in simple_action()
64 tcph->th_ack = seqn; in simple_action()
/dports/net-mgmt/packit/packit-1.8/src/
H A Dprint_tcp_hdr.c69 if (tcphdr->th_ack > 0) in print_tcp_hdr()
70 fprintf(stdout, "Ackn: %lu ", (u_long) ntohl(tcphdr->th_ack)); in print_tcp_hdr()
/dports/net/ndisc6/ndisc6-1.0.5/src/
H A Dtrace-tcp.c86 seq = ntohl (pth->th_ack) - 1; in parse_syn_resp()
140 packet->th.th_ack = htonl((ttl << 24) | (n << 16) | (getpid () & 0xffff)); in send_ack_probe()
187 seq = ntohl (pth->th_ack); in parse_ack_error()
/dports/security/openvas/openvas-scanner-21.4.3/nasl/
H A Dnasl_builtin_synscan.c415 ret = htonl (ntohl (tcp->th_ack) - 1); in extractack()
453 unsigned long th_ack, unsigned char flag) in mktcp() argument
478 tcp->th_seq = th_ack; in mktcp()
479 tcp->th_ack = 0; in mktcp()
501 mktcpv6 (int sport, int dport, unsigned long th_ack, unsigned char flag) in mktcpv6() argument
509 tcp->th_ack = htonl (rand ()); in mktcpv6()
510 tcp->th_seq = th_ack; in mktcpv6()
/dports/net/ssldump/ssldump-0.9b3/base/
H A Ddata23 tcppack.c:117: conn->r2i.ack=ntohl(p->tcp->th_ack)+1;
24 tcppack.c:127: conn->i2r.ack=ntohl(p->tcp->th_ack)+1;
38 tcppack.c:245: acknum=ntohl(p->tcp->th_ack);
55 tcppack.c:388: printf("ACK %ld ",ntohl(p->tcp->th_ack));

12345678910>>...14