| /freebsd-13.1/sbin/ipf/libipf/ |
| H A D | flags.c | 24 u_char flags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH, TH_ACK, TH_URG,
|
| H A D | printpacket.c | 92 if (tcp->th_flags & TH_RST) in printpacket()
|
| H A D | ipft_tx.c | 29 static u_char myflags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH,
|
| /freebsd-13.1/sys/netinet/ |
| H A D | tcp.h | 68 #define TH_RST 0x04 macro 75 #define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|TH_ECE|TH_CWR)
|
| H A D | tcp_fsm.h | 89 TH_RST|TH_ACK, /* 0, CLOSED */
|
| H A D | tcp_timewait.c | 422 if (thflags & TH_RST) in tcp_twcheck() 461 (tcp_seq)0, th->th_ack, TH_RST); in tcp_twcheck() 468 th->th_seq+tlen, (tcp_seq)0, TH_RST|TH_ACK); in tcp_twcheck()
|
| H A D | tcp_input.c | 1105 if ((thflags & (TH_RST|TH_ACK|TH_SYN)) == TH_ACK) { in tcp_input_with_port() 1195 if (thflags & TH_RST) { in tcp_input_with_port() 1249 KASSERT((thflags & (TH_RST|TH_ACK)) == 0, in tcp_input_with_port() 1745 if (((thflags & TH_RST) != 0) || V_tcp_tolerate_missing_ts) { in tcp_do_segment() 2028 } else if (!(thflags & (TH_ACK|TH_FIN|TH_RST))) { in tcp_do_segment() 2050 if ((thflags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) { in tcp_do_segment() 2055 if (thflags & TH_RST) in tcp_do_segment() 2192 if (thflags & TH_RST) { in tcp_do_segment() 3413 if ((th->th_flags & TH_RST) || m->m_flags & (M_BCAST|M_MCAST)) in tcp_dropwithreset() 3445 th->th_ack, TH_RST); in tcp_dropwithreset() [all …]
|
| H A D | tcp_offload.c | 153 if (flags & TH_RST) { in tcp_offload_output()
|
| H A D | tcp_output.c | 481 (flags & TH_RST))) in tcp_output() 709 if ((flags & TH_RST) || in tcp_output() 1126 else if (flags & (TH_SYN|TH_FIN|TH_RST)) in tcp_output() 1288 if (flags & TH_RST) { in tcp_output()
|
| /freebsd-13.1/contrib/tcpdump/ |
| H A D | print-cnfp.c | 226 flags & TH_RST ? "R" : "", in cnfp_v1_print() 322 flags & TH_RST ? "R" : "", in cnfp_v5_print() 418 flags & TH_RST ? "R" : "", in cnfp_v6_print()
|
| H A D | tcp.h | 58 #define TH_RST 0x04 macro
|
| H A D | print-tcp.c | 107 { TH_RST, "R" }, 401 if (ndo->ndo_vflag > 1 || length > 0 || flags & (TH_SYN | TH_FIN | TH_RST)) { in tcp_print() 668 if ((flags & TH_RST) && ndo->ndo_vflag) { in tcp_print()
|
| /freebsd-13.1/cddl/lib/libdtrace/ |
| H A D | tcp.d | 89 #pragma D binding "1.6.3" TH_RST 90 inline uint8_t TH_RST = 0x04; variable 329 flags & TH_RST ? "RST" :
|
| /freebsd-13.1/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 | 338 if (tcp->th_flags & TH_RST) in ipf_send_reset() 382 tcp2->th_flags = TH_RST; in ipf_send_reset() 389 tcp2->th_flags = TH_RST|TH_ACK; in ipf_send_reset()
|
| /freebsd-13.1/contrib/pf/tftp-proxy/ |
| H A D | filter.c | 312 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : 0); in prepare_rule() 316 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : NULL); in prepare_rule()
|
| /freebsd-13.1/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() 1015 if ( (tcp->th_flags & TH_RST) == 0) { in send_reject() 1019 tcp->th_flags | TH_RST); in send_reject() 2458 (TH_RST | TH_ACK | TH_SYN)) != TH_SYN); in ipfw_chk()
|
| /freebsd-13.1/sys/netinet/libalias/ |
| H A D | alias.c | 197 if (th_flags & TH_RST) in TcpMonitorIn() 203 if (th_flags & (TH_FIN | TH_RST)) in TcpMonitorIn() 214 if (th_flags & TH_RST) in TcpMonitorOut() 220 if (th_flags & (TH_FIN | TH_RST)) in TcpMonitorOut()
|
| /freebsd-13.1/sbin/ipf/ipsend/ |
| H A D | ipsend.c | 382 tcp->th_flags |= TH_RST; in main()
|
| /freebsd-13.1/usr.sbin/trpt/ |
| H A D | trpt.c | 403 pf(TH_RST, "RST"); in tcp_trace()
|
| /freebsd-13.1/sys/netpfil/pf/ |
| H A D | pf.c | 2012 TH_RST|TH_ACK, 0, 0, 0, 1, s->tag); in pf_unlink_state() 2316 if (f & TH_RST) in pf_print_flags() 2963 !(th->th_flags & TH_RST)) { in pf_return() 2997 ntohl(th->th_ack), ack, TH_RST|TH_ACK, 0, 0, in pf_return() 4521 (th->th_flags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) || in pf_tcp_track_full() 4607 if (th->th_flags & TH_RST) in pf_tcp_track_full() 4694 if (th->th_flags & TH_RST) in pf_tcp_track_full() 4703 if (!(th->th_flags & TH_RST)) in pf_tcp_track_full() 4707 TH_RST, 0, 0, in pf_tcp_track_full() 4802 if (th->th_flags & TH_RST) in pf_tcp_track_sloppy() [all …]
|
| /freebsd-13.1/sys/netinet/tcp_stacks/ |
| H A D | bbr.c | 5951 if (th_flags & TH_RST) { in bbr_log_output() 8825 if ((thflags & (TH_ACK | TH_RST)) == (TH_ACK | TH_RST)) { in bbr_do_syn_sent() 8832 if (thflags & TH_RST) { in bbr_do_syn_sent() 9047 if ((thflags & TH_RST) || in bbr_do_syn_recv() 9271 if ((thflags & TH_RST) || in bbr_do_established() 9367 if ((thflags & TH_RST) || in bbr_do_close_wait() 9488 if ((thflags & TH_RST) || in bbr_do_fin_wait_1() 9615 if ((thflags & TH_RST) || in bbr_do_closing() 9728 if ((thflags & TH_RST) || in bbr_do_lastack() 12222 if (flags & TH_RST) { in bbr_output_wtime() [all …]
|
| /freebsd-13.1/sys/net/ |
| H A D | slcompress.c | 176 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK) in sl_compress_tcp()
|
| /freebsd-13.1/usr.sbin/ppp/ |
| H A D | slcompress.c | 186 if ((th->th_flags & (TH_SYN | TH_FIN | TH_RST | TH_ACK)) != TH_ACK) { in sl_compress_tcp()
|
| /freebsd-13.1/sys/netgraph/netflow/ |
| H A D | netflow.c | 752 if (tcp_flags & TH_FIN || tcp_flags & TH_RST || AGED(fle) || in ng_netflow_flow_add() 875 if (tcp_flags & TH_FIN || tcp_flags & TH_RST || AGED(fle6) || in ng_netflow_flow6_add()
|