Searched refs:TH_ACK (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-11-stable/sys/netinet/
H A Dtcp_fsm.h82 * TH_ACK,TH_SYN,TH_FIN) are totally determined by state, with the proviso
87 TH_RST|TH_ACK, /* 0, CLOSED */
90 TH_SYN|TH_ACK, /* 3, SYN_RECEIVED */
91 TH_ACK, /* 4, ESTABLISHED */
92 TH_ACK, /* 5, CLOSE_WAIT */
93 TH_FIN|TH_ACK, /* 6, FIN_WAIT_1 */
94 TH_FIN|TH_ACK, /* 7, CLOSING */
95 TH_FIN|TH_ACK, /* 8, LAST_ACK */
96 TH_ACK, /* 9, FIN_WAIT_2 */
97 TH_ACK, /* 1
[all...]
H A Dtcp.h68 #define TH_ACK 0x10 macro
72 #define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|TH_ECE|TH_CWR)
H A Dtcp_timewait.c350 tcp_twrespond(tw, TH_ACK);
400 KASSERT(to != NULL || (thflags & (TH_SYN | TH_ACK)) == TH_SYN,
424 if ((thflags & TH_ACK) == 0)
447 if ((thflags & TH_ACK) == 0)
472 if (thflags != TH_ACK || tlen != 0 ||
475 tcp_twrespond(tw, TH_ACK);
602 if (tw->t_recent && flags == TH_ACK) {
649 if (flags & TH_ACK)
H A Dtcp_input.c1112 if ((thflags & (TH_RST|TH_ACK|TH_SYN)) == TH_ACK) {
1225 if (thflags & TH_ACK) {
1261 KASSERT((thflags & (TH_RST|TH_ACK)) == 0,
1262 ("%s: Listen socket: TH_RST or TH_ACK set", __func__));
1626 if ((tp->t_state == TCPS_SYN_SENT) && (thflags & TH_ACK) &&
1778 (thflags & (TH_SYN|TH_FIN|TH_RST|TH_URG|TH_ACK)) == TH_ACK &&
1987 if ((thflags & TH_ACK) &&
2002 if ((thflags & (TH_SYN|TH_ACK))
[all...]
H A Dtcp_syncache.c547 if (th->th_flags & (TH_ACK|TH_SYN|TH_FIN)) {
985 KASSERT((th->th_flags & (TH_RST|TH_ACK|TH_SYN)) == TH_ACK,
1294 KASSERT((th->th_flags & (TH_RST|TH_ACK|TH_SYN)) == TH_SYN,
1735 th->th_flags = TH_SYN|TH_ACK;
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dflags.c24 u_char flags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH, TH_ACK, TH_URG,
H A Dprintpacket.c98 if (tcp->th_flags & TH_ACK)
/freebsd-11-stable/contrib/tcpdump/
H A Dtcp.h60 #define TH_ACK 0x10 macro
H A Dprint-mptcp.c182 !(opt_len == 20 && (flags & (TH_SYN | TH_ACK)) == TH_ACK))
206 !(opt_len == 16 && (flags & (TH_SYN | TH_ACK)) == (TH_SYN | TH_ACK)) &&
207 !(opt_len == 24 && (flags & TH_ACK)))
H A Dprint-cnfp.c228 flags & TH_ACK ? "A" : "",
324 flags & TH_ACK ? "A" : "",
420 flags & TH_ACK ? "A" : "",
H A Dprint-tcp.c109 { TH_ACK, "." },
244 if (!ndo->ndo_Sflag && (flags & TH_ACK)) {
409 if (flags & TH_ACK) {
/freebsd-11-stable/sys/netinet/tcp_stacks/
H A Dfastpath.c478 if ((thflags & TH_ACK) &&
500 if ((thflags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) {
511 if (thflags & TH_ACK) {
601 if (thflags & TH_ACK)
679 tp->rcv_nxt, tp->snd_nxt, TH_ACK);
705 tp->snd_nxt, TH_ACK);
883 if ((thflags & TH_ACK) == 0) {
1361 if ((thflags & TH_ACK) &&
1616 if (tp->t_state == TCPS_SYN_RECEIVED && (thflags & TH_ACK)
[all...]
/freebsd-11-stable/cddl/lib/libdtrace/
H A Dtcp.d67 #pragma D binding "1.6.3" TH_ACK
68 inline uint8_t TH_ACK = 0x10;
305 flags & TH_ACK ? "ACK" :
/freebsd-11-stable/contrib/pf/tftp-proxy/
H A Dfilter.c304 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : 0);
308 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : NULL);
/freebsd-11-stable/usr.sbin/ppp/
H A Dslcompress.c184 if ((th->th_flags & (TH_SYN | TH_FIN | TH_RST | TH_ACK)) != TH_ACK) {
/freebsd-11-stable/sys/net/
H A Dslcompress.c175 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK)
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_state.c1613 if ((tcp->th_flags & ~(TH_FIN|TH_ACK|TH_ECNALL)) ==
2071 if (flags == (TH_SYN|TH_ACK)) {
2220 if (!(tcpflags & TH_ACK)) { /* Pretend an ack was sent */
2222 } else if (((tcpflags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) &&
2267 } else if ((seq == 0) && (tcpflags == (TH_RST|TH_ACK)) &&
4094 ((tcpflags & TH_ACKMASK) == TH_ACK)) {
4135 } else if ((tcpflags & (TH_SYN|TH_FIN|TH_ACK)) ==
4136 TH_ACK) {
4164 if ((tcpflags & (TH_SYN|TH_FIN|TH_ACK))
[all...]
H A Dip_compat.h713 #define TCPF_ALL (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|\
842 #ifndef TH_ACK
843 # define TH_ACK 0x10 macro
849 #define TH_ACKMASK (TH_FIN|TH_SYN|TH_RST|TH_ACK)
H A Dip_state.h138 #define TH_OPENING (TH_SYN|TH_ACK)
/freebsd-11-stable/sys/netpfil/pf/
H A Dpf.c1664 TH_RST|TH_ACK, 0, 0, 0, 1, s->tag, NULL);
1962 if (f & TH_ACK)
2560 ntohl(th->th_ack), ack, TH_RST|TH_ACK, 0, 0,
3651 if ((th->th_flags & (TH_SYN|TH_ACK)) == TH_SYN &&
3775 if (pd->proto == IPPROTO_TCP && (th->th_flags & (TH_SYN|TH_ACK)) ==
3804 TH_SYN|TH_ACK, 0, s->src.mss, 0, 1, 0, NULL);
4048 if ((th->th_flags & TH_ACK) == 0) {
4052 (th->th_flags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) ||
4127 if (th->th_flags & TH_ACK) {
[all...]
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Diptests.c948 for (i = 0; i <= (TH_URG|TH_ACK|TH_PUSH|TH_RST|TH_SYN|TH_FIN);
1003 t->th_flags = TH_ACK;
1116 t->th_flags = TH_ACK|TH_URG;
1143 t->th_flags = TH_ACK;
H A Dipsend.c381 tcp->th_flags |= TH_ACK;
/freebsd-11-stable/contrib/pf/ftp-proxy/
H A Dfilter.c293 pfr.rule.flagset = (TH_SYN|TH_ACK);
/freebsd-11-stable/usr.sbin/trpt/
H A Dtrpt.c399 pf(TH_ACK, "ACK");
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_rx.c169 th->th_flags |= TH_ACK;

Completed in 360 milliseconds

12