| /freebsd-12.1/sys/netinet/ |
| H A D | tcp.h | 68 #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)
|
| H A D | tcp_fsm.h | 89 TH_RST|TH_ACK, /* 0, CLOSED */
|
| H A D | tcp_input.c | 779 if ((thflags & (TH_FIN | TH_RST)) != 0) { in tcp_input() 1011 if ((thflags & (TH_FIN | TH_RST)) != 0) in tcp_input() 1170 if (thflags & TH_RST) { in tcp_input() 1224 KASSERT((thflags & (TH_RST|TH_ACK)) == 0, in tcp_input() 1546 if ((thflags & (TH_SYN | TH_FIN | TH_RST)) != 0 || in tcp_do_segment() 1963 } else if (!(thflags & (TH_ACK|TH_FIN|TH_RST))) { in tcp_do_segment() 1985 if ((thflags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) { in tcp_do_segment() 1990 if (thflags & TH_RST) in tcp_do_segment() 2128 if (thflags & TH_RST) { in tcp_do_segment() 3302 th->th_ack, TH_RST); in tcp_dropwithreset() [all …]
|
| H A D | tcp_offload.c | 134 if (flags & TH_RST) { in tcp_offload_output()
|
| H A D | tcp_output.c | 463 (flags & TH_RST))) in tcp_output() 673 if ((flags & TH_RST) || in tcp_output() 1062 else if (flags & (TH_SYN|TH_FIN|TH_RST)) in tcp_output() 1191 if (flags & TH_RST) { in tcp_output()
|
| H A D | tcp_timewait.c | 410 if (thflags & TH_RST) in tcp_twcheck()
|
| /freebsd-12.1/contrib/ipfilter/lib/ |
| 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 | 94 if (tcp->th_flags & TH_RST)
|
| H A D | ipft_tx.c | 29 static u_char myflags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH,
|
| /freebsd-12.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-12.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-12.1/sys/netpfil/ipfw/ |
| H A D | ip_fw2.c | 651 dir = ((flags & (TH_SYN | TH_RST)) == TH_SYN); in ipfw_send_pkt() 705 if (flags & TH_RST) { in ipfw_send_pkt() 708 th->th_flags = TH_RST; in ipfw_send_pkt() 713 th->th_flags = TH_RST | TH_ACK; in ipfw_send_pkt() 881 if ((tcp->th_flags & TH_RST) == 0) { in send_reject6() 885 tcp->th_flags | TH_RST); in send_reject6() 1001 if ( (tcp->th_flags & TH_RST) == 0) { in send_reject() 1005 tcp->th_flags | TH_RST); in send_reject() 2367 (TH_RST | TH_ACK | TH_SYN)) != TH_SYN); in ipfw_chk()
|
| /freebsd-12.1/sys/contrib/ipfilter/netinet/ |
| H A D | ip_compat.h | 739 #define TCPF_ALL (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|\ 862 #ifndef TH_RST 863 # define TH_RST 0x04 macro 875 #define TH_ACKMASK (TH_FIN|TH_SYN|TH_RST|TH_ACK)
|
| H A D | ip_fil_freebsd.c | 366 if (tcp->th_flags & TH_RST) 412 tcp2->th_flags = TH_RST; 419 tcp2->th_flags = TH_RST|TH_ACK;
|
| /freebsd-12.1/contrib/pf/tftp-proxy/ |
| H A D | filter.c | 304 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : 0); in prepare_rule() 308 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : NULL); in prepare_rule()
|
| /freebsd-12.1/sys/netinet/tcp_stacks/ |
| H A D | rack.c | 5301 if ((thflags & (TH_ACK | TH_RST)) == (TH_ACK | TH_RST)) { in rack_do_syn_sent() 5308 if (thflags & TH_RST) { in rack_do_syn_sent() 5509 if (thflags & TH_RST) in rack_do_syn_recv() 5695 if (thflags & TH_RST) in rack_do_established() 5789 if (thflags & TH_RST) in rack_do_close_wait() 5907 if (thflags & TH_RST) in rack_do_fin_wait_1() 6026 if (thflags & TH_RST) in rack_do_closing() 6132 if (thflags & TH_RST) in rack_do_lastack() 6240 if (thflags & TH_RST) in rack_do_fin_wait_2() 7160 if (flags & TH_RST) { in rack_output() [all …]
|
| /freebsd-12.1/sys/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()
|
| /freebsd-12.1/contrib/ipfilter/ipsend/ |
| H A D | ipsend.c | 395 tcp->th_flags |= TH_RST;
|
| /freebsd-12.1/usr.sbin/trpt/ |
| H A D | trpt.c | 403 pf(TH_RST, "RST"); in tcp_trace()
|
| /freebsd-12.1/sys/netpfil/pf/ |
| H A D | pf.c | 1677 TH_RST|TH_ACK, 0, 0, 0, 1, s->tag, NULL); in pf_unlink_state() 1973 if (f & TH_RST) in pf_print_flags() 2541 !(th->th_flags & TH_RST)) { in pf_return() 2575 ntohl(th->th_ack), ack, TH_RST|TH_ACK, 0, 0, in pf_return() 4067 (th->th_flags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) || in pf_tcp_track_full() 4113 ((th->th_flags & TH_RST) == 0 || orig_seq == src->seqlo || in pf_tcp_track_full() 4154 if (th->th_flags & TH_RST) in pf_tcp_track_full() 4241 if (th->th_flags & TH_RST) in pf_tcp_track_full() 4250 if (!(th->th_flags & TH_RST)) in pf_tcp_track_full() 4254 TH_RST, 0, 0, in pf_tcp_track_full() [all …]
|
| /freebsd-12.1/sys/net/ |
| H A D | slcompress.c | 177 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK) in sl_compress_tcp()
|
| /freebsd-12.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-12.1/sys/netgraph/netflow/ |
| H A D | netflow.c | 788 if (tcp_flags & TH_FIN || tcp_flags & TH_RST || AGED(fle) || in ng_netflow_flow_add() 910 if (tcp_flags & TH_FIN || tcp_flags & TH_RST || AGED(fle6) || in ng_netflow_flow6_add()
|