Home
last modified time | relevance | path

Searched refs:TH_RST (Results 1 – 25 of 38) sorted by relevance

12

/freebsd-12.1/sys/netinet/
H A Dtcp.h68 #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 Dtcp_fsm.h89 TH_RST|TH_ACK, /* 0, CLOSED */
H A Dtcp_input.c779 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 Dtcp_offload.c134 if (flags & TH_RST) { in tcp_offload_output()
H A Dtcp_output.c463 (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 Dtcp_timewait.c410 if (thflags & TH_RST) in tcp_twcheck()
/freebsd-12.1/contrib/ipfilter/lib/
H A Dflags.c24 u_char flags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH, TH_ACK, TH_URG,
H A Dprintpacket.c94 if (tcp->th_flags & TH_RST)
H A Dipft_tx.c29 static u_char myflags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH,
/freebsd-12.1/contrib/tcpdump/
H A Dprint-cnfp.c226 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 Dtcp.h58 #define TH_RST 0x04 macro
H A Dprint-tcp.c107 { 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 Dtcp.d89 #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 Dip_fw2.c651 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 Dip_compat.h739 #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 Dip_fil_freebsd.c366 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 Dfilter.c304 (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 Drack.c5301 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 Dalias.c198 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 Dipsend.c395 tcp->th_flags |= TH_RST;
/freebsd-12.1/usr.sbin/trpt/
H A Dtrpt.c403 pf(TH_RST, "RST"); in tcp_trace()
/freebsd-12.1/sys/netpfil/pf/
H A Dpf.c1677 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 Dslcompress.c177 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 Dslcompress.c186 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 Dnetflow.c788 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()

12