| /src/sys/netinet/ |
| H A D | tcp_timewait.c | 187 if (thflags & TH_RST) in tcp_twcheck() 245 (tcp_seq)0, th->th_ack, TH_RST); in tcp_twcheck() 252 th->th_seq+tlen, (tcp_seq)0, TH_RST|TH_ACK); in tcp_twcheck()
|
| H A D | tcp_fsm.h | 72 TH_RST|TH_ACK, /* 0, CLOSED */
|
| H A D | tcp.h | 64 #define TH_RST 0x04 macro 74 #define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|TH_ECE|TH_CWR|TH_AE)
|
| H A D | tcp_input.c | 1040 if ((thflags & (TH_RST|TH_ACK|TH_SYN)) == TH_ACK) { in tcp_input_with_port() 1145 if (thflags & TH_RST) { in tcp_input_with_port() 1197 KASSERT((thflags & (TH_RST|TH_ACK)) == 0, in tcp_input_with_port() 1671 if (((thflags & TH_RST) != 0) || V_tcp_tolerate_missing_ts) { in tcp_do_segment() 1720 (thflags & (TH_SYN|TH_FIN|TH_RST|TH_URG|TH_ACK)) == TH_ACK && in tcp_do_segment() 1941 if (thflags & TH_RST) { in tcp_do_segment() 1967 } else if (!(thflags & (TH_ACK|TH_FIN|TH_RST))) { in tcp_do_segment() 1989 if ((thflags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) { in tcp_do_segment() 1995 if (thflags & TH_RST) in tcp_do_segment() 2119 if (thflags & TH_RST) { in tcp_do_segment() [all …]
|
| H A D | tcp_offload.c | 151 if (flags & TH_RST) { in tcp_offload_output()
|
| H A D | tcp_output.c | 470 (flags & TH_RST))) in tcp_default_output() 700 if ((flags & TH_RST) || in tcp_default_output() 1129 else if (flags & (TH_SYN|TH_FIN|TH_RST)) in tcp_default_output() 1273 if (flags & TH_RST) { in tcp_default_output() 1527 if (flags & TH_RST) { in tcp_default_output()
|
| /src/sbin/ipf/libipf/ |
| H A D | flags.c | 26 uint16_t flags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH, TH_ACK, TH_URG,
|
| H A D | printpacket.c | 92 if (tcpflags & TH_RST) in printpacket()
|
| H A D | ipft_tx.c | 24 static uint16_t myflags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH,
|
| /src/contrib/tcpdump/ |
| H A D | print-cnfp.c | 230 flags & TH_RST ? "R" : "", in cnfp_v1_print() 332 flags & TH_RST ? "R" : "", in cnfp_v5_print() 434 flags & TH_RST ? "R" : "", in cnfp_v6_print()
|
| H A D | tcp.h | 57 #define TH_RST 0x04 macro
|
| H A D | print-tcp.c | 107 { TH_RST, "R" }, 432 if (ndo->ndo_vflag > 1 || length > 0 || flags & (TH_SYN | TH_FIN | TH_RST)) { in tcp_print() 735 if (flags & TH_RST) { in tcp_print()
|
| /src/cddl/lib/libdtrace/ |
| H A D | tcp.d | 87 #pragma D binding "1.6.3" TH_RST 88 inline uint16_t TH_RST = 0x04; variable 329 flags & TH_RST ? "RST" :
|
| /src/contrib/pf/tftp-proxy/ |
| H A D | filter.c | 316 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : 0); in prepare_rule() 320 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : NULL); in prepare_rule()
|
| /src/sys/netpfil/ipfw/ |
| H A D | ip_fw2.c | 668 dir = ((flags & (TH_SYN | TH_RST)) == TH_SYN); in ipfw_send_pkt() 722 if (flags & TH_RST) { in ipfw_send_pkt() 725 tcp_set_flags(th, TH_RST); in ipfw_send_pkt() 730 tcp_set_flags(th, TH_RST | TH_ACK); in ipfw_send_pkt() 900 if ((tcp_get_flags(tcp) & TH_RST) == 0) { in send_reject6() 904 tcp_get_flags(tcp) | TH_RST); in send_reject6() 1019 if ( (tcp_get_flags(tcp) & TH_RST) == 0) { in send_reject() 1023 tcp_get_flags(tcp) | TH_RST); in send_reject() 2648 (TH_RST | TH_ACK | TH_SYN)) != TH_SYN); in ipfw_chk()
|
| /src/sys/netpfil/ipfilter/netinet/ |
| H A D | ip_compat.h | 818 #ifndef TH_RST 819 # define TH_RST 0x04 macro 831 #define TH_ACKMASK (TH_FIN|TH_SYN|TH_RST|TH_ACK)
|
| H A D | ip_fil_freebsd.c | 334 if (tcp_get_flags(tcp) & TH_RST) in ipf_send_reset() 378 tcp_set_flags(tcp2, TH_RST); in ipf_send_reset() 385 tcp_set_flags(tcp2, TH_RST|TH_ACK); in ipf_send_reset()
|
| /src/sys/netinet/libalias/ |
| H A D | alias.c | 195 if (th_flags & TH_RST) in TcpMonitorIn() 201 if (th_flags & (TH_FIN | TH_RST)) in TcpMonitorIn() 212 if (th_flags & TH_RST) in TcpMonitorOut() 218 if (th_flags & (TH_FIN | TH_RST)) in TcpMonitorOut()
|
| /src/sbin/ipf/ipsend/ |
| H A D | ipsend.c | 377 __tcp_set_flags(tcp, __tcp_get_flags(tcp) | TH_RST); in main()
|
| /src/sys/netinet/tcp_stacks/ |
| H A D | bbr.c | 5897 if (th_flags & TH_RST) { in bbr_log_output() 7290 if (tcp_get_flags(th) & TH_RST) { in bbr_log_ack() 8762 if ((thflags & (TH_ACK | TH_RST)) == (TH_ACK | TH_RST)) { in bbr_do_syn_sent() 8769 if (thflags & TH_RST) { in bbr_do_syn_sent() 8954 if ((thflags & TH_RST) || in bbr_do_syn_recv() 8983 } else if (!(thflags & (TH_ACK | TH_FIN | TH_RST))) { in bbr_do_syn_recv() 9196 __predict_true((thflags & (TH_SYN | TH_FIN | TH_RST | TH_URG | TH_ACK)) == TH_ACK) && in bbr_do_established() 9213 if ((thflags & TH_RST) || in bbr_do_established() 9310 if ((thflags & TH_RST) || in bbr_do_close_wait() 9432 if ((thflags & TH_RST) || in bbr_do_fin_wait_1() [all …]
|
| /src/sys/net/ |
| H A D | slcompress.c | 173 if ((tcp_get_flags(th) & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK) in sl_compress_tcp()
|
| /src/usr.sbin/ppp/ |
| H A D | slcompress.c | 182 if ((__tcp_get_flags(th) & (TH_SYN | TH_FIN | TH_RST | TH_ACK)) != TH_ACK) { in sl_compress_tcp()
|
| /src/sys/netgraph/netflow/ |
| H A D | netflow.c | 751 if (tcp_flags & TH_FIN || tcp_flags & TH_RST || AGED(fle) || in ng_netflow_flow_add() 874 if (tcp_flags & TH_FIN || tcp_flags & TH_RST || AGED(fle6) || in ng_netflow_flow6_add()
|
| /src/sys/dev/sfxge/ |
| H A D | sfxge_rx.c | 536 | (tcp_get_flags(th) & (TH_URG | TH_SYN | TH_RST | TH_FIN))); in sfxge_lro_try_merge() 583 if (tcp_get_flags(th) & (TH_FIN | TH_RST)) { in sfxge_lro_try_merge()
|
| /src/sys/netpfil/pf/ |
| H A D | pf.c | 3130 TH_RST|TH_ACK, 0, 0, 0, M_SKIP_FIREWALL, s->tag, 0, in pf_remove_state() 3519 if (f & TH_RST) in pf_print_flags() 4787 !(tcp_get_flags(th) & TH_RST)) { in pf_return() 4800 ntohl(th->th_ack), ack, TH_RST|TH_ACK, 0, 0, in pf_return() 7414 (tcp_get_flags(th) & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) || in pf_tcp_track_full() 7458 ((tcp_get_flags(th) & TH_RST) == 0 || orig_seq == src->seqlo || in pf_tcp_track_full() 7463 (th->th_flags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)))) { in pf_tcp_track_full() 7503 if (tcp_get_flags(th) & TH_RST) in pf_tcp_track_full() 7590 if (tcp_get_flags(th) & TH_RST) in pf_tcp_track_full() 7599 if (!(tcp_get_flags(th) & TH_RST)) in pf_tcp_track_full() [all …]
|