| /f-stack/freebsd/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_input.c | 1071 if ((thflags & (TH_RST|TH_ACK|TH_SYN)) == TH_ACK) { in tcp_input() 1161 if (thflags & TH_RST) { in tcp_input() 1215 KASSERT((thflags & (TH_RST|TH_ACK)) == 0, in tcp_input() 1701 if (((thflags & TH_RST) != 0) || V_tcp_tolerate_missing_ts) { in tcp_do_segment() 1983 } else if (!(thflags & (TH_ACK|TH_FIN|TH_RST))) { in tcp_do_segment() 2005 if ((thflags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) { in tcp_do_segment() 2010 if (thflags & TH_RST) in tcp_do_segment() 2147 if (thflags & TH_RST) { in tcp_do_segment() 3366 if ((th->th_flags & TH_RST) || m->m_flags & (M_BCAST|M_MCAST)) in tcp_dropwithreset() 3398 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 | 478 (flags & TH_RST))) in tcp_output() 705 if ((flags & TH_RST) || in tcp_output() 1113 else if (flags & (TH_SYN|TH_FIN|TH_RST)) in tcp_output() 1258 if (flags & TH_RST) { in tcp_output()
|
| H A D | tcp_timewait.c | 414 if (thflags & TH_RST) in tcp_twcheck()
|
| H A D | tcp_syncache.c | 1150 KASSERT((th->th_flags & (TH_RST|TH_ACK|TH_SYN)) == TH_ACK, in syncache_expand() 1473 KASSERT((th->th_flags & (TH_RST|TH_ACK|TH_SYN)) == TH_SYN, in syncache_add()
|
| H A D | tcp_subr.c | 1431 if (!(flags & TH_RST)) { in tcp_respond() 1664 if (flags & TH_RST) in tcp_respond()
|
| /f-stack/tools/compat/include/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 */
|
| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | ip_compat.h | 718 #define TCPF_ALL (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|\ 841 #ifndef TH_RST 842 # define TH_RST 0x04 macro 854 #define TH_ACKMASK (TH_FIN|TH_SYN|TH_RST|TH_ACK)
|
| H A D | ip_fil_freebsd.c | 356 if (tcp->th_flags & TH_RST) 402 tcp2->th_flags = TH_RST; 409 tcp2->th_flags = TH_RST|TH_ACK;
|
| H A D | ip_state.c | 1572 if (tcp->th_flags & TH_RST) { 2222 } else if (((tcpflags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) && 2267 } else if ((seq == 0) && (tcpflags == (TH_RST|TH_ACK)) && 4060 if (tcpflags & TH_RST) {
|
| H A D | fil.c | 1381 ((flags & (TH_RST|TH_ACK)) == TH_RST)) { 1413 } else if (!(flags & (TH_RST|TH_SYN))) {
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_fw2.c | 667 dir = ((flags & (TH_SYN | TH_RST)) == TH_SYN); in ipfw_send_pkt() 721 if (flags & TH_RST) { in ipfw_send_pkt() 724 th->th_flags = TH_RST; in ipfw_send_pkt() 729 th->th_flags = TH_RST | TH_ACK; in ipfw_send_pkt() 898 if ((tcp->th_flags & TH_RST) == 0) { in send_reject6() 902 tcp->th_flags | TH_RST); in send_reject6() 1017 if ( (tcp->th_flags & TH_RST) == 0) { in send_reject() 1021 tcp->th_flags | TH_RST); in send_reject() 2437 (TH_RST | TH_ACK | TH_SYN)) != TH_SYN); in ipfw_chk()
|
| H A D | ip_fw_dynamic.c | 940 th_flags = pkt->_flags & (TH_FIN | TH_SYN | TH_RST); in dyn_update_tcp_state()
|
| /f-stack/freebsd/netinet/libalias/ |
| H A D | alias.c | 198 if (th_flags & TH_RST) in TcpMonitorIn() 204 if (th_flags & (TH_FIN | TH_RST)) in TcpMonitorIn() 216 if (th_flags & TH_RST) in TcpMonitorOut() 222 if (th_flags & (TH_FIN | TH_RST)) in TcpMonitorOut()
|
| /f-stack/freebsd/netinet/tcp_stacks/ |
| H A D | bbr.c | 5945 if (th_flags & TH_RST) { in bbr_log_output() 8866 if ((thflags & (TH_ACK | TH_RST)) == (TH_ACK | TH_RST)) { in bbr_do_syn_sent() 8873 if (thflags & TH_RST) { in bbr_do_syn_sent() 9088 if ((thflags & TH_RST) || in bbr_do_syn_recv() 9306 if ((thflags & TH_RST) || in bbr_do_established() 9402 if ((thflags & TH_RST) || in bbr_do_close_wait() 9523 if ((thflags & TH_RST) || in bbr_do_fin_wait_1() 9650 if ((thflags & TH_RST) || in bbr_do_closing() 9763 if ((thflags & TH_RST) || in bbr_do_lastack() 12259 if (flags & TH_RST) { in bbr_output_wtime() [all …]
|
| H A D | rack.c | 6102 if (th_flags & TH_RST) { in rack_log_output() 9191 if ((thflags & (TH_ACK | TH_RST)) == (TH_ACK | TH_RST)) { in rack_do_syn_sent() 9198 if (thflags & TH_RST) { in rack_do_syn_sent() 9409 if ((thflags & TH_RST) || in rack_do_syn_recv() 9607 if ((thflags & TH_RST) || in rack_do_established() 9703 if ((thflags & TH_RST) || in rack_do_close_wait() 9828 if ((thflags & TH_RST) || in rack_do_fin_wait_1() 9951 if ((thflags & TH_RST) || in rack_do_closing() 12136 if (flags & TH_RST) { in rack_output() 13516 if (flags & TH_RST) { in rack_output() [all …]
|
| /f-stack/freebsd/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()
|
| /f-stack/freebsd/netpfil/pf/ |
| H A D | pf.c | 1710 TH_RST|TH_ACK, 0, 0, 0, 1, s->tag, NULL); in pf_unlink_state() 2012 if (f & TH_RST) in pf_print_flags() 2629 !(th->th_flags & TH_RST)) { in pf_return() 2663 ntohl(th->th_ack), ack, TH_RST|TH_ACK, 0, 0, in pf_return() 4166 (th->th_flags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) || in pf_tcp_track_full() 4210 ((th->th_flags & TH_RST) == 0 || orig_seq == src->seqlo || in pf_tcp_track_full() 4250 if (th->th_flags & TH_RST) in pf_tcp_track_full() 4338 if (th->th_flags & TH_RST) in pf_tcp_track_full() 4347 if (!(th->th_flags & TH_RST)) in pf_tcp_track_full() 4351 TH_RST, 0, 0, in pf_tcp_track_full() [all …]
|
| H A D | pf_norm.c | 1379 if (flags & TH_RST) in pf_normalize_tcp() 1386 if (!(flags & (TH_ACK|TH_RST))) in pf_normalize_tcp() 1818 } else if (!got_ts && (th->th_flags & TH_RST) == 0 && in pf_normalize_tcp_stateful()
|
| /f-stack/freebsd/netgraph/netflow/ |
| H A D | netflow.c | 748 if (tcp_flags & TH_FIN || tcp_flags & TH_RST || AGED(fle) || in ng_netflow_flow_add() 871 if (tcp_flags & TH_FIN || tcp_flags & TH_RST || AGED(fle6) || in ng_netflow_flow6_add()
|
| /f-stack/freebsd/netpfil/ipfw/nat64/ |
| H A D | nat64lsn.c | 172 result |= (flags & TH_RST) >> 2; /* Treat RST as FIN */ in convert_tcp_flags()
|
| /f-stack/tools/ipfw/ |
| H A D | ipfw2.c | 137 { "rst", TH_RST },
|