Home
last modified time | relevance | path

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

12

/freebsd/sys/netinet/
H A Dtcp_timewait.c189 if (thflags & TH_RST) in tcp_twcheck()
247 (tcp_seq)0, th->th_ack, TH_RST); in tcp_twcheck()
254 th->th_seq+tlen, (tcp_seq)0, TH_RST|TH_ACK); in tcp_twcheck()
H A Dtcp_fsm.h72 TH_RST|TH_ACK, /* 0, CLOSED */
H A Dtcp.h64 #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|TH_AE)
H A Dtcp_input.c1075 if ((thflags & (TH_RST|TH_ACK|TH_SYN)) == TH_ACK) { in tcp_input_with_port()
1179 if (thflags & TH_RST) { in tcp_input_with_port()
1233 KASSERT((thflags & (TH_RST|TH_ACK)) == 0, in tcp_input_with_port()
1711 if (((thflags & TH_RST) != 0) || V_tcp_tolerate_missing_ts) { in tcp_do_segment()
1760 (thflags & (TH_SYN|TH_FIN|TH_RST|TH_URG|TH_ACK)) == TH_ACK && in tcp_do_segment()
1981 if (thflags & TH_RST) { in tcp_do_segment()
2009 } else if (!(thflags & (TH_ACK|TH_FIN|TH_RST))) { in tcp_do_segment()
2031 if ((thflags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) { in tcp_do_segment()
2037 if (thflags & TH_RST) in tcp_do_segment()
2161 if (thflags & TH_RST) { in tcp_do_segment()
[all …]
H A Dtcp_offload.c152 if (flags & TH_RST) { in tcp_offload_output()
H A Dtcp_output.c474 (flags & TH_RST))) in tcp_default_output()
704 if ((flags & TH_RST) || in tcp_default_output()
1133 else if (flags & (TH_SYN|TH_FIN|TH_RST)) in tcp_default_output()
1277 if (flags & TH_RST) { in tcp_default_output()
1540 if (flags & TH_RST) { in tcp_default_output()
/freebsd/sbin/ipf/libipf/
H A Dflags.c26 uint16_t flags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH, TH_ACK, TH_URG,
H A Dprintpacket.c92 if (tcpflags & TH_RST) in printpacket()
H A Dipft_tx.c24 static uint16_t myflags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH,
/freebsd/contrib/tcpdump/
H A Dprint-cnfp.c230 flags & TH_RST ? "R" : "", in cnfp_v1_print()
332 flags & TH_RST ? "R" : "", in cnfp_v5_print()
434 flags & TH_RST ? "R" : "", in cnfp_v6_print()
H A Dtcp.h57 #define TH_RST 0x04 macro
H A Dprint-tcp.c107 { TH_RST, "R" },
420 if (ndo->ndo_vflag > 1 || length > 0 || flags & (TH_SYN | TH_FIN | TH_RST)) { in tcp_print()
718 if ((flags & TH_RST) && ndo->ndo_vflag) { in tcp_print()
/freebsd/cddl/lib/libdtrace/
H A Dtcp.d87 #pragma D binding "1.6.3" TH_RST
88 inline uint16_t TH_RST = 0x04; variable
329 flags & TH_RST ? "RST" :
/freebsd/contrib/pf/tftp-proxy/
H A Dfilter.c316 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : 0); in prepare_rule()
320 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : NULL); in prepare_rule()
/freebsd/sys/netpfil/ipfw/
H A Dip_fw2.c667 dir = ((flags & (TH_SYN | TH_RST)) == TH_SYN); in ipfw_send_pkt()
721 if (flags & TH_RST) { in ipfw_send_pkt()
724 tcp_set_flags(th, TH_RST); in ipfw_send_pkt()
729 tcp_set_flags(th, TH_RST | TH_ACK); in ipfw_send_pkt()
899 if ((tcp_get_flags(tcp) & TH_RST) == 0) { in send_reject6()
903 tcp_get_flags(tcp) | TH_RST); in send_reject6()
1018 if ( (tcp_get_flags(tcp) & TH_RST) == 0) { in send_reject()
1022 tcp_get_flags(tcp) | TH_RST); in send_reject()
2594 (TH_RST | TH_ACK | TH_SYN)) != TH_SYN); in ipfw_chk()
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_compat.h818 #ifndef TH_RST
819 # define TH_RST 0x04 macro
831 #define TH_ACKMASK (TH_FIN|TH_SYN|TH_RST|TH_ACK)
H A Dip_fil_freebsd.c317 if (tcp_get_flags(tcp) & TH_RST) in ipf_send_reset()
361 tcp_set_flags(tcp2, TH_RST); in ipf_send_reset()
368 tcp_set_flags(tcp2, TH_RST|TH_ACK); in ipf_send_reset()
/freebsd/sys/netinet/libalias/
H A Dalias.c195 if (th_flags & TH_RST) in TcpMonitorIn()
201 if (th_flags & (TH_FIN | TH_RST)) in TcpMonitorIn()
212 if (th_flags & TH_RST) in TcpMonitorOut()
218 if (th_flags & (TH_FIN | TH_RST)) in TcpMonitorOut()
/freebsd/sbin/ipf/ipsend/
H A Dipsend.c377 __tcp_set_flags(tcp, __tcp_get_flags(tcp) | TH_RST); in main()
/freebsd/sys/netinet/tcp_stacks/
H A Dbbr.c5904 if (th_flags & TH_RST) { in bbr_log_output()
7297 if (tcp_get_flags(th) & TH_RST) { in bbr_log_ack()
8769 if ((thflags & (TH_ACK | TH_RST)) == (TH_ACK | TH_RST)) { in bbr_do_syn_sent()
8776 if (thflags & TH_RST) { in bbr_do_syn_sent()
8961 if ((thflags & TH_RST) || in bbr_do_syn_recv()
8990 } else if (!(thflags & (TH_ACK | TH_FIN | TH_RST))) { in bbr_do_syn_recv()
9203 __predict_true((thflags & (TH_SYN | TH_FIN | TH_RST | TH_URG | TH_ACK)) == TH_ACK) && in bbr_do_established()
9220 if ((thflags & TH_RST) || in bbr_do_established()
9317 if ((thflags & TH_RST) || in bbr_do_close_wait()
9439 if ((thflags & TH_RST) || in bbr_do_fin_wait_1()
[all …]
/freebsd/sys/net/
H A Dslcompress.c173 if ((tcp_get_flags(th) & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK) in sl_compress_tcp()
/freebsd/usr.sbin/ppp/
H A Dslcompress.c182 if ((__tcp_get_flags(th) & (TH_SYN | TH_FIN | TH_RST | TH_ACK)) != TH_ACK) { in sl_compress_tcp()
/freebsd/sys/netgraph/netflow/
H A Dnetflow.c751 if (tcp_flags & TH_FIN || tcp_flags & TH_RST || AGED(fle) || in ng_netflow_flow_add()
874 if (tcp_flags & TH_FIN || tcp_flags & TH_RST || AGED(fle6) || in ng_netflow_flow6_add()
/freebsd/sys/dev/sfxge/
H A Dsfxge_rx.c548 | (tcp_get_flags(th) & (TH_URG | TH_SYN | TH_RST | TH_FIN))); in sfxge_lro_try_merge()
595 if (tcp_get_flags(th) & (TH_FIN | TH_RST)) { in sfxge_lro_try_merge()
/freebsd/sys/netpfil/pf/
H A Dpf.c2751 TH_RST|TH_ACK, 0, 0, 0, M_SKIP_FIREWALL, s->tag, 0, in pf_unlink_state()
3079 if (f & TH_RST) in pf_print_flags()
4292 !(tcp_get_flags(th) & TH_RST)) { in pf_return()
4305 ntohl(th->th_ack), ack, TH_RST|TH_ACK, 0, 0, in pf_return()
6532 (tcp_get_flags(th) & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) || in pf_tcp_track_full()
6576 ((tcp_get_flags(th) & TH_RST) == 0 || orig_seq == src->seqlo || in pf_tcp_track_full()
6617 if (tcp_get_flags(th) & TH_RST) in pf_tcp_track_full()
6704 if (tcp_get_flags(th) & TH_RST) in pf_tcp_track_full()
6713 if (!(tcp_get_flags(th) & TH_RST)) in pf_tcp_track_full()
6717 TH_RST, 0, 0, in pf_tcp_track_full()
[all …]

12