Searched refs:TH_SYN (Results 1 – 18 of 18) sorted by relevance
/openbsd/sys/netinet/ |
H A D | tcp_fsm.h | 72 TH_RST|TH_ACK, 0, TH_SYN, TH_SYN|TH_ACK,
|
H A D | tcp_output.c | 364 !(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 D | tcp_input.c | 512 (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 D | tcp.h | 63 #define TH_SYN 0x02 macro
|
/openbsd/usr.sbin/tcpdump/ |
H A D | print-tcp.c | 285 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 D | print-cnfp.c | 138 if (flags & TH_SYN) putchar('S'); in cnfp_print()
|
/openbsd/usr.sbin/tftp-proxy/ |
H A D | filter.c | 218 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 D | filter.c | 241 pfr.rule.flags = TH_SYN; in prepare_rule() 242 pfr.rule.flagset = (TH_SYN|TH_ACK); in prepare_rule()
|
/openbsd/sys/net/ |
H A D | pf_syncookies.c | 209 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 D | pf_osfp.c | 134 if ((tcp->th_flags & (TH_SYN|TH_ACK)) != TH_SYN) in pf_osfp_fingerprint_hdr()
|
H A D | pf.c | 2181 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 D | pf_norm.c | 1149 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 D | slcompress.c | 188 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK) in sl_compress_tcp()
|
H A D | pipex.c | 2880 if ((th->th_flags & TH_SYN) == 0) in adjust_tcp_mss()
|
/openbsd/usr.sbin/trpt/ |
H A D | trpt.c | 368 pf(TH_SYN, "SYN"); in tcp_trace()
|
/openbsd/usr.sbin/relayd/ |
H A D | pfe_filter.c | 389 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 D | npppd_subr.c | 508 if ((th->th_flags & TH_SYN) == 0) in adjust_tcp_mss()
|
/openbsd/usr.bin/systat/ |
H A D | pftop.c | 1403 (pr->flags != TH_SYN || pr->flagset != (TH_SYN | TH_ACK) )) { in print_rule()
|