Home
last modified time | relevance | path

Searched refs:TH_SYN (Results 1 – 18 of 18) sorted by relevance

/openbsd/sys/netinet/
H A Dtcp_fsm.h72 TH_RST|TH_ACK, 0, TH_SYN, TH_SYN|TH_ACK,
H A Dtcp_output.c364 !(flags & (TH_SYN|TH_RST|TH_FIN))) { in tcp_output()
438 if (flags & (TH_SYN|TH_RST)) in tcp_output()
521 if (flags & TH_SYN) { in tcp_output()
566 ((flags & (TH_SYN|TH_ACK)) == TH_SYN || in tcp_output()
737 else if (flags & (TH_SYN|TH_FIN|TH_RST)) in tcp_output()
800 if (len || (flags & (TH_SYN|TH_FIN)) || in tcp_output()
839 if ((flags & (TH_SYN|TH_ACK)) == TH_SYN) in tcp_output()
842 (flags & (TH_SYN|TH_ACK)) == (TH_SYN|TH_ACK)) in tcp_output()
952 if (flags & (TH_SYN|TH_FIN)) { in tcp_output()
953 if (flags & TH_SYN) in tcp_output()
H A Dtcp_input.c512 (th->th_flags & TH_SYN) == 0) { in tcp_input()
634 if ((tiflags & TH_SYN) == 0) in tcp_input()
690 switch (tiflags & (TH_RST|TH_SYN|TH_ACK)) { in tcp_input()
692 case TH_SYN|TH_ACK|TH_RST: in tcp_input()
693 case TH_SYN|TH_RST: in tcp_input()
700 case TH_SYN|TH_ACK: in tcp_input()
753 case TH_SYN: in tcp_input()
925 (tiflags & (TH_SYN|TH_FIN|TH_RST|TH_URG|TH_ECE|TH_CWR|TH_ACK)) == TH_ACK && in tcp_input()
927 (tiflags & (TH_SYN|TH_FIN|TH_RST|TH_URG|TH_ACK)) == TH_ACK && in tcp_input()
1107 if (tiflags & TH_SYN) { in tcp_input()
[all...]
H A Dtcp.h63 #define TH_SYN 0x02 macro
/openbsd/usr.sbin/tcpdump/
H A Dprint-tcp.c285 if ((flags = tp->th_flags) & (TH_SYN|TH_FIN|TH_RST|TH_PUSH| in tcp_print()
287 if (flags & TH_SYN) in tcp_print()
358 if (!th->nxt || flags & TH_SYN) { in tcp_print()
409 if (oflag && (flags & (TH_SYN|TH_ACK)) == TH_SYN) { in tcp_print()
442 if (vflag > 1 || length > 0 || flags & (TH_SYN | TH_FIN | TH_RST)) in tcp_print()
H A Dprint-cnfp.c138 if (flags & TH_SYN) putchar('S'); in cnfp_print()
/openbsd/usr.sbin/tftp-proxy/
H A Dfilter.c218 pfr.rule.flags = (proto == IPPROTO_TCP ? TH_SYN : 0); in prepare_rule()
220 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : 0); in prepare_rule()
/openbsd/usr.sbin/ftp-proxy/
H A Dfilter.c241 pfr.rule.flags = TH_SYN; in prepare_rule()
242 pfr.rule.flagset = (TH_SYN|TH_ACK); in prepare_rule()
/openbsd/sys/net/
H A Dpf_syncookies.c209 iss, ntohl(pd->hdr.tcp.th_seq) + 1, TH_SYN|TH_ACK, 0, mss, in pf_syncookie_send()
390 *pd->dport, seq, 0, TH_SYN, wscale, mss, pd->ttl, 0, in pf_syncookie_recreate_syn()
H A Dpf_osfp.c134 if ((tcp->th_flags & (TH_SYN|TH_ACK)) != TH_SYN) in pf_osfp_fingerprint_hdr()
H A Dpf.c2181 if (f & TH_SYN) in pf_print_flags()
4651 if ((th->th_flags & (TH_SYN|TH_ACK)) == TH_SYN && in pf_create_state()
4662 if (th->th_flags & TH_SYN) { in pf_create_state()
4930 if (th->th_flags & TH_SYN) { in pf_tcp_track_full()
4979 if (th->th_flags & TH_SYN) in pf_tcp_track_full()
5057 if (th->th_flags & TH_SYN) in pf_tcp_track_full()
5227 if (th->th_flags & TH_SYN) in pf_tcp_track_sloppy()
5305 if (th->th_flags & TH_SYN) { in pf_synproxy()
5352 (TH_SYN|TH_ACK)) || in pf_synproxy()
5414 if ((pd->hdr.tcp.th_flags & (TH_SYN|TH_ACK)) == TH_SYN) { in pf_test_state()
[all …]
H A Dpf_norm.c1149 if (flags & TH_SYN) { in pf_normalize_tcp()
1231 if ((th->th_flags & TH_SYN) == 0) in pf_normalize_tcp_init()
1536 || pd->p_len > 0 || (th->th_flags & TH_SYN)) && in pf_normalize_tcp_stateful()
H A Dslcompress.c188 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK) in sl_compress_tcp()
H A Dpipex.c2880 if ((th->th_flags & TH_SYN) == 0) in adjust_tcp_mss()
/openbsd/usr.sbin/trpt/
H A Dtrpt.c368 pf(TH_SYN, "SYN"); in tcp_trace()
/openbsd/usr.sbin/relayd/
H A Dpfe_filter.c389 rio.rule.flags = TH_SYN; in sync_ruleset()
390 rio.rule.flagset = (TH_SYN|TH_ACK); in sync_ruleset()
/openbsd/usr.sbin/npppd/npppd/
H A Dnpppd_subr.c508 if ((th->th_flags & TH_SYN) == 0) in adjust_tcp_mss()
/openbsd/usr.bin/systat/
H A Dpftop.c1403 (pr->flags != TH_SYN || pr->flagset != (TH_SYN | TH_ACK) )) { in print_rule()