Home
last modified time | relevance | path

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

12

/freebsd-13.1/sbin/ipf/libipf/
H A Dflags.c24 u_char flags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH, TH_ACK, TH_URG,
H A Dprintpacket.c92 if (tcp->th_flags & TH_RST) in printpacket()
H A Dipft_tx.c29 static u_char myflags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH,
/freebsd-13.1/sys/netinet/
H A Dtcp.h68 #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 Dtcp_fsm.h89 TH_RST|TH_ACK, /* 0, CLOSED */
H A Dtcp_timewait.c422 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 Dtcp_input.c1105 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 Dtcp_offload.c153 if (flags & TH_RST) { in tcp_offload_output()
H A Dtcp_output.c481 (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 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-13.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-13.1/sys/netpfil/ipfilter/netinet/
H A Dip_compat.h706 #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 Dip_fil_freebsd.c338 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 Dfilter.c312 (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 Dip_fw2.c665 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 Dalias.c197 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 Dipsend.c382 tcp->th_flags |= TH_RST; in main()
/freebsd-13.1/usr.sbin/trpt/
H A Dtrpt.c403 pf(TH_RST, "RST"); in tcp_trace()
/freebsd-13.1/sys/netpfil/pf/
H A Dpf.c2012 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 Dbbr.c5951 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 Dslcompress.c176 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 Dslcompress.c186 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 Dnetflow.c752 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()

12