| /freebsd-14.2/sys/netinet/ |
| H A D | tcp_timewait.c | 190 if (thflags & TH_RST) in tcp_twcheck() 248 (tcp_seq)0, th->th_ack, TH_RST); in tcp_twcheck() 255 th->th_seq+tlen, (tcp_seq)0, TH_RST|TH_ACK); in tcp_twcheck()
|
| H A D | tcp_fsm.h | 74 TH_RST|TH_ACK, /* 0, CLOSED */
|
| H A D | tcp.h | 67 #define TH_RST 0x04 macro 77 #define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|TH_ECE|TH_CWR)
|
| H A D | tcp_input.c | 1067 if ((thflags & (TH_RST|TH_ACK|TH_SYN)) == TH_ACK) { in tcp_input_with_port() 1171 if (thflags & TH_RST) { in tcp_input_with_port() 1225 KASSERT((thflags & (TH_RST|TH_ACK)) == 0, in tcp_input_with_port() 1702 if (((thflags & TH_RST) != 0) || V_tcp_tolerate_missing_ts) { in tcp_do_segment() 1968 if (thflags & TH_RST) { in tcp_do_segment() 1996 } else if (!(thflags & (TH_ACK|TH_FIN|TH_RST))) { in tcp_do_segment() 2018 if ((thflags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) { in tcp_do_segment() 2024 if (thflags & TH_RST) in tcp_do_segment() 2148 if (thflags & TH_RST) { in tcp_do_segment() 3495 th->th_ack, TH_RST); in tcp_dropwithreset() [all …]
|
| H A D | tcp_offload.c | 152 if (flags & TH_RST) { in tcp_offload_output()
|
| H A D | tcp_output.c | 478 (flags & TH_RST))) in tcp_default_output() 713 if ((flags & TH_RST) || in tcp_default_output() 1130 else if (flags & (TH_SYN|TH_FIN|TH_RST)) in tcp_default_output() 1275 if (flags & TH_RST) { in tcp_default_output()
|
| /freebsd-14.2/sbin/ipf/libipf/ |
| H A D | flags.c | 23 u_char flags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH, TH_ACK, TH_URG,
|
| H A D | printpacket.c | 91 if (tcp->th_flags & TH_RST) in printpacket()
|
| H A D | ipft_tx.c | 28 static u_char myflags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH,
|
| /freebsd-14.2/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" }, 420 if (ndo->ndo_vflag > 1 || length > 0 || flags & (TH_SYN | TH_FIN | TH_RST)) { in tcp_print() 718 if ((flags & TH_RST) && ndo->ndo_vflag) { in tcp_print()
|
| /freebsd-14.2/cddl/lib/libdtrace/ |
| H A D | tcp.d | 87 #pragma D binding "1.6.3" TH_RST 88 inline uint8_t TH_RST = 0x04; variable 327 flags & TH_RST ? "RST" :
|
| /freebsd-14.2/sys/netpfil/ipfilter/netinet/ |
| H A D | ip_compat.h | 706 #define TCPF_ALL (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|\ 829 #ifndef TH_RST 830 # define TH_RST 0x04 macro 842 #define TH_ACKMASK (TH_FIN|TH_SYN|TH_RST|TH_ACK)
|
| H A D | ip_fil_freebsd.c | 344 if (tcp->th_flags & TH_RST) in ipf_send_reset() 388 tcp2->th_flags = TH_RST; in ipf_send_reset() 395 tcp2->th_flags = TH_RST|TH_ACK; in ipf_send_reset()
|
| /freebsd-14.2/contrib/pf/tftp-proxy/ |
| H A D | filter.c | 315 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : 0); in prepare_rule() 319 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : NULL); in prepare_rule()
|
| /freebsd-14.2/sys/netpfil/ipfw/ |
| H A D | ip_fw2.c | 665 dir = ((flags & (TH_SYN | TH_RST)) == TH_SYN); in ipfw_send_pkt() 719 if (flags & TH_RST) { in ipfw_send_pkt() 722 th->th_flags = TH_RST; in ipfw_send_pkt() 727 th->th_flags = TH_RST | TH_ACK; in ipfw_send_pkt() 896 if ((tcp->th_flags & TH_RST) == 0) { in send_reject6() 900 tcp->th_flags | TH_RST); in send_reject6() 1024 if ( (tcp->th_flags & TH_RST) == 0) { in send_reject() 1028 tcp->th_flags | TH_RST); in send_reject() 2515 (TH_RST | TH_ACK | TH_SYN)) != TH_SYN); in ipfw_chk()
|
| /freebsd-14.2/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()
|
| /freebsd-14.2/sbin/ipf/ipsend/ |
| H A D | ipsend.c | 381 tcp->th_flags |= TH_RST; in main()
|
| /freebsd-14.2/sys/netinet/tcp_stacks/ |
| H A D | bbr.c | 5904 if (th_flags & TH_RST) { in bbr_log_output() 8777 if ((thflags & (TH_ACK | TH_RST)) == (TH_ACK | TH_RST)) { in bbr_do_syn_sent() 8784 if (thflags & TH_RST) { in bbr_do_syn_sent() 8969 if ((thflags & TH_RST) || in bbr_do_syn_recv() 9228 if ((thflags & TH_RST) || in bbr_do_established() 9325 if ((thflags & TH_RST) || in bbr_do_close_wait() 9447 if ((thflags & TH_RST) || in bbr_do_fin_wait_1() 9572 if ((thflags & TH_RST) || in bbr_do_closing() 9674 if ((thflags & TH_RST) || in bbr_do_lastack() 12120 if (flags & TH_RST) { in bbr_output_wtime() [all …]
|
| /freebsd-14.2/sys/net/ |
| H A D | slcompress.c | 175 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK) in sl_compress_tcp()
|
| /freebsd-14.2/sys/netpfil/pf/ |
| H A D | pf.c | 2689 if (f & TH_RST) in pf_print_flags() 3451 !(th->th_flags & TH_RST)) { in pf_return() 3485 ntohl(th->th_ack), ack, TH_RST|TH_ACK, 0, 0, in pf_return() 5577 (th->th_flags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) || in pf_tcp_track_full() 5662 if (th->th_flags & TH_RST) in pf_tcp_track_full() 5749 if (th->th_flags & TH_RST) in pf_tcp_track_full() 5758 if (!(th->th_flags & TH_RST)) in pf_tcp_track_full() 5762 TH_RST, 0, 0, in pf_tcp_track_full() 5858 if (th->th_flags & TH_RST) in pf_tcp_track_sloppy() 8394 if ((pd.hdr.tcp.th_flags & (TH_SYN|TH_ACK|TH_RST)) == in pf_test() [all …]
|
| /freebsd-14.2/usr.sbin/ppp/ |
| H A D | slcompress.c | 184 if ((th->th_flags & (TH_SYN | TH_FIN | TH_RST | TH_ACK)) != TH_ACK) { in sl_compress_tcp()
|
| /freebsd-14.2/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()
|
| /freebsd-14.2/sys/dev/sfxge/ |
| H A D | sfxge_rx.c | 548 | (th->th_flags & (TH_URG | TH_SYN | TH_RST | TH_FIN))); in sfxge_lro_try_merge() 595 if (th->th_flags & (TH_FIN | TH_RST)) { in sfxge_lro_try_merge()
|